ERC20 Token
Token ERC20 APIs.
erc20_getBalance
Return an address Token balance.
Parameters
Return Value
Example
erc20_mint
Add token issuance. Only the token owner can do this. (There are tokens for which the mint function is not provided according to the contract.)
Parameters
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
erc20_burn
Burn the initial supply of token. Only the token owner can do this.
Parameters
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
erc20_transfer
Transfer Token from from-address to to-address.
Parameters
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
erc20_transferFrom
Transfer Token from from-address to to-address by spender.
Parameters
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
erc20_approve
Approve Token from owner-address to spender-address.
Parameters
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
erc20_getAllowance
Returns an allowed Token amount from owner address to to spender address.
Parameters
Return Value
Example
Last updated