Ethereum token standard
ERC-721 calldata
ERC-721 defines ownership, transfers, approvals, and optional metadata for individually identified non-fungible tokens.
An NFT is identified by its contract address and uint256 token ID. Token IDs are opaque identifiers: callers should not assume they are sequential or begin at zero.
Write functions
Generate transaction input for calls that can change contract state.
approve(address,uint256)0x095ea7b3Approves one address to manage a specific ERC-721 token.safeTransferFrom(address,address,uint256,bytes)0xb88d4fdeTransfers an ERC-721 token safely while forwarding arbitrary data to the recipient.safeTransferFrom(address,address,uint256)0x42842e0eTransfers an ERC-721 token and checks compatible contract recipients.setApprovalForAll(address,bool)0xa22cb465Enables or revokes an ERC-721 operator for all NFTs owned by the caller.transferFrom(address,address,uint256)0x23b872ddTransfers an ERC-721 token without checking that a contract recipient can receive it.
Read functions
Generate eth_call input for views that read contract state.
balanceOf(address)0x70a08231Returns how many ERC-721 tokens are assigned to an owner address.getApproved(uint256)0x081812fcReturns the address approved to manage one ERC-721 token.isApprovedForAll(address,address)0xe985e9c5Checks whether an ERC-721 operator may manage every NFT owned by an address.name()0x06fdde03Returns the human-readable name reported by an ERC-721 collection.ownerOf(uint256)0x6352211eReturns the current owner address of a specific ERC-721 token ID.symbol()0x95d89b41Returns the abbreviated symbol reported by an ERC-721 collection.tokenURI(uint256)0xc87b56ddReturns the metadata URI associated with one ERC-721 token ID.