XRC721 class

Class for XRC721 Methods.

Constructors

XRC721()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

approve(String owner_PrivateKey, String contractadd, String spenderadd, BigInt token__ID) Future<String>
Change or reaffirm the approved address for an NFT The zero address indicates there is no approved address. Throws unless owner is the current NFT owner, or an authorized tokenAddress An address for whom to query . ownerPrivateKey Owner Private key. recieverAddress The address to transfer to . tokenID The identifier for an NFT
balanceOf(String ___contractAdd___, String ___ownerAdd___) Future<String>
Gets the balanceOf of the specified address. contractAddr The address of the token. ownerAddress The address to query the balance of.
getApproved(BigInt tokenId_, dynamic _tokenAdd_) Future<String>
Get the approved address for a single NFT Throws if tokenID is not a valid NFT . tokenAdd : An address for whom to query . tokenAdd : The identifier for an NFT .
isApproved(String __tokenAdd_, String ownerr_Addr, String spender_addr__) Future<bool>
Query if an address is an authorized operator for another address tokenAddress An address for whom to query . ownerAddress The address which owns the funds. operatorAddress The address that acts on behalf of the owner return True if operatorAddress is an approved operator for ownerAddress, False otherwise
name(String token_address) Future<String>
Gets the Name of the specified address.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ownerOf(BigInt tokenId, String _tokenAddr) Future<String>
tokenAddress The address of the token. tokenId The identifier for an NFT. String representing the address of the owner of the NFT .
safetransferFrom(String contractAddres__, String __spenderAddr, String receiver__Address, BigInt token_id_, String Spender_Privatekey, String ownerAddress__) Future<String>
Transfers the ownership of an NFT from one address to another address This works identically to the other function with an extra data parameter, except this function just sets data to "". tokenAddress An address for whom to query . ownerAddress owner Of The Token . recieverAddress The address to transfer to tokenID : The identifier for an NFT approvedPrivateKey : Approved Address Private key.
setApproveofAll(String owner___PrivateKey, String contract___add, String spender___Add, bool boolValue) Future<String>
Enable or disable approval for a third party ("operator") to manage all of Owner's assets Emits the ApprovalForAll event. The contract MUST allow multiple operators per owner. token_address An address for whom to query . operatorAddress An address for whoom you want to give to give Approve Status. approvedStatus true if the operator is approved, false to revoke approval ownerPrivateKey PrivateKey Of The Token Owner . tokenId The identifier for an NFT
supportInterface(dynamic interface_id, String tokenAddr__) Future<String>
Query if a contract implements an interface tokenAddress An address for whom to query . interfaceId The interface identifier true if the contract implements interfaceID and interfaceID is not 0xffffffff, false otherwise .
symbol(String tokenAddress) Future<String>
Gets the Symbol of the specified address.
tokenByIndex(BigInt index, String _token_Add_) Future<String>
Enumerate NFTs assigned to an owner tokenAddress An address for whom to query . IndexNO A counter less than totalSupply() The token identifier for the indexth NFT assigned to owner
tokenofOwnerByIndex(BigInt index_, String _token__Add_, String ownerrAddr) Future<String>
Enumerate NFTs assigned to an owner Throws if index >= balanceOf(owner) or if owner is the zero address, representing invalid NFTs. tokenAddress An address for whom to query . IndexNO A counter less than totalSupply() ownerAddress The address which owns the funds. The token identifier for the indexth NFT assigned to owner
tokenURI(BigInt token_id, String tokenAddr__) Future<String>
A distinct Uniform Resource Identifier (URI) for a given asset. tokenAddress The address of the token. tokenId The identifier for an NFT. URI of a token.
toString() String
A string representation of this object.
inherited
totalSupply(String tokenAddr_) Future<String>
Gets the totalSupply of the specified address.
transferFrom(String _contractAddres__, String __spenderAddr_, String receiver__Address_, BigInt token_id__, dynamic Spender__Privatekey, dynamic owner_Address__) Future<String>
Transfer ownership of an NFT -- THE CALLER IS RESPONSIBLE TO CONFIRM THAT recieverAddress IS CAPABLE OF RECEIVING NFTS OR ELSE THEY MAY BE PERMANENTLY LOST Throws unless ownerAddress is the current owner, an authorized . tokenAddress An address for whom to query . ownerAddress owner Of The Token . recieverAddress The address to transfer to tokenID The identifier for an NFT approvedPrivateKey Approved Address Private key.

Operators

operator ==(Object other) bool
The equality operator.
inherited