Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

/erc721 package

Overview

Package erc721 is an idiomatic gno.land port of the Solidity ERC-721 non-fungible token standard. Each token has a unique integer id owned by exactly one address; ids are minted sequentially. Ownership, per-owner balances and single-token approvals are kept in ordered avl trees so that Render can iterate deterministically.

Function

BalanceOf

func BalanceOf(owner address) uint64

BalanceOf is the exported read-only accessor for balanceOf.

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/g12cs4cehujpffpjpywmkqj43m6u5ya53nj69sjz/erc721.BalanceOf()"

Result