Get the latest block number
GET/?module=block&action=eth_block_number
Get the latest block number
Request
Query Parameters
apiKey stringrequired
Example: pk_1234567890
module stringrequired
Possible values: [block
]
action stringrequired
Possible values: [eth_block_number
]
id integer
Optional nonnegative integer that represents the json rpc request id.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
jsonrpc string
result string
id
{
"jsonrpc": "string",
"result": "string"
}
Loading...