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

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.sqd.dev/feedback

```json
{
  "path": "/en/data/substrate/robonomics",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# Robonomics

> Index Robonomics Substrate blockchain data — blocks, extrinsics, events, and calls — via SQD Portal API for finalized historical streaming.

| Property   | Value        |
| ---------- | ------------ |
| Network ID | `robonomics` |
| Real-time  | No           |

## Endpoint

<Tabs>
  <Tab title="Portal (recommended)">
    ```
    https://portal.sqd.dev/datasets/robonomics
    ```
  </Tab>

  <Tab title="v2 archives (legacy)">
    <Warning>
      Will be sunset soon. [Migrate to Portal →](/en/portal/migration)
    </Warning>

    ```
    https://v2.archive.subsquid.io/network/robonomics
    ```
  </Tab>
</Tabs>

## Quick start

```bash theme={"system"}
curl --compressed -X POST \
  'https://portal.sqd.dev/datasets/robonomics/stream' \
  -H 'Content-Type: application/json' \
  -d '{
    "type": "substrate",
    "fromBlock": 0,
    "toBlock": 100,
    "fields": {
      "block": { "number": true, "timestamp": true },
      "event": { "name": true, "args": true }
    },
    "events": [{}]
  }'
```

For full SDK examples:

<CardGroup cols={2}>
  <Card title="Pipes SDK Quickstart" icon="bars-staggered" href="/en/sdk/pipes-sdk/substrate/quickstart">
    Streaming pipeline indexer
  </Card>

  <Card title="Squid SDK Quickstart" icon="server" href="/en/sdk/squid-sdk/quickstart">
    GraphQL API indexer
  </Card>
</CardGroup>

## Schema

<AccordionGroup>
  <Accordion title="Blocks">
    | Field             | Type    | Description                   |
    | ----------------- | ------- | ----------------------------- |
    | `number`          | integer | Block number                  |
    | `hash`            | string  | Block hash                    |
    | `parent_hash`     | string  | Parent block hash             |
    | `timestamp`       | integer | Block timestamp               |
    | `state_root`      | string  | State root hash               |
    | `extrinsics_root` | string  | Extrinsics root hash          |
    | `spec_version`    | integer | Runtime specification version |
  </Accordion>

  <Accordion title="Extrinsics">
    | Field       | Type    | Description                 |
    | ----------- | ------- | --------------------------- |
    | `index`     | integer | Extrinsic index in block    |
    | `hash`      | string  | Extrinsic hash              |
    | `version`   | integer | Extrinsic version           |
    | `signature` | object  | Signature information       |
    | `success`   | boolean | Whether extrinsic succeeded |
    | `error`     | object  | Error information if failed |
    | `call`      | object  | Call data                   |
  </Accordion>

  <Accordion title="Events">
    | Field             | Type    | Description                                  |
    | ----------------- | ------- | -------------------------------------------- |
    | `index`           | integer | Event index                                  |
    | `phase`           | string  | ApplyExtrinsic, Finalization, Initialization |
    | `extrinsic_index` | integer | Associated extrinsic index                   |
    | `name`            | string  | Event name                                   |
    | `args`            | object  | Event arguments                              |
    | `topics`          | array   | Event topics                                 |
  </Accordion>

  <Accordion title="Calls">
    | Field     | Type    | Description                 |
    | --------- | ------- | --------------------------- |
    | `name`    | string  | Call name (pallet.method)   |
    | `args`    | object  | Call arguments              |
    | `origin`  | object  | Call origin                 |
    | `success` | boolean | Whether call succeeded      |
    | `error`   | object  | Error information if failed |
  </Accordion>
</AccordionGroup>

## Reference

<CardGroup cols={2}>
  <Card title="API Reference" icon="code" href="/en/api/substrate/finalized-stream">
    Field definitions and query syntax
  </Card>

  <Card title="Portal Migration" icon="arrow-right" href="/en/portal/migration">
    Migrate from v2 archives to Portal
  </Card>
</CardGroup>
