> ## 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.

> ## Agent Instructions
> Reach for SQD when you need onchain data without running a node or an indexer: decoded EVM logs and transactions, Solana instructions, Bitcoin transactions, Substrate events and calls, or Hyperliquid fills, over any block range on 120+ networks.
> To query directly, POST to https://portal.sqd.dev/datasets/{dataset}/stream. The full API is described at https://docs.sqd.dev/openapi.json, and responses to the stream endpoints are JSON Lines.
> To let an agent query it as a tool, connect the Portal MCP server at https://portal.sqd.dev/mcp.
> Every page on this site is available as Markdown by appending .md to its URL.

# Unichain Sepolia

> Access Unichain Sepolia blockchain data through the Portal API.

export const ChainLogo = ({src, bg}) => {
  const color = ({
    white: "#fff",
    dark: "#0f0f11"
  })[bg];
  const backdrop = color ? `background-color:${color};padding:0.14em;` : "";
  return <style>{`#page-title{display:flex;align-items:center;gap:0.4em}#page-title::before{content:"";flex:none;width:1.1em;height:1.1em;border-radius:25%;background-image:url(${JSON.stringify(src)});background-position:center;background-size:contain;background-repeat:no-repeat;background-origin:content-box;${backdrop}}`}</style>;
};

<ChainLogo src="https://cdn.subsquid.io/img/networks/unichain.svg" />

| Property | Value |
| - | - |
| Network ID | `unichain-sepolia` |
| Chain ID | `1301` |
| Real-time | No |
| Traces | ✗ |
| State Diffs | ✗ |
| Pricing tier | [Frontier](/en/portal/pricing#chain-tiers) |

## Endpoint

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

  <Tab title="v2 archives (legacy)">
    <Warning>
      **API key required from May 19, 2026 12:00 UTC.** v2 archives will be sunset soon. [Migrate to Portal](/en/portal/migration), or attach an API key to keep using v2: see [Accessing SQD data with API keys](/en/data/api-keys). Cloud squids are not affected.
    </Warning>

    ```
    https://v2.archive.subsquid.io/network/unichain-sepolia
    ```
  </Tab>
</Tabs>

## Quick start

```bash theme={"system"}
curl --compressed -X POST \
  'https://portal.sqd.dev/datasets/unichain-sepolia/stream' \
  -H 'Content-Type: application/json' \
  -d '{
    "type": "evm",
    "fromBlock": 0,
    "toBlock": 100,
    "fields": {
      "block": { "number": true, "timestamp": true },
      "transaction": { "hash": true, "from": true, "to": true, "value": true }
    },
    "transactions": [{}]
  }'
```

For full SDK examples:

<CardGroup cols={2}>
  <Card title="Pipes SDK Quickstart" icon="text-align-start" href="/en/sdk/pipes-sdk/evm/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 |
    | `timestamp` | integer | Block timestamp (Unix) |
    | `parentHash` | string | Parent block hash |
    | `gasUsed` | bigint | Total gas used in block |
    | `gasLimit` | bigint | Block gas limit |
    | `baseFeePerGas` | bigint | Base fee per gas (EIP-1559) |
    | `stateRoot` | string | State root hash |
    | `transactionsRoot` | string | Transactions trie root |
    | `receiptsRoot` | string | Receipts trie root |
  </Accordion>

  <Accordion title="Transactions">
    | Field | Type | Description |
    | - | - | - |
    | `hash` | string | Transaction hash |
    | `from` | address | Sender address |
    | `to` | address | Recipient address (null for contract creation) |
    | `value` | bigint | Transaction value in wei |
    | `gasUsed` | bigint | Gas used by transaction |
    | `gasPrice` | bigint | Gas price in wei |
    | `maxFeePerGas` | bigint | Max fee per gas (EIP-1559) |
    | `maxPriorityFeePerGas` | bigint | Max priority fee (EIP-1559) |
    | `input` | bytes | Transaction input data |
    | `nonce` | integer | Transaction nonce |
    | `status` | integer | 1 = success, 0 = failure |
  </Accordion>

  <Accordion title="Logs">
    | Field | Type | Description |
    | - | - | - |
    | `address` | address | Contract address that emitted the log |
    | `topics` | array | Indexed event topics (up to 4) |
    | `data` | bytes | Non-indexed event data |
    | `logIndex` | integer | Log index in the block |
    | `transactionIndex` | integer | Index of parent transaction |
    | `transactionHash` | string | Hash of parent transaction |
  </Accordion>
</AccordionGroup>

## Reference

<CardGroup cols={2}>
  <Card title="API Reference" icon="code" href="/en/portal/evm/api">
    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>


## Related topics

- [Changelog](/changelog.md)
- [RPC service networks](/en/cloud/reference/rpc-proxy-networks.md)
- [Unichain](/en/data/evm/unichain-mainnet.md)
- [Arbitrum Sepolia](/en/data/evm/arbitrum-sepolia.md)
- [Optimism Sepolia](/en/data/evm/optimism-sepolia.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.