| Package | Description |
|---|---|
| io.api.etherscan.core | |
| io.api.etherscan.core.impl | |
| io.api.etherscan.error |
| Modifier and Type | Method and Description |
|---|---|
Balance |
IAccountApi.balance(String address)
Address ETH balance
|
TokenBalance |
IAccountApi.balance(String address,
String contract)
ERC20 token balance for address
|
List<Balance> |
IAccountApi.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
|
Optional<BlockProxy> |
IProxyApi.block(long blockNo)
Returns information about a block by block number
eth_getBlockByNumber
|
Optional<BlockProxy> |
IProxyApi.blockUncle(long blockNo,
long index)
Returns information about a uncle by block number
eth_getUncleByBlockNumberAndIndex
|
Optional<String> |
IProxyApi.call(String address,
String data)
Executes a new message call immediately without creating a transaction on the block chain
eth_call
|
Optional<String> |
IProxyApi.code(String address)
Returns code at a given address
eth_getCode
|
Abi |
IContractApi.contractAbi(String address)
Get Verified Contract Sources
|
Optional<Status> |
ITransactionApi.execStatus(String txhash)
Check Contract Execution Status (if there was an error during contract execution)
|
BigInteger |
IProxyApi.gasEstimated() |
BigInteger |
IProxyApi.gasEstimated(String hexData)
Makes a call or transaction, which won't be added to the blockchain and returns the used gas,
which can be used for estimating the used gas
eth_estimateGas
|
BigInteger |
IProxyApi.gasPrice()
Returns the current price per gas in wei
eth_gasPrice
|
Price |
IStatisticApi.lastPrice()
Eth last USD and BTC price
|
List<Log> |
ILogsApi.logs(LogQuery query)
alternative to the native eth_getLogs
Read at EtherScan API description for full info!
|
List<Block> |
IAccountApi.minedBlocks(String address)
All blocks mined by address
|
Optional<Boolean> |
ITransactionApi.receiptStatus(String txhash)
Check Transaction Receipt Status (Only applicable for Post Byzantium fork transactions)
|
Optional<String> |
IProxyApi.storageAt(String address,
long position)
(**experimental)
Returns the value from a storage position at a given address
eth_getStorageAt
|
Supply |
IStatisticApi.supply()
Eth total supply
|
BigInteger |
IStatisticApi.supply(String contract)
ERC20 token total Supply
|
Optional<TxProxy> |
IProxyApi.tx(long blockNo,
long index)
Returns information about a transaction by block number and transaction index position
eth_getTransactionByBlockNumberAndIndex
|
Optional<TxProxy> |
IProxyApi.tx(String txhash)
Returns the information about a transaction requested by transaction hash
eth_getTransactionByHash
|
int |
IProxyApi.txCount(long blockNo)
Returns the number of transactions in a block from a block matching the given block number
eth_getBlockTransactionCountByNumber
|
Optional<ReceiptProxy> |
IProxyApi.txReceipt(String txhash)
Returns the receipt of a transaction by transaction hash
eth_getTransactionReceipt
|
List<Tx> |
IAccountApi.txs(String address) |
List<Tx> |
IAccountApi.txs(String address,
long startBlock) |
List<Tx> |
IAccountApi.txs(String address,
long startBlock,
long endBlock)
All txs for given address
|
int |
IProxyApi.txSendCount(String address)
Returns the number of transactions sent from an address
eth_getTransactionCount
|
Optional<String> |
IProxyApi.txSendRaw(String hexEncodedTx)
Creates new message call transaction or a contract creation for signed transactions
eth_sendRawTransaction
|
List<TxInternal> |
IAccountApi.txsInternal(String address) |
List<TxInternal> |
IAccountApi.txsInternal(String address,
long startBlock) |
List<TxInternal> |
IAccountApi.txsInternal(String address,
long startBlock,
long endBlock)
All internal txs for given address
|
List<TxInternal> |
IAccountApi.txsInternalByHash(String txhash)
All internal tx for given transaction hash
|
List<TxToken> |
IAccountApi.txsToken(String address) |
List<TxToken> |
IAccountApi.txsToken(String address,
long startBlock) |
List<TxToken> |
IAccountApi.txsToken(String address,
long startBlock,
long endBlock)
All token txs for given address
|
Optional<UncleBlock> |
IBlockApi.uncles(long blockNumber)
Return uncle blocks
|
| Modifier and Type | Method and Description |
|---|---|
Balance |
AccountApiProvider.balance(String address) |
TokenBalance |
AccountApiProvider.balance(String address,
String contract) |
List<Balance> |
AccountApiProvider.balances(List<String> addresses) |
Optional<BlockProxy> |
ProxyApiProvider.block(long blockNo) |
long |
ProxyApiProvider.blockNoLast() |
Optional<BlockProxy> |
ProxyApiProvider.blockUncle(long blockNo,
long index) |
Optional<String> |
ProxyApiProvider.call(String address,
String data) |
Optional<String> |
ProxyApiProvider.code(String address) |
Abi |
ContractApiProvider.contractAbi(String address) |
Optional<Status> |
TransactionApiProvider.execStatus(String txhash) |
BigInteger |
ProxyApiProvider.gasEstimated() |
BigInteger |
ProxyApiProvider.gasEstimated(String hexData) |
BigInteger |
ProxyApiProvider.gasPrice() |
Price |
StatisticApiProvider.lastPrice() |
List<Log> |
LogsApiProvider.logs(LogQuery query) |
List<Block> |
AccountApiProvider.minedBlocks(String address) |
Optional<Boolean> |
TransactionApiProvider.receiptStatus(String txhash) |
Optional<String> |
ProxyApiProvider.storageAt(String address,
long position) |
Supply |
StatisticApiProvider.supply() |
BigInteger |
StatisticApiProvider.supply(String contract) |
Optional<TxProxy> |
ProxyApiProvider.tx(long blockNo,
long index) |
Optional<TxProxy> |
ProxyApiProvider.tx(String txhash) |
int |
ProxyApiProvider.txCount(long blockNo) |
Optional<ReceiptProxy> |
ProxyApiProvider.txReceipt(String txhash) |
List<Tx> |
AccountApiProvider.txs(String address) |
List<Tx> |
AccountApiProvider.txs(String address,
long startBlock) |
List<Tx> |
AccountApiProvider.txs(String address,
long startBlock,
long endBlock) |
int |
ProxyApiProvider.txSendCount(String address) |
Optional<String> |
ProxyApiProvider.txSendRaw(String hexEncodedTx) |
List<TxInternal> |
AccountApiProvider.txsInternal(String address) |
List<TxInternal> |
AccountApiProvider.txsInternal(String address,
long startBlock) |
List<TxInternal> |
AccountApiProvider.txsInternal(String address,
long startBlock,
long endBlock) |
List<TxInternal> |
AccountApiProvider.txsInternalByHash(String txhash) |
List<TxToken> |
AccountApiProvider.txsToken(String address) |
List<TxToken> |
AccountApiProvider.txsToken(String address,
long startBlock) |
List<TxToken> |
AccountApiProvider.txsToken(String address,
long startBlock,
long endBlock) |
Optional<UncleBlock> |
BlockApiProvider.uncles(long blockNumber) |
| Modifier and Type | Class and Description |
|---|---|
class |
ApiKeyException
! NO DESCRIPTION !
|
class |
ApiTimeoutException
! NO DESCRIPTION !
|
class |
ConnectionException
! NO DESCRIPTION !
|
class |
EtherScanException
! NO DESCRIPTION !
|
class |
InvalidAddressException
! NO DESCRIPTION !
|
class |
InvalidDataHexException
! NO DESCRIPTION !
|
class |
InvalidTxHashException
! NO DESCRIPTION !
|
class |
LogQueryException
! NO DESCRIPTION !
|
class |
ParseException
! NO DESCRIPTION !
|
Copyright © 2019. All rights reserved.