eth_blockNumber
curl -X POST --data '{"id":0,"jsonrpc":"2.0","method": "eth_blockNumber", "params": []}'
POST
More Details
Hide Details
参数
名称
描述
Curl
服务器响应
代码
明细
响应体
响应
代码
描述
200
successful operation
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": []}'
POST
More Details
Hide Details
参数
名称
描述
Data *必需
20 Bytes - address to check for balance
Quantity|Tag *必需
Integer block number, or the string "latest", "earliest" or "pending"
Curl
服务器响应
代码
明细
响应体
响应
代码
描述
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": []}'
POST
More Details
Hide Details
参数
名称
描述
Object *必需
The filter options
Curl
服务器响应
代码
明细
响应体
响应
代码
描述
200
successful operation