BalanceOf
BalanceOf returns the number of NFTs owned by the specified address.
Parameters:
- owner: address whose NFT balance is queried
Returns:
- balance: number of NFTs owned by owner
- error: token-ledger balance lookup error; an invalid owner address panics before the lookup
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/gnft.BalanceOf()"
Result