Skip to main content
POST
getBlock

Body

application/json
jsonrpc
enum<string>
required
Available options:
2.0
Example:

"2.0"

method
enum<string>
required
Available options:
getBlock
Example:

"getBlock"

params
any[]
required

[slot, config?]config supports encoding, transactionDetails (full/accounts/signatures/none), rewards, commitment, maxSupportedTransactionVersion

Example:
id
Example:

1

Response

200 - application/json

JSON-RPC response. Inspect result (success) or error (failure).

jsonrpc
string
required
Example:

"2.0"

result
any
required
id
Example:

1