- We're indexing this chain right now. Some of the counts may be inaccurate.

Change Network

Use the search box to find a hosted network, or select from the list of available networks below.

All
Mainnet
Testnet
Favorites
No content.

NTY RPC API Documentation

[ Base URL: http://localhost:4000/api/eth_rpc ]

This API is provided to support some rpc methods in the exact format specified for ethereum nodes, which can be found here. This is useful to allow sending requests to blockscout without having to change anything about the request. However, in general, the custom RPC is recommended. Anything not in this list is not supported. Click on the method to be taken to the documentation for that method, and check the notes section for any potential differences.

eth_getBalance

The `earliest` parameter will not work as expected currently, because genesis block balances are not currently imported

curl -X POST --data '{"id":0,"jsonrpc":"2.0","method": "eth_getBalance", "params": []}'


Parameters

Name

Description

Data *required

20 Bytes - address to check for balance

Quantity|Tag *required

Integer block number, or the string "latest", "earliest" or "pending"

Curl

Server Response

Code

Details

Response Body


Responses

Code

Description
200
successful operation

eth_getLogs

Will never return more than 1000 log entries. For this reason, you can use pagination options to request the next page. Pagination options params: {"logIndex": "3D", "blockNumber": "6423AC", "transactionIndex": 53} which include parameters from the last log received from the previous request. These three parameters are required for pagination.

curl -X POST --data '{"id":0,"jsonrpc":"2.0","method": "eth_getLogs", "params": []}'


Parameters

Name

Description

Object *required

The filter options

Curl

Server Response

Code

Details

Response Body


Responses

Code

Description
200
successful operation