public class AccountApiProvider extends Object implements IAccountApi
IAccountApi| Modifier and Type | Method and Description |
|---|---|
Balance |
balance(String address)
Address ETH balance
|
TokenBalance |
balance(String address,
String contract)
ERC20 token balance for address
|
List<Balance> |
balances(List<String> addresses)
Maximum 20 address for single batch request
If address MORE THAN 20, then there will be more than 1 request performed
|
List<Block> |
minedBlocks(String address)
All blocks mined by address
|
List<Tx> |
txs(String address) |
List<Tx> |
txs(String address,
long startBlock) |
List<Tx> |
txs(String address,
long startBlock,
long endBlock)
All txs for given address
|
List<TxInternal> |
txsInternal(String address) |
List<TxInternal> |
txsInternal(String address,
long startBlock) |
List<TxInternal> |
txsInternal(String address,
long startBlock,
long endBlock)
All internal txs for given address
|
List<TxInternal> |
txsInternalByHash(String txhash)
All internal tx for given transaction hash
|
List<TxToken> |
txsToken(String address) |
List<TxToken> |
txsToken(String address,
long startBlock) |
List<TxToken> |
txsToken(String address,
long startBlock,
long endBlock)
All token txs for given address
|
@NotNull public Balance balance(String address) throws ApiException
IAccountApibalance in interface IAccountApiaddress - get balance forApiException - parent exception class@NotNull public TokenBalance balance(String address, String contract) throws ApiException
IAccountApibalance in interface IAccountApiaddress - get balance forcontract - token contractApiException - parent exception class@NotNull public List<Balance> balances(List<String> addresses) throws ApiException
IAccountApibalances in interface IAccountApiaddresses - addresses to get balances forApiException - parent exception class@NotNull public List<Tx> txs(String address) throws ApiException
txs in interface IAccountApiApiException@NotNull public List<Tx> txs(String address, long startBlock) throws ApiException
txs in interface IAccountApiApiException@NotNull public List<Tx> txs(String address, long startBlock, long endBlock) throws ApiException
IAccountApitxs in interface IAccountApiaddress - get txs forstartBlock - tx from this blockNumberendBlock - tx to this blockNumberApiException - parent exception class@NotNull public List<TxInternal> txsInternal(String address) throws ApiException
txsInternal in interface IAccountApiApiException@NotNull public List<TxInternal> txsInternal(String address, long startBlock) throws ApiException
txsInternal in interface IAccountApiApiException@NotNull public List<TxInternal> txsInternal(String address, long startBlock, long endBlock) throws ApiException
IAccountApitxsInternal in interface IAccountApiaddress - get txs forstartBlock - tx from this blockNumberendBlock - tx to this blockNumberApiException - parent exception class@NotNull public List<TxInternal> txsInternalByHash(String txhash) throws ApiException
IAccountApitxsInternalByHash in interface IAccountApitxhash - transaction hashApiException - parent exception class@NotNull public List<TxToken> txsToken(String address) throws ApiException
txsToken in interface IAccountApiApiException@NotNull public List<TxToken> txsToken(String address, long startBlock) throws ApiException
txsToken in interface IAccountApiApiException@NotNull public List<TxToken> txsToken(String address, long startBlock, long endBlock) throws ApiException
IAccountApitxsToken in interface IAccountApiaddress - get txs forstartBlock - tx from this blockNumberendBlock - tx to this blockNumberApiException - parent exception class@NotNull public List<Block> minedBlocks(String address) throws ApiException
IAccountApiminedBlocks in interface IAccountApiaddress - address to search forApiException - parent exception classCopyright © 2019. All rights reserved.