> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# arb_getRawBlockMetadata | Robinhood

> Robinhood Chain API method (Arbitrum Nitro `arb` namespace) that returns raw block metadata for a range of blocks, including the batch and per-block timing information Nitro records for each L2 block.

Robinhood Chain API method (Arbitrum Nitro `arb` namespace) that returns raw block metadata for a range of blocks, including the batch and per-block timing information Nitro records for each L2 block.

## Parameters

* `fromBlock` — the first block number in hex
* `toBlock` — the last block number in hex

## Response

* `array` — a list of raw block metadata entries, each with the block number and its associated metadata bytes

## `arb_getRawBlockMetadata` code examples

<CodeGroup>
  ```javascript ethers.js theme={"system"}
  const { JsonRpcProvider } = require("ethers");

  const provider = new JsonRpcProvider("CHAINSTACK_NODE_URL");

  async function call() {
    const result = await provider.send("arb_getRawBlockMetadata", ["0xc3007d", "0xc3007d"]);
    console.log(result);
  }

  call();
  ```

  ```python web3.py theme={"system"}
  from web3 import Web3

  node_url = "CHAINSTACK_NODE_URL"
  web3 = Web3(Web3.HTTPProvider(node_url))

  result = web3.provider.make_request("arb_getRawBlockMetadata", ["0xc3007d", "0xc3007d"])
  print(result)
  ```

  ```shell cURL theme={"system"}
  curl -X POST "CHAINSTACK_NODE_URL" \
    -H "Content-Type: application/json" \
    --data '{
      "jsonrpc": "2.0",
      "method": "arb_getRawBlockMetadata",
      "params": ["0xc3007d", "0xc3007d"],
      "id": 1
    }'
  ```
</CodeGroup>


## OpenAPI

````yaml openapi/robinhood_node_api/chain_info/arb_getRawBlockMetadata.json POST /
openapi: 3.0.0
info:
  title: Chainstack Node API
  version: 1.0.0
  description: This is an API for interacting with a Chainstack node.
servers:
  - url: >-
      https://robinhood-mainnet.core.chainstack.com/23cf4479b299ab4835d76c05c468ca6e
security: []
paths:
  /:
    post:
      tags:
        - upload
      summary: arb_getRawBlockMetadata
      operationId: arb_getRawBlockMetadata
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: arb_getRawBlockMetadata
                params:
                  type: array
                  items:
                    anyOf:
                      - type: string
                  default:
                    - '0xc3007d'
                    - '0xc3007d'
      responses:
        '200':
          description: arb_getRawBlockMetadata
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object
                    nullable: true

````