Getting data from concordium blockchain

Can I get data from Concordium in a similar way as we do in OpenSea? Currently, I am retrieving token raw metadata from the Concordium wallet, but when using the wallet proxy, I am unable to get the data in the same manner.

What I want is to be able to retrieve the wallet data by providing the wallet address, including NFTs, token balances, and their raw metadata. I am fine with using multiple links or approaches to gather the data and raw metadata, and then combining them to fit my use case.

I am attaching screenshots to show how I am currently getting the data and how I would like to retrieve it.
Like getting this data from proxy wallet :
https://wallet-proxy.testnet.concordium.com/v0/CIS2TokenMetadata/5112/0?tokenId=01

{
“contractName”: “Dummy_Token”,
“metadata”: [
{
“metadataChecksum”: null,
“metadataURL”: “https://gist.github.com/arslanpixpel/e79dc2c98ad2863d2b05ac93a8e6c0be/raw”,
“tokenId”: “01”
}
]
}

Like you can se that concordium wallet is giving me lots of information and in proxy wallet its not so is there any way to get the details like my use case.

Hey @TechInnovatorX if you need more custom data I suggest you to run or use an indexing service. An indexer is a simple program that listens to the blockchain, filters out emitted events by smart contracts (from specific addresses/modules) and parses the data you want. They are quite popular in applications that require huge data traffic like NFT marketplaces. Marketplaces usually use a database and backend to load data when users want to display NFTs on sale. Instead of querying blockchain nodes and IPFS every time this saves a lot of time and improves the performance significantly. Subquery is an option and if you want to run your own service we have examples in Rust for projects like track and trace, and community built ones for RWA framework and carbon markets.

Dear TechInnovatorX,
your metadata URL: https://gist.github.com/arslanpixpel/e79dc2c98ad2863d2b05ac93a8e6c0be/raw seems invalid and is not publicly available. Meaning the wallets cannot display meaningful metadata for your dummy-token.

Here is an example metadata I have played around with in the past. Or you can check out other tokens and use their metadata as a start

I have an API running on api.ccdexplorer.io that I’m currently expanding massively with new endpoints. I’m pretty sure I have all the data you need.

hey @sderuiter cna you please share me more details of that

Hey @by-ccd thanks for your reply I need the data from my wallet like I give the wallet address and it will give me the tokens and nfts that I have in it and also it only shows me the meta data url not like concordium wallet extension like.

Sure, the current endpoints are documented here. Let me know if there’s an endpoint that suits your needs.

Do note that the API is going to transform to be fully authenticated and rate limited, with 2 tiers of api keys (still work in progress).

thanks @sderuiter can you provide me a {net} and main url so i can
just hit them and check it .

Net = mainnet or testnet.

Url is https://api.ccdexplorer.io

Also you can check https://ccdexplorer.io. If the data is present in a view there, I have it (obviously) and it will become available in an endpoint.

Thanks a lot men @sderuiter for the help I really
appreciate that.

1 Like