Alchemy Logo

getBlockHeight

POST
/{apiKey}

Returns the current block height of the node.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

objectoptional

Optional configuration object containing additional request parameters.

Responses

200

The current block height, as a u64 integer.

The current block height.

Was this page helpful?