Get NFTs for account
Smart contract is responsible for NFTs ownership as it keeps a record of minted NFT per owner
NFT ownership verification
API Doc
Curl call example
curl -X GET "http://0.0.0.0:7000/v2/nftkit/nft/near/chain/{chain}/contract/{contract_id}/account/{account_id}/NFTS"
-H "Content-Type: application/json" curl -X GET "http://0.0.0.0:7000/v2/nftkit/nft/near/chain/testnet/contract/nft.waltid.testnet/account/waltid.testnet/NFTS"
-H "Content-Type: application/json" val accountId = "waltid.testnet"
val contractId = "nft.waltid.testnet"
val chain = "testnet"
val result = NearNftService.getNFTforAccount(accountId , contractId, chain)
println("operation result: $result")
Last updated
Was this helpful?
