eth_getBlockByHashfull - Arbitrum

eth_getBlockByHashfull. Fetches a block by its hash, providing with information about the block's transactions

eth_getBlockByHash#full - arbitrum [Value: 60CU]
Fetches detailed information about a block using its hash, including all its transactions when transaction_detail_flag is set to true
Use cases

Use cases

  • Retrieve full block details using block hash
  • Get transactions and metadata for a specific block
  • Analyze block data for blockchain synchronization checks
Constraints

Constraints

  • Requires valid block hash as input parameter
  • Full transaction data increases response size significantly
  • Node must be fully synchronized with the blockchain
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl --request POST \
     --url https://arbitrum.drpc.org \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "eth_getBlockByHash",
  "params": [
    "0x3f07a9c83155594c000642e7d60e8a8a00038d03e9849171a05ed0e2d47acbb3",
    true
  ]
}
'
Copy
Response
200
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "difficulty": "0x4ea3f27bc",
    "extraData": "0x65746865726d696e652d6575312d32",
    "gasLimit": "0x47e7c4",
    "gasUsed": "0x6384",
    "hash": "0x5bad55fbd7e0f20eac95f45f55f997216de10aaf176314c236b0c3c93c5d1f17",
    "logsBloom": "0x0",
    "miner": "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5",
    "mixHash": "0x75b1f48901cf1d37ad43c2b29eafeb1f3ae5cf5c5d55b1b3be6b2be4a25d6ec6",
    "nonce": "0x539bd4979b50162d",
    "number": "0x1b4",
    "parentHash": "0x8e3d7ea52a14b9d773c37d67e2a4b8e6a12573c3d60a1cd1a58455d3008d1c9d",
    "receiptsRoot": "0xbcdfc35b86bedf72e283106f1f9a03c8d99a6de2b1cba6b01ff3e78e924e05c8",
    "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad0d4e8eeb004cfe8dec7d1f3469a7f5f",
    "size": "0x220",
    "stateRoot": "0x7d00dcd0e0d14e6f7d9dc57116d0e5f76b0abdc716a1d7e6b4df87eae7795b7a",
    "timestamp": "0x55ba467c",
    "totalDifficulty": "0x78ed983323d",
    "transactions": [
      {
        "blockHash": "0x5bad55fbd7e0f20eac95f45f55f997216de10aaf176314c236b0c3c93c5d1f17",
        "blockNumber": "0x1b4",
        "from": "0x5cb2045c43d14a5f5e5f1ea60c5b02e0a93032cf",
        "gas": "0x7d3c",
        "gasPrice": "0xba43b7400",
        "hash": "0x1a85165ac88f73b7a290104f614cf08d8b4f3e193f41f209c3716d9c237139f5",
        "input": "0x",
        "nonce": "0x15",
        "to": "0x3535353535353535353535353535353535353535",
        "transactionIndex": "0x0",
        "value": "0x1bc16d674ec80000",
        "v": "0x1c",
        "r": "0x5e1d3a76fbf824220e68236e2d51cb98f349a5a6e4f43e3f471f5d0421d4aee2",
        "s": "0x5e1d3a76fbf824220e68236e2d51cb98f349a5a6e4f43e3f471f5d0421d4aee2"
      }
      // Additional transaction objects can be included here
    ],
    "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "uncles": []
  }
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
Parametersarray
array
hashstring
The 32-byte identifier of the block.
transaction_detail_flagboolean
When set to true, full transaction objects are returned; otherwise, only the transaction hashes are provided.

Response

200

Response params

object
idinteger
jsonrpcstring
resultobject
Contains detailed information about the block if found.
object
noncestring
8-byte hash of the generated proof-of-work; null for pending blocks.
hashstring
32-byte block hash; null for pending blocks.
baseFeePerGasstring
Base fee per gas in wei for the block, encoded in hexadecimal.
numberstring
Block number; null for pending blocks.
parentHashstring
32-byte hash of the parent block.
sha3Unclesstring
32-byte SHA3 hash of the uncles data.
logsBloomstring
256-byte bloom filter for the block's logs; null for pending blocks.
transactionsRootstring
32-byte root of the transaction trie.
stateRootstring
32-byte root of the final state trie.
receiptsRootstring
32-byte root of the receipts trie.
minerstring
20-byte address of the mining reward recipient.
difficultystring
Difficulty level of the block.
totalDifficultystring
Total difficulty of the chain up to this block.
extraDatastring
Extra data field of the block.
sizestring
Size of the block in bytes.
gasLimitstring
Maximum gas allowed in the block.
gasUsedstring
Total gas used by all transactions in the block.
timestampstring
Unix timestamp of the block creation.
transactionsarray
Array of transaction objects
object
blockHashstring
Hash of the block containing the transaction.
blockNumberstring
Block number containing this transaction; null for pending transactions.
transactionIndexstring
Index position of the transaction in the block; null for pending transactions.
noncestring
Number of prior transactions from the sender.
hashstring
2-byte transaction hash.
fromstring
20-byte address of the sender.
gasstring
Gas provided by the sender.
gasPricestring
Gas price provided by the sender in wei.
inputstring
Data sent with the transaction.
rstring
ECDSA signature r.
sstring
ECDSA signature s.
tostring
20-byte address of the receiver; null for contract creation transactions.
vstring
ECDSA recovery id.
valuestring
Value transferred in Wei.
unclesarray_of_strings
List of uncle block hashes.