Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Geth/Parity Proxy

eth_blockNumber

Fetch the latest block number.

GET
/
v2
/
api
curl "https://api.etherscan.io/v2/api?chainid=1&module=proxy&action=eth_blockNumber&apikey=YourApiKeyToken"
{  "jsonrpc":"2.0",  "id":83,  "result":"0x1661760"}

Query Parameters

apikey
string
default:"YourApiKeyToken"
Your Etherscan API key.
chainid
string
default:"1"
Chain ID to query, eg1 for Ethereum,8453 for Base from oursupported chains.
module
string
default:"proxy"
Set toproxy for this endpoint.
action
string
default:"eth_blockNumber"
Set toeth_blockNumber for this endpoint.
curl "https://api.etherscan.io/v2/api?chainid=1&module=proxy&action=eth_blockNumber&apikey=YourApiKeyToken"
{  "jsonrpc":"2.0",  "id":83,  "result":"0x1661760"}
⌘I

[8]ページ先頭

©2009-2025 Movatter.jp