Skip to main content
Returns identity and transaction information about a confirmed block in the ledger.

On ThorNode

Forwarded to the upstream node with a 10 s timeout and one retry on a transport error. History is limited to the upstream’s retained ledger; slots older than getFirstAvailableBlock return an error.

Parameters

number
required
Slot number as a u64 integer.
string
default:"finalized"
The commitment level for the request.
  • finalized
string
default:"json"
The encoding format for each returned transaction.
  • json
  • jsonParsed
  • base58
  • base64
string
default:"full"
Level of transaction detail to return. If accounts are requested, transaction details only include signatures and an annotated list of accounts in each transaction. Transaction metadata includes only: fee, err, pre_balances, post_balances, pre_token_balances, and post_token_balances.
  • full
  • accounts
  • signatures
  • none
number
Maximum transaction version to return in responses. If the requested block contains a transaction with a higher version, an error will be returned. If omitted, only legacy transactions will be returned.
boolean
default:"true"
Whether to populate the rewards array.

Response

string
The blockhash of this block (base-58 encoded string).
string
The blockhash of the block’s parent.
integer
The slot index of this block’s parent.
array
Array of transaction details.
integer
Estimated production time as Unix timestamp.
integer
Number of blocks beneath this block.
array
Rewards for the block.