Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
value
— the block ID (hash) in hexadecimal format to retrieve
Response
blockID
— the block hash identifierblock_header
— block header information containing:raw_data
— raw block header data including:timestamp
— block generation timestamp in millisecondstxTrieRoot
— transaction trie root hashparentHash
— parent block hashnumber
— block height/numberwitness_address
— address of the block producer (witness)version
— block version
witness_signature
— digital signature of the block producer
transactions
— array of all transactions included in the block
Use case
Thewallet/getblockbyid
method is used for:
- Retrieving detailed information about a specific block using its hash.
- Building block explorers that need to display block details by ID.
- Verifying block contents and validating transactions within a specific block.
- Analyzing historical blockchain data for auditing and compliance purposes.
- Implementing blockchain synchronization tools that need to fetch blocks by their identifiers.
Body
application/json
The block ID (hash) in hexadecimal format