Account ?module=account

Mimics Ethereum JSON RPC's eth_getBalance. Returns the balance as of the provided block (defaults to latest)

?module=account&action=eth_get_balance&address={addressHash}

eth_get_balance

GETPOST

More Details Hide Details

Parameters

Name

Description

Module *required

string (query)

A string with the name of the module to be invoked.

Must be set to:account

Action *required

string (query)

A string with the name of the action to be invoked.

Must be set to:eth_get_balance

address *required

string (query)

The address of the account.

block

string (query)

Either the block number as a string, or one of latest, earliest or pending
latest will be the latest balance in a *consensus* block.
earliest will be the first recorded balance for the address.
pending will be the latest balance in consensus *or* nonconcensus blocks.

Curl

Request URL

Server Response

Code

Details

Response Body

Responses

Code

Description

Result {

id

string

example: "1"

jsonrpc

string

example: "2.0"

result

string

example: "767969"

}

Get balance for address. Also available through a GraphQL 'addresses' query.
If the balance hasn't been updated in a long time, we will double check
with the node to fetch the absolute latest balance. This will not be
reflected in the current request, but once it is updated, subsequent requests
will show the updated balance. If you want to know whether or not we are checking
for another balance, use the `balancemulti` action. That contains a property
called `stale` that will let you know to recheck that balance in the near future.

?module=account&action=balance&address={addressHash}

balance

GETPOST

More Details Hide Details

Parameters

Name

Description

Module *required

string (query)

A string with the name of the module to be invoked.

Must be set to:account

Action *required

string (query)

A string with the name of the action to be invoked.

Must be set to:balance

address *required

string (query)

A 160-bit code used for identifying Accounts.

Curl

Request URL

Server Response

Code

Details

Response Body

Responses

Code

Description

Result {

}

Get balance for multiple addresses. Also available through a GraphQL 'addresses' query.
If the balance hasn't been updated in a long time, we will double check
with the node to fetch the absolute latest balance. This will not be
reflected in the current request, but once it is updated, subsequent requests
will show the updated balance. You can know that this is taking place via
the `stale` attribute, which is set to `true` if a new balance is being fetched.

id

Curl

Request URL

Server Response

Code

Details

Responses

Code

Description

Result {

id

string

example: "1"

jsonrpc

string

example: "2.0"

result

string

example: "767969"

}

Contract ?module=contract

Get a list of contracts, sorted ascending by the time they were first seen by the explorer.
If you provide the filters `not_decompiled`(`4`) or `not_verified(4)` the results will not
be sorted for performance reasons.

?module=contract&action=listcontracts

listcontracts

GETPOST

More Details Hide Details

Parameters

Name

Description

Module *required

string (query)

A string with the name of the module to be invoked.

Must be set to:contract

Action *required

string (query)

A string with the name of the action to be invoked.

Must be set to:listcontracts

page

integer (query)

A nonnegative integer that represents the page number to be used for pagination. 'offset' must be provided in conjunction.

offset

integer (query)

A nonnegative integer that represents the maximum number of records to return when paginating. 'page' must be provided in conjunction.

filter

string (query)

verified|decompiled|unverified|not_decompiled|empty, or 1|2|3|4|5 respectively. This requests only contracts with that status.

not_decompiled_with_version

string (query)

Ensures that none of the returned contracts were decompiled with the provided version. Ignored unless filtering for decompiled contracts.