This API allows fetching contract metadata.
Swagger Doc | ReDoc
curl -X GET "http://0.0.0.0:7000/v2/nftkit/nft/near/chain/{chain}/contract/{contract_id}/NFT/metadata" -H "Content-Type: application/json"
Path parameters:
chain:[string] chain to work with. Either testnet or mainnet .
chain
testnet
mainnet
contract_id:[string] smart contract account .
contract_id
Example:
curl -X GET "http://0.0.0.0:7000/v2/nftkit/nft/near/chain/testnet/contract/nft.waltid.testnet/NFT/metadata" -H "Content-Type: application/json"
val contractId = "demo.khaled_lightency1.testnet" val chain = "testnet" val result = NearNftService.getNftNearMetadata(contractId , chain) println("operation result: $result")
Last updated 2 years ago
This site uses cookies to deliver its service and to analyse traffic. By browsing this site, you accept the privacy policy.