HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

GetBlock

Query block header information or entire block information according to block height or block hash

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_idint64super representative id
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.accountStateRootstringthe root of 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.
Language
Click Try It! to start a request and see the response here!