Alchemy Logo

getBlock

POST
/{apiKey}

Returns identity and transaction information about a confirmed block in the ledger.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

integerrequired

Slot number as a u64 integer.

objectoptional

Optional configuration object containing additional settings.

Responses

200

Returns block information or null if the block is not confirmed.

Was this page helpful?