Skip to content
Alchemy Logo

Get Block Hash

GET
https://dogecoin-mainnet.g.alchemy.com/v2/{apiKey}/api/v2/block-index/{block_height}

Returns the block hash for a given block height on the selected network.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

integerrequired

Block height as a non-negative integer.

Responses

200

Block hash for the requested height.

400

Malformed request.

404

Resource not found on the requested network.

Was this page helpful?