Get Blocks

Get the JSON representation of multiple "Block" objects in the ledger.

Required ParamPurposeRequirements

first_block_index

The first block index to return.

Block must exist in the ledger.

Optional ParamPurposeRequirements

limit

The number of blocks to return

Example

{
  "method": "get_blocks",
  "params": {
    "block_index": "10",
    "limit": 2
  },
  "jsonrpc": "2.0",
  "id": 1
}

Last updated