GetBlock

Query block header information or entire block information according to block height or block hash. (Confirmed state)

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Returns

FieldTypeDescription
blockIDstringBlock hash.
block_header.raw_data.timestampint64Block timestamp. (Unit: millisecond)
block_header.raw_data.txTrieRootstringRoot hash of the transaction Merkle tree.
block_header.raw_data.parentHashstringHash of the parent block.
block_header.raw_data.numberint64Block number (height).
block_header.raw_data.witness_idint64ID of the Super Representative.
block_header.raw_data.witness_addressstringAddress of the Super Representative that produced the block.
block_header.raw_data.versionint32Protocol version number.
block_header.raw_data.accountStateRootstringRoot hash of the account state tree.
block_header.witness_signaturestringSignature of the Super Representative.
transactionsTransaction[]List of transaction objects in the block. See GetTransactionById for contents in each transaction.
Body Params
string

Block height or hash. If omitted, the latest block is queried. Example: 1000000

boolean
Defaults to false

Whether to query the full block information. Set to true to query the entire block details; set to false to query only the block header. (Default: false)

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!