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.
Solana on Portal is available from genesis and uses slots, not blocks. V2 archives (legacy) are available starting from block 269,828,500 (block, not slot).
| Property | Value |
|---|---|
| Network ID | solana-mainnet |
| Real-time | Yes |
Endpoint
- Portal (recommended)
- v2 archives (legacy)
Quick start
Pipes SDK Quickstart
Streaming pipeline indexer
Squid SDK Quickstart
GraphQL API indexer
Schema
Transactions
Transactions
| Field | Type | Description |
|---|---|---|
index | integer | Transaction index in block |
signature | string | Transaction signature |
account_keys | array | Account keys involved |
recent_blockhash | string | Recent blockhash used |
fee | integer | Transaction fee |
success | boolean | Whether transaction succeeded |
error | object | Error information if failed |
Instructions
Instructions
| Field | Type | Description |
|---|---|---|
index | integer | Instruction index |
transaction_index | integer | Parent transaction index |
program_id | string | Program ID |
accounts | array | Accounts involved |
data | string | Instruction data |
inner_instructions | array | Inner instructions |
Balances
Balances
| Field | Type | Description |
|---|---|---|
account | string | Account address |
pre | bigint | Balance before transaction |
post | bigint | Balance after transaction |
Token Balances
Token Balances
| Field | Type | Description |
|---|---|---|
account | string | Token account |
mint | string | Token mint address |
owner | string | Owner address |
pre_amount | bigint | Balance before transaction |
post_amount | bigint | Balance after transaction |
decimals | integer | Token decimals |
Rewards
Rewards
| Field | Type | Description |
|---|---|---|
pubkey | string | Recipient account |
lamports | bigint | Reward amount in lamports |
reward_type | string | Type of reward |
commission | integer | Commission percentage |
Logs
Logs
| Field | Type | Description |
|---|---|---|
transaction_index | integer | Parent transaction index |
instruction_address | array | Instruction path |
program_id | string | Program that emitted the log |
kind | string | Log kind |
message | string | Log message |
Reference
API Reference
Field definitions and query syntax
Portal Migration
Migrate from v2 archives to Portal
