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
Response
Returns detailed block information including:blockID
— the block hashblock_header
— block header informationraw_data
— raw block header datawitness_signature
— witness signature for the block
transactions
— array of transactions in the blockblockSize
— size of the block in bytestimestamp
— block creation timestamptxTrieRoot
— transaction trie root hashparentHash
— hash of the parent blocknumber
— block numberwitness_address
— address of the block producer
Use case
Thewalletsolidity/getblockbyid
method is used for:
- Retrieving confirmed block data by hash from solidified blockchain state
- Verifying block integrity using finalized block information
- Building blockchain explorers with reliable, non-reversible block data
- Implementing applications that require confirmed block information by hash lookup
Body
application/json
Block ID (hash) in hexadecimal format
Example:
"0000000004326f801c9c4b8c43c5e0b1f5e7b4c4a8ff6d02ab53a26d2344a5c1"