## RPC

*JSON-RPC 2.0 over HTTPS*

POST standard Solana JSON-RPC to the origin with your key, up to 100 calls per batch, no added envelope. Cached, indexed and aggregate methods (SKILL.md served-by column) answer from our cache and index, the rest from the validator verbatim.

### method availability

| method class | methods | cells | free | dev | business | pro |
|---|---|---|---|---|---|---|
| CHEAP CACHED READS | getHealth getVersion getSlot  +22 more | 1 | 5 | 30 | 100 | 500 |
| BOUNDED READS | getBlockProduction getBlockTime getInflationReward  +7 more | 5 | 1 | 6 | 20 | 100 |
| VOTE ACCOUNTS | getVoteAccounts | 50 | 0.1 | 0.6 | 2 | 10 |
| CLUSTER NODES | getClusterNodes | 100 | 0.05 | 0.3 | 1 | 5 |
| ACCOUNT READS | getAccountInfo getMultipleAccounts getTokenAccountBalance  +1 more | 10 | 0.5 | 15 | 50 | 400 |
| BLOCK RANGES | getBlocks getBlocksWithLimit | 50 | 0.5 | 3 | 5 | 20 |
| LEDGER + TX LOOKUPS | getTransaction getTransactionsForAddress | 50 | 0.24 | 1.2 | 5 | 25 |
| ADDRESS SIGNATURES | getSignaturesForAddress | 50 | 0.24 | 1.2 | 100 | 500 |
| BLOCK | getBlock | 250 | 0.048 | 0.24 | 1 | 5 |
| SEND, NO PREFLIGHT | sendTransaction | 20 | 0.25 | 1.5 | 5 | 25 |
| SEND + PREFLIGHT | sendTransaction | 70 | 0.071 | 0.428 | 1.4 | 7.1 |
| SIMULATE + COMPUTE | simulateTransaction | 50 | 0.5 | 1.2 | 1.5 | 5 |
| PROGRAM SCANS | getProgramAccounts | 500 | 0.004 | 0.03 | 50 | 100 |
| TOKEN SCANS | getTokenAccountsByOwner getTokenAccountsByDelegate | 200 | 0.01 | 0.075 | 125 | 250 |
| WHOLE-LEDGER WALKS | getLargestAccounts getSupply | 200 | 0.005 | 0.005 | 100 | 250 |
| DAS ASSETS | getAsset getAssets getAssetBatch  +7 more | 1 | 3 | 15 | 75 | 150 |
| NOT SERVED | requestAirdrop getTokenLargestAccounts getProgramAccountsV2  +5 more | - | -32601 |  |  |  |

