Etherscan v0.1.0 Etherscan
Documentation for Etherscan.
Link to this section Summary
Functions
Get ether balance for a single address
. address
can be a list of
multiple addresses
, up to a maximum of 20 addresses
Get a list of blocks mined by address
Get contract ABI for contracts with verified source code, by address
Get ether price
Get total supply of ether
Get a list of ‘Internal Transactions’ by transaction_hash
. Returns up to
a maximum of the last 10000 transactions only
Get the ERC20 token balance of the address
for token at token_address
Get total supply of ERC20 token, by token_address
Get a list of uncles mined by address
Link to this section Functions
Get ether balance for a single address
. address
can be a list of
multiple addresses
, up to a maximum of 20 addresses
.
If given an address
, returns balance in ether.
If given a list of addresses
, returns a list of balances.
BETA
Get block and uncle rewards by block_number
.
Returns a map of data:
%{
"blockMiner" => "0xc8ebccc5f5689fa8659d83713341e5ad19349448",
"blockNumber" => "4",
"blockReward" => "5156250000000000000",
"timeStamp" => "1438270077",
"uncleInclusionReward" => "156250000000000000",
"uncles" => [%{
"blockreward" => "3125000000000000000",
"miner" => "0x5088d623ba0fcf0131e0897a91734a4d83596aa0",
"unclePosition" => "0"
}]
}
Get a list of blocks mined by address
.
params = %{
page: 1, // Page number
offset: 10 // Max records returned
}
Get contract ABI for contracts with verified source code, by address
.
See - https://etherscan.io/contractsVerified
BETA
Check contract execution status (if there was an error during
contract execution) by transaction_hash
.
Get ether price.
Get total supply of ether.
BETA
Get a list of ‘Internal’ transactions by address
. Returns up to a maximum
of the last 10000 transactions only.
params = %{
page: 1, // Page number
offset: 10, // Max records returned
sort: "asc", // Sort returned records
startblock: 0, // Start block number
endblock: 99999999 // End block number
}
Get a list of ‘Internal Transactions’ by transaction_hash
. Returns up to
a maximum of the last 10000 transactions only.
Get the ERC20 token balance of the address
for token at token_address
.
Get total supply of ERC20 token, by token_address
.
BETA
Get a list of ‘Normal’ transactions by address
. Returns up to a maximum
of the last 10000 transactions only.
params = %{
page: 1, // Page number
offset: 10, // Max records returned
sort: "asc", // Sort returned records
startblock: 0, // Start block number
endblock: 99999999 // End block number
}
Get a list of uncles mined by address
.
params = %{
page: 1, // Page number
offset: 10 // Max records returned
}