Skip to main content

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

MethodDescription
sendTransactionSubmit a single signed transaction (custom, tip-routed)
sendBundleSubmit a Jito-compatible bundle (custom, auto-tipped)
simulateTransactionSimulate a transaction without submitting it
getSignatureStatusGet the status of a single transaction signature
getSignatureStatusesGet statuses for multiple transaction signatures
getTransactionFetch full transaction details by signature
getSignaturesForAddressGet recent signatures for a wallet address

Account Methods

MethodDescription
getAccountInfoGet account data and balance for a public key
getMultipleAccountsGet account data for multiple public keys
getProgramAccountsGet all accounts owned by a program
getTokenAccountBalanceGet SPL token balance for a token account
getTokenAccountsByOwnerGet all token accounts for a wallet (by owner)
getTokenLargestAccountsGet largest token accounts by balance (for a mint)
getTokenSupplyGet total supply of an SPL token

Block & Slot Methods

MethodDescription
getBlockGet block details (transactions, blockhash, etc.)
getBlocksGet a range of confirmed block slot numbers
getBlockHeightGet the current block height
getSlotGet the current slot number
getSlotLeaderGet the leader for the current slot
getSlotLeadersGet leaders for a range of slots

Cluster & Network Methods

MethodDescription
getClusterNodesGet info on all cluster nodes (validators)
getEpochScheduleGet the epoch schedule (slots per epoch, etc.)
getLeaderScheduleGet the leader schedule for an epoch
getLatestBlockhashGet the latest blockhash (for transactions)
getRecentBlockhashGet 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:
CodeMeaning
-32700Parse error (invalid JSON)
-32600Invalid Request
-32601Method not found
-32602Invalid params
-32603Internal error
-32000 to -32099Server 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