Documentation Index
Fetch the complete documentation index at: https://docs.raze.bot/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Raze gateway transparently proxies all standard Solana JSON-RPC methods to a load-balanced pool of upstream validators. Beyond the custom methods (sendTransaction, sendBundle), you can use any method from the Solana JSON-RPC API.
Base URL: Any regional gateway endpoint
https://ca.raze.sh (Canada)
https://fr.raze.sh (Frankfurt)
https://sg.raze.sh (Singapore)
- And 5 others (see all regions)
Transaction Methods
| Method | Description |
|---|
| sendTransaction | Submit a single signed transaction (custom, tip-routed) |
| sendBundle | Submit a Jito-compatible bundle (custom, auto-tipped) |
| simulateTransaction | Simulate a transaction without submitting it |
| getSignatureStatus | Get the status of a single transaction signature |
| getSignatureStatuses | Get statuses for multiple transaction signatures |
| getTransaction | Fetch full transaction details by signature |
| getSignaturesForAddress | Get recent signatures for a wallet address |
Account Methods
| Method | Description |
|---|
| getAccountInfo | Get account data and balance for a public key |
| getMultipleAccounts | Get account data for multiple public keys |
| getProgramAccounts | Get all accounts owned by a program |
| getTokenAccountBalance | Get SPL token balance for a token account |
| getTokenAccountsByOwner | Get all token accounts for a wallet (by owner) |
| getTokenLargestAccounts | Get largest token accounts by balance (for a mint) |
| getTokenSupply | Get total supply of an SPL token |
Block & Slot Methods
| Method | Description |
|---|
| getBlock | Get block details (transactions, blockhash, etc.) |
| getBlocks | Get a range of confirmed block slot numbers |
| getBlockHeight | Get the current block height |
| getSlot | Get the current slot number |
| getSlotLeader | Get the leader for the current slot |
| getSlotLeaders | Get leaders for a range of slots |
Cluster & Network Methods
| Method | Description |
|---|
| getClusterNodes | Get info on all cluster nodes (validators) |
| getEpochSchedule | Get the epoch schedule (slots per epoch, etc.) |
| getLeaderSchedule | Get the leader schedule for an epoch |
| getLatestBlockhash | Get the latest blockhash (for transactions) |
| getRecentBlockhash | Get a recent blockhash (legacy, use getLatestBlockhash) |
Usage Example
All methods use standard Solana JSON-RPC 2.0 format:
curl -X POST https://fr.raze.sh \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "getBalance",
"params": ["11111111111111111111111111111112"]
}'
Response:
{
"jsonrpc": "2.0",
"result": {
"context": {"slot": 12345},
"value": 500000000
},
"id": 1
}
Method Categories
The gateway intelligently routes requests based on method category:
Write Methods
Transactions and simulations are prioritized for low latency:
sendTransaction (custom, tip-routed)
sendBundle (custom, Jito-compatible)
simulateTransaction
High-Reliability Methods
Critical methods are fanned out to multiple endpoints for maximum uptime:
- Signature confirmation (
getSignatureStatus, getSignatureStatuses)
- Transaction lookup (
getTransaction)
- Block queries (
getBlock, getBlocks)
- Cluster info (
getSlotLeader, getSlotLeaders, getClusterNodes, getLeaderSchedule, getEpochSchedule)
Token Index Methods
Some methods rely on optional validator indexes that not all RPC endpoints have. Raze automatically fans out these requests across multiple endpoints and unions the results:
getTokenAccountsByOwner (returns all accounts, not partial)
getTokenLargestAccounts
Error Handling
All methods return standard JSON-RPC error codes:
| Code | Meaning |
|---|
-32700 | Parse error (invalid JSON) |
-32600 | Invalid Request |
-32601 | Method not found |
-32602 | Invalid params |
-32603 | Internal error |
-32000 to -32099 | Server errors (RPC endpoint failures, etc.) |
Rate Limits
Default rate limit: 250 requests per second per relay.
Use the portal (my.raze.bot) to upgrade and get higher limits on your API key.
See Also