Skip to main content

Returns the number of the most recent block.

POST 

/:network/eth_blockNumber

Request

Path Parameters

    network stringrequired

    Default value: eth-mainnet

    The blockchain network to connect to.

    Example: eth-mainnet

Query Parameters

    projectId stringrequired

    Default value: 8ry9f6t9dct1se2hlagxnd9n2a

    The id of your project. Can be found in your Histori dashboard.

    Example: 8ry9f6t9dct1se2hlagxnd9n2a

Body

    id integer
    jsonrpc string
    method string
    params undefined[]nullable

Responses

OK

Schema

    id integer
    jsonrpc string
    result string
Loading...