> Cells are the admission charge per call; the plan columns are calls per second, that class's cells per second over a call's cells. `getMultipleAccounts`: 10 cells per pubkey (100 pubkeys: 1000 cells, 1001 over a 4 KiB body); up to 300 pubkeys, but the 1024-cell burst caps a call at 100 below Pro. Pro account reads, from index or validator alike: 32000-cell burst (thirty-one 100-pubkey calls back to back), 4000 a second refill. Token scans (`getTokenAccountsByOwner`, `getTokenAccountsByDelegate`): 205 credits up to 20 accounts, then 10 each, max 100,005. `getTransactionsForAddress`: 55 credits for one descending, unfiltered signature page. `transactionDetails: "full"`, `sortOrder: "asc"` or a filter makes it a walk: 50 credits more per upstream call after the first; worst case 51,255 at limit 1000, held up front. Missing secondary index: the node answers an empty set or `-32010`; the door passed the call. `requestAirdrop`: `-32601`, do not retry. See [DAS API](https://carbium.sh/docs/das.md) and [errors](https://carbium.sh/docs/errors.md).

> Mainnet carries v1 transactions. With `maxSupportedTransactionVersion` absent or 0, `getTransaction` and `getBlock` answer `-32015`, uncharged, for a v1 transaction or a block holding one. `blockSubscribe` at 0 sends that block as `err: {"UnsupportedTransactionVersion":1}`. Send `["<signature>",{"encoding":"base64","maxSupportedTransactionVersion":1}]` for getTransaction, `[<slot>,{"encoding":"base64","maxSupportedTransactionVersion":1}]` for getBlock; your value passes through unchanged. The carbon stream carries every version without it.

### methods

#### Network and cluster

#### getHealth

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

```
{"jsonrpc":"2.0","id":1,"method":"getHealth","params":[]}
```

**answer**: string

#### getVersion

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

```
{"jsonrpc":"2.0","id":1,"method":"getVersion","params":[]}
```

**answer**: {feature-set, solana-core}

#### getIdentity

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

```
{"jsonrpc":"2.0","id":1,"method":"getIdentity","params":[]}
```

**answer**: {identity}

#### getGenesisHash

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

```
{"jsonrpc":"2.0","id":1,"method":"getGenesisHash","params":[]}
```

**answer**: string

#### getAgGenesisCert

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

```
{"jsonrpc":"2.0","id":1,"method":"getAgGenesisCert","params":[]}
```

**answer**: the Alpenglow genesis certificate, null before the switch

#### getClusterNodes

5 credits · FREE 0.05/s, DEV 0.3/s, BUSINESS 1/s, PRO 5/s · batch

```
{"jsonrpc":"2.0","id":1,"method":"getClusterNodes","params":[]}
```

**answer**: [{clientId, featureSet, gossip, pubkey, pubsub, rpc, serveRepair, shredVersion, tpu, tpuForwards, tpuForwardsQuic, tpuQuic, tpuVote, tvu, version}]

#### getVoteAccounts

5 credits · FREE 0.1/s, DEV 0.6/s, BUSINESS 2/s, PRO 10/s · batch

| param | type |   |   |
|---|---|---|---|
| config | {commitment?, votePubkey?, keepUnstakedDelinquents?, delinquentSlotDistance?} | opt | votePubkey is a pubkey; the slot distance a u64 |

```
{"jsonrpc":"2.0","id":1,"method":"getVoteAccounts","params":[{"commitment":"finalized"}]}
```

**answer**: {current, delinquent}

#### getEpochInfo

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

| param | type |   |   |
|---|---|---|---|
| config | {commitment?, minContextSlot?} | opt |  |

```
{"jsonrpc":"2.0","id":1,"method":"getEpochInfo","params":[]}
```

**answer**: {absoluteSlot, blockHeight, epoch, slotIndex, slotsInEpoch, transactionCount}

#### getEpochSchedule

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

```
{"jsonrpc":"2.0","id":1,"method":"getEpochSchedule","params":[]}
```

**answer**: {firstNormalEpoch, firstNormalSlot, leaderScheduleSlotOffset, slotsPerEpoch, warmup}

#### getInflationRate

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

```
{"jsonrpc":"2.0","id":1,"method":"getInflationRate","params":[]}
```

**answer**: {epoch, foundation, total, validator}

#### getInflationGovernor

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

| param | type |   |   |
|---|---|---|---|
| config | {commitment?} | opt |  |

```
{"jsonrpc":"2.0","id":1,"method":"getInflationGovernor","params":[]}
```

**answer**: {foundation, foundationTerm, initial, taper, terminal}

#### getInflationReward

10 credits · FREE 1/s, DEV 6/s, BUSINESS 20/s, PRO 100/s · batch

| param | type |   |   |
|---|---|---|---|
| addresses | pubkey[] | req | stake or vote account pubkeys |
| config | {commitment?} | opt |  |

```
{"jsonrpc":"2.0","id":1,"method":"getInflationReward","params":[["<vote account>"],{"commitment":"finalized"}]}
```

**answer**: [{amount, commission, effectiveSlot, epoch, postBalance}]

#### getStakeMinimumDelegation

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

| param | type |   |   |
|---|---|---|---|
| config | {commitment?} | opt |  |

```
{"jsonrpc":"2.0","id":1,"method":"getStakeMinimumDelegation","params":[]}
```

**answer**: {context: {apiVersion, slot}, value}

#### getSupply

200 credits · FREE 0.005/s, DEV 0.005/s, BUSINESS 100/s, PRO 250/s

| param | type |   |   |
|---|---|---|---|
| config | {commitment?, excludeNonCirculatingAccountsList?, minContextSlot?} | opt | answered from a cached copy that refreshes at most once every 600 s |

```
{"jsonrpc":"2.0","id":1,"method":"getSupply","params":[{"commitment":"finalized"}]}
```

**answer**: {context: {apiVersion, slot}, value: {circulating, nonCirculating, nonCirculatingAccounts: [string], total}}

**refuses**: 400 -32600 sent in a batch; 501 -32004 a config key or value not listed here

#### getLargestAccounts

200 credits · FREE 0.005/s, DEV 0.005/s, BUSINESS 100/s, PRO 250/s

| param | type |   |   |
|---|---|---|---|
| config | {commitment?, filter?, minContextSlot?} | opt | answered from a cached copy that refreshes at most once every 600 s |

```
{"jsonrpc":"2.0","id":1,"method":"getLargestAccounts","params":[{"commitment":"finalized"}]}
```

**answer**: {context: {apiVersion, slot}, value: [{address, lamports}]}

**refuses**: 501 -32004 filter is set (circulating or nonCirculating); 400 -32600 sent in a batch

#### getRecentPerformanceSamples

5 credits · FREE 1/s, DEV 6/s, BUSINESS 20/s, PRO 100/s · batch

| param | type |   |   |
|---|---|---|---|
| limit | number | opt |  |

```
{"jsonrpc":"2.0","id":1,"method":"getRecentPerformanceSamples","params":[5]}
```

**answer**: [{numNonVoteTransactions, numSlots, numTransactions, samplePeriodSecs, slot}]

#### getTransactionCount

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

| param | type |   |   |
|---|---|---|---|
| config | {commitment?, minContextSlot?} | opt | minContextSlot is checked by the validator |

```
{"jsonrpc":"2.0","id":1,"method":"getTransactionCount","params":[]}
```

**answer**: number

#### getHighestSnapshotSlot

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

```
{"jsonrpc":"2.0","id":1,"method":"getHighestSnapshotSlot","params":[]}
```

**answer**: {full, incremental}

#### Slots and leaders

#### getSlot

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

| param | type |   |   |
|---|---|---|---|
| config | {commitment?, minContextSlot?} | opt |  |

```
{"jsonrpc":"2.0","id":1,"method":"getSlot","params":[]}
```

**answer**: u64 slot

#### getBlockHeight

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

| param | type |   |   |
|---|---|---|---|
| config | {commitment?, minContextSlot?} | opt | minContextSlot is checked by the validator |

```
{"jsonrpc":"2.0","id":1,"method":"getBlockHeight","params":[]}
```

**answer**: number

#### getSlotLeader

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

| param | type |   |   |
|---|---|---|---|
| config | {commitment?, minContextSlot?} | opt | minContextSlot is checked by the validator |

```
{"jsonrpc":"2.0","id":1,"method":"getSlotLeader","params":[]}
```

**answer**: string

#### getSlotLeaders

10 credits · FREE 1/s, DEV 6/s, BUSINESS 20/s, PRO 100/s · batch

| param | type |   |   |
|---|---|---|---|
| startSlot | u64 | req |  |
| limit | number | req |  |

```
{"jsonrpc":"2.0","id":1,"method":"getSlotLeaders","params":["<slot>",3]}
```

**answer**: [string]

#### getLeaderSchedule

10 credits · FREE 1/s, DEV 6/s, BUSINESS 20/s, PRO 100/s · batch

| param | type |   |   |
|---|---|---|---|
| slot | u64 or null | opt |  |
| config | {commitment?} | opt |  |

```
{"jsonrpc":"2.0","id":1,"method":"getLeaderSchedule","params":[null,{"commitment":"finalized"}]}
```

**answer**: {\<pubkey>: [number]}

#### getBlockProduction

5 credits · FREE 1/s, DEV 6/s, BUSINESS 20/s, PRO 100/s · batch

| param | type |   |   |
|---|---|---|---|
| config | {commitment?, identity?, range?} | opt | range: {firstSlot: u64, lastSlot?: u64} |

```
{"jsonrpc":"2.0","id":1,"method":"getBlockProduction","params":[]}
```

**answer**: {context: {apiVersion, slot}, value: {byIdentity: {\<pubkey>: [number]}, range: {firstSlot, lastSlot}}}

#### getMaxRetransmitSlot

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

```
{"jsonrpc":"2.0","id":1,"method":"getMaxRetransmitSlot","params":[]}
```

**answer**: number

#### getMaxShredInsertSlot

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

```
{"jsonrpc":"2.0","id":1,"method":"getMaxShredInsertSlot","params":[]}
```

**answer**: number

#### minimumLedgerSlot

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

```
{"jsonrpc":"2.0","id":1,"method":"minimumLedgerSlot","params":[]}
```

**answer**: number

#### getFirstAvailableBlock

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

```
{"jsonrpc":"2.0","id":1,"method":"getFirstAvailableBlock","params":[]}
```

**answer**: number

#### Blocks and blockhash

#### getLatestBlockhash

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

| param | type |   |   |
|---|---|---|---|
| config | {commitment?, minContextSlot?} | opt |  |

```
{"jsonrpc":"2.0","id":1,"method":"getLatestBlockhash","params":[{"commitment":"finalized"}]}
```

**answer**: {context: {slot}, value}

#### isBlockhashValid

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

| param | type |   |   |
|---|---|---|---|
| blockhash | base58 string | req |  |
| config | {commitment?, minContextSlot?} | opt |  |

```
{"jsonrpc":"2.0","id":1,"method":"isBlockhashValid","params":["<blockhash>",{"commitment":"finalized"}]}
```

**answer**: {context: {slot}, value}

#### getBlock

70 credits · FREE 0.048/s, DEV 0.24/s, BUSINESS 1/s, PRO 5/s · batch

| param | type |   |   |
|---|---|---|---|
| slot | u64 | req |  |
| config | {commitment?, encoding?, transactionDetails?, rewards?, maxSupportedTransactionVersion?} | opt | transactionDetails: full, accounts, signatures or none |

```
{"jsonrpc":"2.0","id":1,"method":"getBlock","params":["<slot>",{"encoding":"json","maxSupportedTransactionVersion":1,"transactionDetails":"none","rewards":false}]}
```

**answer**: {blockHeight, blockTime, blockhash, parentSlot, previousBlockhash}

#### getBlocks

55 credits · FREE 0.5/s, DEV 3/s, BUSINESS 5/s, PRO 20/s · batch

| param | type |   |   |
|---|---|---|---|
| startSlot | u64 | req |  |
| endSlot | u64 | opt |  |
| config | {commitment?} | opt |  |

```
{"jsonrpc":"2.0","id":1,"method":"getBlocks","params":["<slot-8>","<slot>"]}
```

**answer**: [number]

#### getBlocksWithLimit

55 credits · FREE 0.5/s, DEV 3/s, BUSINESS 5/s, PRO 20/s · batch

| param | type |   |   |
|---|---|---|---|
| startSlot | u64 | req |  |
| limit | u64 | req |  |
| config | {commitment?} | opt |  |

```
{"jsonrpc":"2.0","id":1,"method":"getBlocksWithLimit","params":["<slot>",8]}
```

**answer**: [number]

#### getBlockTime

5 credits · FREE 1/s, DEV 6/s, BUSINESS 20/s, PRO 100/s · batch

| param | type |   |   |
|---|---|---|---|
| slot | u64 | req |  |

```
{"jsonrpc":"2.0","id":1,"method":"getBlockTime","params":["<slot>"]}
```

**answer**: number

#### getBlockCommitment

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

| param | type |   |   |
|---|---|---|---|
| slot | u64 | req |  |

```
{"jsonrpc":"2.0","id":1,"method":"getBlockCommitment","params":["<slot>"]}
```

**answer**: {commitment, totalStake}

#### Accounts and programs

#### getAccountInfo

15 credits · FREE 0.5/s, DEV 15/s, BUSINESS 50/s, PRO 400/s · batch

| param | type |   |   |
|---|---|---|---|
| address | pubkey | req |  |
| config | {commitment?, encoding?, dataSlice?, minContextSlot?} | opt | dataSlice: {offset: u64, length: u64} |

```
{"jsonrpc":"2.0","id":1,"method":"getAccountInfo","params":["EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",{"encoding":"base64"}]}
```

**answer**: {context, value}

**refuses**: 501 -32004 encoding jsonParsed together with dataSlice

#### getMultipleAccounts

10 an account, plus 5 a call · FREE 0.5/s, DEV 15/s, BUSINESS 50/s, PRO 400/s · batch

| param | type |   |   |
|---|---|---|---|
| addresses | pubkey[] | req | at most 300 |
| config | {commitment?, encoding?, dataSlice?, minContextSlot?} | opt |  |

```
{"jsonrpc":"2.0","id":1,"method":"getMultipleAccounts","params":[["EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"],{"encoding":"base64"}]}
```

**answer**: {context, value}

**refuses**: 501 -32004 encoding jsonParsed together with dataSlice

#### getBalance

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

| param | type |   |   |
|---|---|---|---|
| address | pubkey | req |  |

```
{"jsonrpc":"2.0","id":1,"method":"getBalance","params":["5tzFkiKscXHK5ZXCGbXZxdw7gTjjD1mBwuoFbhUvuAi9"]}
```

**answer**: {context: {slot}, value}

#### getMinimumBalanceForRentExemption

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

| param | type |   |   |
|---|---|---|---|
| dataLength | u64 | req | account size in bytes |
| config | {commitment?} | opt |  |

```
{"jsonrpc":"2.0","id":1,"method":"getMinimumBalanceForRentExemption","params":[128]}
```

**answer**: number

#### getProgramAccounts

505 credits · FREE 0.004/s, DEV 0.03/s, BUSINESS 50/s, PRO 100/s

| param | type |   |   |
|---|---|---|---|
| program | pubkey | req | must be on the provisioned list |
| config | {commitment?, encoding?, dataSlice?, minContextSlot?, filters?, withContext?} | opt | filters: one dataSize plus memcmp |

```
{"jsonrpc":"2.0","id":1,"method":"getProgramAccounts","params":["TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",{"encoding":"base64","filters":[{"dataSize":165},{"memcmp":{"offset":32,"bytes":"D1HdVBH5Ya9qrDwJdtuEPmDXy6YuzsueNFH5ggKu5DMt"}}]}]}
```

**answer**: [{account: {data: [string], executable, lamports, owner, rentEpoch, space}, pubkey}]

**refuses**: 200 -32010 program not provisioned; 429 -32010 scan index temporarily unavailable; 400 -32600 sent in a batch; 501 -32004 sortResults is set, or an encoding not served

#### Tokens

#### getTokenSupply

15 credits · FREE 0.5/s, DEV 15/s, BUSINESS 50/s, PRO 400/s · batch

| param | type |   |   |
|---|---|---|---|
| mint | pubkey | req |  |

```
{"jsonrpc":"2.0","id":1,"method":"getTokenSupply","params":["EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"]}
```

**answer**: {context: {apiVersion, slot}, value: {amount, decimals, uiAmount, uiAmountString}}

#### getTokenAccountBalance

15 credits · FREE 0.5/s, DEV 15/s, BUSINESS 50/s, PRO 400/s · batch

| param | type |   |   |
|---|---|---|---|
| account | pubkey | req | a token account |

```
{"jsonrpc":"2.0","id":1,"method":"getTokenAccountBalance","params":["EUuUbDcafPrmVTD5M6qoJAoyyNbihBhugADAxRMn5he9"]}
```

**answer**: {context: {apiVersion, slot}, value: {amount, decimals, uiAmount, uiAmountString}}

#### getTokenAccountsByOwner

205 + 10 a row past 20 · FREE 0.01/s, DEV 0.075/s, BUSINESS 125/s, PRO 250/s

| param | type |   |   |
|---|---|---|---|
| owner | pubkey | req |  |
| filter | {mint} or {programId} | req | exactly one of the two, a pubkey |
| config | {commitment?, encoding?, dataSlice?, minContextSlot?} | opt | encoding: base58, base64, base64+zstd or jsonParsed |

```
{"jsonrpc":"2.0","id":1,"method":"getTokenAccountsByOwner","params":["<owner>",{"mint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},{"encoding":"base64"}]}
```

**answer**: {context: {apiVersion, slot}, value: [{account: {data: [string], executable, lamports, owner, rentEpoch, space}, pubkey}]}

**refuses**: 200 -32010 program not provisioned; 429 -32010 scan index temporarily unavailable; 400 -32600 sent in a batch; 501 -32004 a commitment or encoding not served

#### getTokenAccountsByDelegate

205 + 10 a row past 20 · FREE 0.01/s, DEV 0.075/s, BUSINESS 125/s, PRO 250/s

| param | type |   |   |
|---|---|---|---|
| delegate | pubkey | req |  |
| filter | {mint} or {programId} | req | exactly one of the two, a pubkey |
| config | {commitment?, encoding?, dataSlice?, minContextSlot?} | opt | encoding: base58, base64, base64+zstd or jsonParsed |

```
{"jsonrpc":"2.0","id":1,"method":"getTokenAccountsByDelegate","params":["<delegate>",{"mint":"<mint>"},{"encoding":"base64"}]}
```

**answer**: {context: {apiVersion, slot}, value: [{account: {data: [string], executable, lamports, owner, rentEpoch, space}, pubkey}]}

**refuses**: 200 -32010 program not provisioned; 429 -32010 scan index temporarily unavailable; 400 -32600 sent in a batch; 501 -32004 a commitment or encoding not served

#### Transactions and history

#### getTransaction

55 credits · FREE 0.24/s, DEV 1.2/s, BUSINESS 5/s, PRO 25/s · batch

| param | type |   |   |
|---|---|---|---|
| signature | string | req |  |
| config | {commitment?, encoding?, maxSupportedTransactionVersion?} | opt | maxSupportedTransactionVersion up to 255 |

```
{"jsonrpc":"2.0","id":1,"method":"getTransaction","params":["<signature>",{"encoding":"json","maxSupportedTransactionVersion":1}]}
```

**answer**: {blockTime, meta, slot, transaction, transactionIndex, version}

#### getSignaturesForAddress

55 credits · FREE 0.24/s, DEV 1.2/s, BUSINESS 100/s, PRO 500/s · batch

| param | type |   |   |
|---|---|---|---|
| address | pubkey | req |  |
| config | {limit?, before?} | opt | before: a signature cursor |

```
{"jsonrpc":"2.0","id":1,"method":"getSignaturesForAddress","params":["EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",{"limit":10}]}
```

**answer**: [{blockTime, confirmationStatus, err, memo, signature, slot, transactionIndex}]

#### getTransactionsForAddress

55, a walk 50 an upstream call past the first · FREE 0.24/s, DEV 1.2/s, BUSINESS 5/s, PRO 25/s · batch

| param | type |   |   |
|---|---|---|---|
| address | pubkey | req | full, asc or any filter makes it a walk |
| config.limit | u64 | opt | 1 to 1000, default 1000 |
| config.transactionDetails | string | opt | "full" returns whole transactions, as a walk |
| config.sortOrder | "asc" \| "desc" | opt | desc by default; asc needs a lower slot bound |
| config.paginationToken | string | opt | from the previous answer |
| config.commitment | string | opt |  |
| config.minContextSlot | u64 | opt |  |
| config.encoding | string | opt | default json |
| config.maxSupportedTransactionVersion | u64 | opt |  |
| config.filters.slot | {gte?, gt?, lte?, lt?, eq?} | opt |  |
| config.filters.blockTime | {gte?, gt?, lte?, lt?, eq?} | opt |  |
| config.filters.status | "succeeded" \| "failed" | opt |  |
| config.filters.tokenAccounts | "balanceChanged" \| "all" | opt | a walk: 50 credits each upstream call |
| config.filters.tokenTransfer | {with?, mint?, direction?, amount?} | opt | direction: in, out or any |

```
{"jsonrpc":"2.0","id":1,"method":"getTransactionsForAddress","params":["<token account>",{"limit":100}]}
```

**answer**: {data: [...], paginationToken, historyFloor?, droppedRows?}

**refuses**: -32602 sortOrder asc with no lower slot bound; -32602 filters.signature is set; -32602 sortOrder asc with a token filter; -32602 an asc walk stopped before its slot floor

#### getSignatureStatuses

5 credits · FREE 1/s, DEV 6/s, BUSINESS 20/s, PRO 100/s · batch

| param | type |   |   |
|---|---|---|---|
| signatures | string[] | req |  |
| config | {searchTransactionHistory?} | opt |  |

```
{"jsonrpc":"2.0","id":1,"method":"getSignatureStatuses","params":[["<signature>"],{"searchTransactionHistory":true}]}
```

**answer**: {context: {apiVersion, slot}, value: [{confirmationStatus, confirmations, err, slot, status: {Ok}}]}

#### Send and fees

#### sendTransaction

20 bare, 75 with preflight · FREE 0.25/s, DEV 1.5/s, BUSINESS 5/s, PRO 25/s · batch

| param | type |   |   |
|---|---|---|---|
| transaction | base64 string | req | signed |
| config | {encoding?, skipPreflight?} | opt | skipPreflight true is the 20 credit send |

```
{"jsonrpc":"2.0","id":1,"method":"sendTransaction","params":["<base64 signed transaction>",{"encoding":"base64","skipPreflight":true}]}
```

**answer**: signature string

#### simulateTransaction

55 credits · FREE 0.5/s, DEV 1.2/s, BUSINESS 1.5/s, PRO 5/s · batch

| param | type |   |   |
|---|---|---|---|
| transaction | base64 string | req |  |
| config | {encoding?, sigVerify?, replaceRecentBlockhash?, commitment?} | opt |  |

```
{"jsonrpc":"2.0","id":1,"method":"simulateTransaction","params":["<base64 transaction>",{"encoding":"base64","sigVerify":false,"replaceRecentBlockhash":true,"commitment":"processed"}]}
```

**answer**: {context, value: {err, logs, unitsConsumed, ...}}

#### getFeeForMessage

1 credit · FREE 5/s, DEV 30/s, BUSINESS 100/s, PRO 500/s · batch

| param | type |   |   |
|---|---|---|---|
| message | base64 string | req | a compiled message |
| config | {commitment?, minContextSlot?} | opt |  |

```
{"jsonrpc":"2.0","id":1,"method":"getFeeForMessage","params":["<base64 message>",{"commitment":"finalized"}]}
```

**answer**: {context: {slot}, value}

#### getRecentPrioritizationFees

5 credits · FREE 1/s, DEV 6/s, BUSINESS 20/s, PRO 100/s · batch

| param | type |   |   |
|---|---|---|---|
| addresses | pubkey[] or null | opt | the only param |

```
{"jsonrpc":"2.0","id":1,"method":"getRecentPrioritizationFees","params":[["EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"]]}
```

**answer**: [{prioritizationFee, slot}]

**refuses**: 200 -32602 a percentile is sent; use getPriorityFeeEstimate or qn_estimatePriorityFees

#### getPriorityFeeEstimate

5 credits · FREE 1/s, DEV 6/s, BUSINESS 20/s, PRO 100/s

| param | type |   |   |
|---|---|---|---|
| accountKeys | pubkey[] | opt | at most 128 |
| transaction | string | opt | read when accountKeys is absent |
| options.priorityLevel | string | opt | Min, Low, Medium, High, VeryHigh or UnsafeMax |
| options.includeAllPriorityFeeLevels | bool | opt | adds priorityFeeLevels |
| options.recommended | bool | opt | reads the 75th percentile |
| options.lookbackSlots | u64 | opt | at most 150 |
| options.transactionEncoding | "base58" \| "base64" | opt | how transaction is encoded, default base58 |

```
{"jsonrpc":"2.0","id":1,"method":"getPriorityFeeEstimate","params":[{"accountKeys":["EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"],"options":{"includeAllPriorityFeeLevels":true}}]}
```

**answer**: {priorityFeeEstimate, priorityFeeLevels?: {min, low, medium, high, veryHigh, unsafeMax}}

**refuses**: 400 -32602 sent in a batch; 400 -32602 accountKeys over 128 or not pubkeys; 400 -32602 priorityLevel is not one of the six; 400 -32602 transaction does not decode

#### qn_estimatePriorityFees

5 credits · FREE 1/s, DEV 6/s, BUSINESS 20/s, PRO 100/s

| param | type |   |   |
|---|---|---|---|
| last_n_blocks | u64 | opt | at most 150 |
| account | pubkey | opt |  |
| api_version | u64 | opt |  |

```
{"jsonrpc":"2.0","id":1,"method":"qn_estimatePriorityFees","params":[{"last_n_blocks":100,"account":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","api_version":2}]}
```

**answer**: {context: {slot}, per_compute_unit: {extreme, high, medium, low, percentiles}, per_transaction: {...}, recommended}

**refuses**: 400 -32602 sent in a batch; 400 -32602 account is not a pubkey

#### Not served



| method | answer |   | instead |
|---|---|---|---|
| requestAirdrop | 200 -32601 | A devnet faucet call; mainnet has no faucet | a devnet faucet |
| getTokenLargestAccounts | 200 -32601 | Its top holder list cannot be proven correct | getTokenAccountsByOwner |
| getProgramAccountsV2 | 200 -32601 | Its page cursors were retired | getProgramAccounts |
| voteSubscribe | 200 -32601 | Alpenglow removes vote transactions from blocks | blockSubscribe |
