Get Recent Blocks

Get the JSON representation of the last recent "Block" objects in the ledger.

Optional ParamPurposeRequirements

limit

The number of blocks to return

Example

{
  "method": "get_recent_blocks",
  "params": {
    "limit": 2,
  },
  "jsonrpc": "2.0",
  "id": 1
}

Last updated