メインコンテンツへスキップ
POST

ボディ

application/json
method
enum<string>
デフォルト:getBlock
必須
利用可能なオプション:
getBlock
jsonrpc
enum<string>
デフォルト:2.0
必須
利用可能なオプション:
2.0
params
integer[]
必須

Slot number (u64).

Required array length: 1 element
id
デフォルト:1
必須
commitment
string
デフォルト:finalized

Commitment level (passed in params config object).

encoding
string
デフォルト:json

Encoding format for account data.

transactionDetails
string
デフォルト:full

Level of transaction detail to return.

maxSupportedTransactionVersion
integer
デフォルト:0

Max transaction version to return in responses.

rewards
boolean
デフォルト:false

Whether to populate the rewards array.

レスポンス

200 - application/json

Successful response

jsonrpc
enum<string>
デフォルト:2.0
必須
利用可能なオプション:
2.0
id
必須
result
object | null

Block information or null if block is not confirmed.