Skip to main content

block_by_num

Fetches block/s from the chain by block number. Multiple block numbers can be supplied in the same request body.

Header Parameters
    x-cache-id string

    Possible values: Value must match regular expression ^[a-z0-9]{32}$

    An idempotent key for retrieving cached responses from the node

Request Body array required

List of block numbers to fetch blocks for in the chain

  • Array [
  • number

  • ]
Responses

Successful operation


Schema
    id string

    The ID of the call, which corresponds to the x-cache-id used in the header

    status string

    The status of the call, which will be one of either "Success", "Error", or "Pending"

    reason string

    The reason for the status of the call. Most useful to debug errors

    route string

    The endpoint route that was called

    content array[]
Loading...