| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAccount
abstract account.
|
class |
EthAccount
eth account.
|
class |
IotexAccount
iotex account.
|
| Modifier and Type | Method and Description |
|---|---|
static Account |
IotexAccount.create()
create account by Secp256K1.
|
static Account |
EthAccount.create()
create account by Secp256K1.
|
static Account |
IotexAccount.create(BigInteger privateKey)
create by private key.
|
static Account |
EthAccount.create(BigInteger privateKey)
create by private key.
|
static Account |
IotexAccount.create(byte[] privateKey)
create by private key byte.
|
static Account |
IotexAccount.create(KeyPair keyPair)
create account by keypair.
|
static Account |
EthAccount.create(KeyPair keyPair)
create account by keypair.
|
static Account |
IotexAccount.create(String privateKey)
create by private key string.
|
| Modifier and Type | Field and Description |
|---|---|
protected Account |
AbstractMethod.account |
| Constructor and Description |
|---|
AbstractMethod(RPCMethod client,
Account account) |
| Modifier and Type | Method and Description |
|---|---|
String |
Contract.deploy(Long nonce,
Long gasLimit,
String gasPrice,
Account account,
String amount,
Object... args)
deploy contract.
|
String |
Contract.execute(Long nonce,
Long gasLimit,
String gasPrice,
Account account,
String method,
String amount,
Object... args)
execute contract.
|
| Modifier and Type | Method and Description |
|---|---|
static KeystoreFile |
KeystoreUtils.createWalletFileByAcount(String password,
Account account)
create keystore file by Account.
|
| Modifier and Type | Method and Description |
|---|---|
String |
XRC20.allowance(String owner,
String spender,
Account account,
String gasPrice,
Long gasLimit) |
String |
XRC20.approve(String spender,
BigInteger value,
Account account,
String gasPrice,
Long gasLimit) |
String |
XRC20.transfer(String to,
BigInteger value,
Account account,
String gasPrice,
Long gasLimit) |
String |
XRC20.transferFrom(String from,
String to,
BigInteger value,
Account account,
String gasPrice,
Long gasLimit) |
Copyright © 2022 IoTeX Group. All rights reserved.