?module=account
https://instance_base_url/api?module=account
eth_get_balance
Mimics Ethereum JSON RPC’s eth_getBalance
Example:
Parameter | Description |
---|---|
address | string containing the address hash. |
block | optional. Block number as a string, or latest , earliest or pending Latest is the latest balance in a consensus block. Earliest is the first recorded balance for the address. Pending is the latest balance in a consensus or nonconsensus block. |
balance
Many chains use their own native tokens. On Ethereum, this will return the result in “Ether”, on Gnosis it will be “xDai”, etc. Results are returned in wei.
Example:
Parameter | Description |
---|---|
address | string containing the address hash. |
address
query.balancemulti
action. That contains a property called stale
that will let you know to recheck that balance in the near future.balancemulti
Example:
Parameter | Description |
---|---|
address | string containing the address hash, comma separated. Max 20 addresses. |
stale
attribute will be set to true
if a new balance is being fetched.pendingtxlist
Example:
Parameter | Description |
---|---|
address | string containing the address hash. |
page | optional integer representing the page number used for pagination. ‘offset’ must also be provided. |
offset | optional integer representing number of transactions returned per page. page must also be provided. |
txlist
Maximum of 10,000 transactions. Also available through a GraphQL ‘address’ query. For faster results, specify a smaller block range to search using the startblock
and endblock
parameters
Example:
Parameter | Description |
---|---|
address | string containing the address hash. |
sort | optional sorting preference, asc for ascending and desc for descending. Descending is default. |
startblock | optional integer block number to start transaction search |
endblock | optional integer block number to stop transaction search. |
page | optional integer representing the page number used for pagination. offset must also be provided. |
offset | optional integer representing number of transactions returned per page. page must also be provided. |
filter_by | optional string representing the field to filter by. Values include to and from . If none provided returns transactions that match to, from, or contract address. |
start_timestamp | optional starting block unix timestamp. |
end_timestamp | optional ending block unix timestamp. |
txlistinternal
Up to a maximum of 10,000 internal transactions. Also available through a GraphQL ‘transaction’ query. For faster results, specify a smaller block range to search using the start_block and end_block parameters.
Example:
Parameter | Description |
---|---|
txhash | optional string representing the transaction hash to check for internal transactions |
address | optional string containing the address hash. |
sort | optional sorting preference, asc for ascending and desc for descending. Descending is default. Only available if ‘address’ is provided. |
startblock | optional integer block number to start transaction search. Only available if ‘address’ is provided. |
endblock | optional integer block number to stop transaction search. Only available if ‘address’ is provided. |
page | optional integer representing the page number used for pagination. offset must also be provided. Only available if ‘address’ is provided. |
offset | optional integer representing number of transactions returned per page. page must also be provided. Only available if ‘address’ is provided. |
include_zero_value | optional boolean representing whether to include zero-value transactions. |
tokentx
Up to a maximum of 10,000 ERC-20 token transfer events. Also available through the GraphQL token_transfers
query.
Example:
Parameter | Description |
---|---|
address | required if no contractaddress parameter is provided, string containing the address hash. |
contract address | required if no address parameter is provided, string with the token contract address to identify a contract. |
sort | optional sorting preference, asc for ascending and desc for descending. Descending is default. |
startblock | optional integer block number to start transaction search |
endblock | optional integer block number to stop transaction search. |
page | optional integer representing the page number used for pagination. offset must also be provided. |
offset | optional integer representing number of transactions returned per page. page must also be provided. |
address
parametercontractaddress
parameteraddress
and contractaddress
parameterstokennfttx
Example:
Parameter | Description |
---|---|
address | required if no contractaddress parameter is provided, string containing the address hash. |
contractaddress | required if no address parameter is provided, string with the token contract address to identify a contract. |
sort | optional sorting preference, asc for ascending and desc for descending. Descending is default. |
startblock | optional integer block number to start transaction search |
endblock | optional integer block number to stop transaction search. |
page | optional integer representing the page number used for pagination. offset must also be provided. |
offset | optional integer representing number of transactions returned per page. page must also be provided. |
address
parametercontractaddress
parameteraddress
and contractaddress
parameterstoken1155tx
Example:
Parameter | Description |
---|---|
address | required if no contractaddress parameter is provided, string containing the address hash. |
contractaddress | required if no address parameter is provided, string with the token contract address to identify a contract. |
sort | optional sorting preference, asc for ascending and desc for descending. Descending is default. |
startblock | optional integer block number to start transaction search |
endblock | optional integer block number to stop transaction search. |
page | optional integer representing the page number used for pagination. offset must also be provided. |
offset | optional integer representing number of transactions returned per page. page must also be provided. |
address
parametercontractaddress
parameteraddress
and contractaddress
parameterstoken404tx
Example:
Parameter | Description |
---|---|
address | required if no contractaddress parameter is provided, string containing the address hash. |
contractaddress | required if no address parameter is provided, string with the token contract address to identify a contract. |
sort | optionalsorting preference, asc for ascending and desc for descending. Descending is default. |
startblock | optional integer block number to start transaction search |
endblock | optional integer block number to stop transaction search. |
page | optionalinteger representing the page number used for pagination. offset must also be provided. |
offset | optional integer representing number of transactions returned per page. page must also be provided. |
address
parametercontractaddress
parameteraddress
and contractaddress
parameterstokenbalance
Example:
Parameter | Description |
---|---|
contract address | string containing the contract address hash. |
address | string containing the account address hash to retrieve balance for. |
tokenlist
Example:
Parameter | Description |
---|---|
address | string containing the account address hash. |
getminedblocks
Example:
Parameter | Description |
---|---|
address | string containing the address hash. |
page | optional integer representing the page number used for pagination. ‘offset’ must also be provided. |
offset | optional integer representing number of transactions returned per page. page must also be provided. |
listaccounts
Lists accounts and native balances, sorted ascending by the time they were first seen by the explorer.
Example:
Parameter | Description |
---|---|
page | optional integer representing the page number used for pagination. ‘offset’ must also be provided. |
offset | optional integer representing number of transactions returned per page. page must also be provided. |
stale
attribute will be set to true
if a new balance is being fetched.