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

# Soon Testnet

> Access Soon Testnet 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/soon.png" />

| Property | Value |
| - | - |
| Network ID | `soon-testnet` |
| Real-time | No |
| Pricing tier | [Frontier](/en/portal/pricing#chain-tiers) |

## Endpoint

<Tabs>
  <Tab title="Portal (recommended)">
    ```
    https://portal.sqd.dev/datasets/soon-testnet
    ```
  </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/soon-testnet
    ```
  </Tab>
</Tabs>

## Quick start

```bash theme={"system"}
curl --compressed -X POST \
  'https://portal.sqd.dev/datasets/soon-testnet/stream' \
  -H 'Content-Type: application/json' \
  -d '{
    "type": "solana",
    "fromBlock": 0,
    "toBlock": 100,
    "fields": {
      "block": { "number": true, "timestamp": true },
      "instruction": { "programId": true, "data": true }
    },
    "instructions": [{}]
  }'
```

For full SDK examples:

<CardGroup cols={2}>
  <Card title="Pipes SDK Quickstart" icon="text-align-start" href="/en/sdk/pipes-sdk/solana/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="Transactions">
    | Field | Type | Description |
    | - | - | - |
    | `transactionIndex` | integer | Transaction index in block |
    | `signatures` | array | Transaction signatures |
    | `accountKeys` | array | Account keys involved |
    | `recentBlockhash` | string | Recent blockhash used |
    | `fee` | integer | Transaction fee |
    | `err` | object | Error information, or null if the transaction succeeded |
  </Accordion>

  <Accordion title="Instructions">
    | Field | Type | Description |
    | - | - | - |
    | `transactionIndex` | integer | Parent transaction index |
    | `instructionAddress` | array | Instruction path (position in the instruction tree) |
    | `programId` | string | Program ID |
    | `accounts` | array | Accounts involved |
    | `data` | string | Instruction data |
  </Accordion>

  <Accordion title="Balances">
    | Field | Type | Description |
    | - | - | - |
    | `account` | string | Account address |
    | `pre` | bigint | Balance before transaction |
    | `post` | bigint | Balance after transaction |
  </Accordion>

  <Accordion title="Token Balances">
    | Field | Type | Description |
    | - | - | - |
    | `account` | string | Token account |
    | `postMint` | string | Token mint address |
    | `postOwner` | string | Owner address |
    | `preAmount` | bigint | Balance before transaction |
    | `postAmount` | bigint | Balance after transaction |
    | `postDecimals` | integer | Token decimals |
  </Accordion>

  <Accordion title="Rewards">
    | Field | Type | Description |
    | - | - | - |
    | `pubkey` | string | Recipient account |
    | `lamports` | bigint | Reward amount in lamports |
    | `rewardType` | string | Type of reward |
    | `commission` | integer | Commission percentage |
  </Accordion>

  <Accordion title="Logs">
    | Field | Type | Description |
    | - | - | - |
    | `transactionIndex` | integer | Parent transaction index |
    | `instructionAddress` | array | Instruction path |
    | `programId` | string | Program that emitted the log |
    | `kind` | string | Log kind |
    | `message` | string | Log message |
  </Accordion>
</AccordionGroup>

## Reference

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

- [Vara Testnet](/en/data/substrate/vara-testnet.md)
- [Sonic Testnet](/en/data/evm/sonic-testnet.md)
- [Abstract Testnet](/en/data/evm/abstract-testnet.md)
- [Avalanche Testnet](/en/data/evm/avalanche-testnet.md)
- [Bittensor Testnet](/en/data/evm/bittensor-testnet-evm.md)


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