NFT | Ownership Verification
NFT ownership verification
API Doc
Curl call example
curl -X GET "http://0.0.0.0:7000/v2/nftkit/nft/verifier/chain/{{chain}}/contract/{{contract}}/verifyNftOwnership?account={{account}}&tokenId={{tokenId}}"
-H "accept: application/json"curl -X GET "http://0.0.0.0:7000/v2/nftkit/nft/verifier/chain/GHOSTNET/contract/KT1RCzrLhBpdKXkyasKGpDTCcdbBTipUk77x/verifyNftOwnership?account=tz1fXH6Tt2Qgvp7pjVpyNcZmunEbgRaHKcoQ&tokenId=0"
-H "accept: application/json"val chain= Chain.GHOSTNET
val smartContractAddress= "KT1Ennr99qgqzKEUCEqypXEexH4wWzVL5a9m"
val account= "tz1LeScZyZqmg8ZXYoN3mE8vA9GFrPm4HXkx"
val tokenId= "0"
val result = VerificationService.verifyNftOwnership(chain, smartContractAddress, account, tokenId)
println("Result: ${result}")NFT ownership verification within a collection
NFT ownership verification with traits
Last updated
Was this helpful?
