ERC721 Token
Token ERC721 APIs support HTTP protocol. It uses erc721_ namespace.
erc721_create
Create an ERC721 NFT.
Parameters
In order to perform a transaction, the owner must have a balance of at least 4 GFEI for gas cost.
Return Value
A transactionId is returned, but that doesn't mean it has been added to the Block yet. You should check that the status is 1 by using net_getTransactionStatus.
Example
erc721_getBalance
Return an address Token balance.
Parameters
Return Value
Example
erc721_getMintedTokenId
Return a minted tokenId.
Parameters
Return Value
Example
erc721_mint
Create new token with uri data. Only the token owner can do this..
Parameters
In order to perform a transaction, the owner must have a balance of at least 100 MFEI for gas cost.
Return Value
A transactionId is returned, but that doesn't mean it has been added to the Block yet. You should check that the status is 1 by using net_getTransactionStatus.
The generated tokenId can be checked using erc721_getMintedTokenId API.
Example
erc721_getURI
Returns an owner and uri data of tokenId.
Parameters
Return Value
Example
erc721_transfer
Transfer NFT owner from from-address to to-address.
Parameters
In order to perform a transaction, the from address must have a balance of at least 100 MFEI for gas cost.
Return Value
A transactionId is returned, but that doesn't mean it has been added to the Block yet. You should check that the status is 1 by using net_getTransactionStatus.
Example
erc721_transferFrom
Transfer NFT owner from from-address to to-address by spender address.
Parameters
In order to perform a transaction, the spender address must have a balance of at least 100 MFEI for gas cost.
Return Value
A transactionId is returned, but that doesn't mean it has been added to the Block yet. You should check that the status is 1 by using net_getTransactionStatus.
Example
erc721_approve
Approve token from owner-address to spender-address.
Parameters
In order to perform a transaction, the from address must have a balance of at least 100 MFEI for gas cost.
Return Value
A transactionId is returned, but that doesn't mean it has been added to the Block yet. You should check that the status is 1 by using net_getTransactionStatus.
Example
erc721_getApproved
Returns an allowed token spender from owner address.
Parameters
Return Value
Example
Last updated