public class XRC20 extends Token
| Constructor and Description |
|---|
XRC20(RPCMethod provider,
String contractAddress) |
| Modifier and Type | Method and Description |
|---|---|
String |
allowance(String owner,
String spender,
Account account,
String gasPrice,
Long gasLimit) |
String |
approve(String spender,
BigInteger value,
Account account,
String gasPrice,
Long gasLimit) |
BigInteger |
balanceOf(String owner) |
Long |
decimals() |
String |
name() |
String |
symbol() |
BigInteger |
totalSupply() |
String |
transfer(String to,
BigInteger value,
Account account,
String gasPrice,
Long gasLimit) |
String |
transferFrom(String from,
String to,
BigInteger value,
Account account,
String gasPrice,
Long gasLimit) |
decodeMethodpublic String name()
public String symbol()
public Long decimals()
public BigInteger totalSupply()
public BigInteger balanceOf(String owner)
public String transfer(String to, BigInteger value, Account account, String gasPrice, Long gasLimit)
public String allowance(String owner, String spender, Account account, String gasPrice, Long gasLimit)
public String approve(String spender, BigInteger value, Account account, String gasPrice, Long gasLimit)
Copyright © 2022 IoTeX Group. All rights reserved.