Skip to main content

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

OK

Schema
    jsonrpc string
    result string
    id
Loading...

Was this page helpful?