public interface 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 Balance balance(String address) throws ApiException
address - get balance forApiException - parent exception class@NotNull TokenBalance balance(String address, String contract) throws ApiException
address - get balance forcontract - token contractApiException - parent exception class@NotNull List<Balance> balances(List<String> addresses) throws ApiException
addresses - addresses to get balances forApiException - parent exception class@NotNull List<Tx> txs(String address, long startBlock, long endBlock) throws ApiException
address - get txs forstartBlock - tx from this blockNumberendBlock - tx to this blockNumberApiException - parent exception class@NotNull List<Tx> txs(String address, long startBlock) throws ApiException
ApiException@NotNull List<Tx> txs(String address) throws ApiException
ApiException@NotNull List<TxInternal> txsInternal(String address, long startBlock, long endBlock) throws ApiException
address - get txs forstartBlock - tx from this blockNumberendBlock - tx to this blockNumberApiException - parent exception class@NotNull List<TxInternal> txsInternal(String address, long startBlock) throws ApiException
ApiException@NotNull List<TxInternal> txsInternal(String address) throws ApiException
ApiException@NotNull List<TxInternal> txsInternalByHash(String txhash) throws ApiException
txhash - transaction hashApiException - parent exception class@NotNull List<TxToken> txsToken(String address, long startBlock, long endBlock) throws ApiException
address - get txs forstartBlock - tx from this blockNumberendBlock - tx to this blockNumberApiException - parent exception class@NotNull List<TxToken> txsToken(String address, long startBlock) throws ApiException
ApiException@NotNull List<TxToken> txsToken(String address) throws ApiException
ApiException@NotNull List<Block> minedBlocks(String address) throws ApiException
address - address to search forApiException - parent exception classCopyright © 2019. All rights reserved.