NFT ownership verification
With this API , you can verify the ownership of All The NFTs for a given account.
API Doc
Swagger Doc | ReDoc
Curl call example
curl -X POST "http://0.0.0.0:7000/v2/nftkit/nft/flow/chain/{chain}/account/{account_id}/AllNFTs"
-H "accept: application/json" -d ""
Path parameters:
chain
:[string] chain to work with. Either testnet
or mainnet
.
account_id
: your account.
Example:
curl -X POST "http://0.0.0.0:7000/v2/nftkit/nft/flow/chain/testnet/account/0xe8e83eb775b67bc2/AllNFTs"
-H "accept: application/json" -d ""
var chain = "TESTNET"
var account_id = "0xe8e83eb775b67bc2"
var result = FlowNftService.getAllNFTs(account_id, FlowChain.valueOf(chain))
println(result)