getBlock

getBlock RPC Method

post
/historical

Returns identity and transaction information about a confirmed block in the ledger. Provides detailed block data including all transactions and their metadata.

Authorizations
AuthorizationstringOptional

Authorization header for API key authentication.

Example:

Authorization: your-api-key-here
Body
jsonrpcstring · enumRequired

JSON-RPC protocol version

Example: 2.0Possible values:
idone ofRequired

Request identifier that will be returned in the response

Example: 1
stringOptional
or
numberOptional
methodstring · enumRequired

The RPC method name

Example: getBlockPossible values:
Responses
chevron-right
200

Successful Response

application/json

RPC response containing block information

jsonrpcstring · enumRequired

JSON-RPC protocol version

Example: 2.0Possible values:
idone ofRequired

Request identifier matching the original request

Example: 1
stringOptional
or
numberOptional
resultone ofOptional

Block information or null if block is not confirmed or not found

or
nullOptional
post
/historical

Last updated