# archive_v1_body - Bittensor RPC Method

Returns the body of a block identified by its hash via the new JSON-RPC v2 archive API. The block body contains the ordered list of extrinsics (transactions, inherents, and unsigned calls) included in that block. This method is part of the `archive` namespace introduced in the new JSON-RPC specification and is designed for clients that need efficient historical data access on Bittensor without maintaining a full follow subscription.

## Code Examples

## Request Parameters

- `hash` (`string, required`): The hex-encoded block hash (e.g. `"0x1e8a..."`) whose body to retrieve.

## Request Example

```json
{
  "jsonrpc": "2.0",
  "method": "archive_v1_body",
  "params": [
    "<hash>"
  ],
  "id": 1
}
```

## Response Fields

- `result` (`array | null, required`): Array of hex-encoded SCALE extrinsics included in the block, in execution order. `null` if the block hash cannot be resolved.

## Successful Response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": []
}
```

## Use Cases

- **Indexers and explorers** -- Retrieve all extrinsics in a historical block for indexing transfers, staking operations, and subnet registrations on Bittensor.
- **Analytics pipelines** -- Extract historical transaction data across block ranges without replaying the chain. Combine with `archive_v1_hashByHeight` to iterate blocks sequentially.
- **Audit tooling** -- Verify the contents of specific blocks during forensic analysis of on-chain activity.
- **Subnet monitoring** -- Examine historical blocks for subnet registration, weight-setting, and staking extrinsics to analyze Bittensor network behavior over time.

## Bittensor Context

On Bittensor, block bodies contain Substrate extrinsics that encode TAO transfers, subnet operations (`register`, `set_weights`, `add_stake`, `remove_stake`), and governance actions. Each extrinsic is SCALE-encoded and must be decoded using the runtime metadata from the same block era.

## Notes

- This method is part of the new JSON-RPC v2 specification and may not be available on all node configurations.
- On public shared RPC endpoints the archive namespace may be disabled or rate-limited.
- For real-time block body access, consider using `chainHead_v1_body` within a follow subscription instead.

## Related Methods

- [`archive_v1_header`](https://www.dwellir.com/docs/bittensor/archive_v1_header) -- Get the header for a historical block
- [`archive_v1_call`](https://www.dwellir.com/docs/bittensor/archive_v1_call) -- Execute a runtime call against historical state
- [`archive_v1_hashByHeight`](https://www.dwellir.com/docs/bittensor/archive_v1_hashByHeight) -- Resolve a block height to a hash before querying its body
- [`chainHead_v1_body`](https://www.dwellir.com/docs/bittensor/chainHead_v1_body) -- Get block body within a follow subscription
- [`chain_getBlock`](https://www.dwellir.com/docs/bittensor/chain_getBlock) -- Legacy method to retrieve a full block (header + body)
