> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corbits.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Triton

> Access Solana RPC via Triton through Corbits — pay-per-request with no API key required

## Overview

The Triton proxy provides pay-per-request access to a Solana RPC node operated by [Triton](https://triton.one). Query balances, transactions, blocks, and any other Solana RPC method. No account or API key required.

|                    |                                  |
| ------------------ | -------------------------------- |
| **Proxy URL**      | `https://triton.api.corbits.dev` |
| **Proxy ID**       | `9`                              |
| **Default price**  | \$0.01 per request               |
| **Pricing scheme** | Exact                            |

## Quick start

Install the payment SDK and query a Solana account balance:

```javascript theme={null}
import { payer } from "@faremeter/rides";

// Load your Solana keypair
await payer.addLocalWallet(process.env.PAYER_KEYPAIR);

const response = await payer.fetch("https://triton.api.corbits.dev", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    Accept: "application/json",
  },
  body: JSON.stringify({
    jsonrpc: "2.0",
    id: 1,
    method: "getBalance",
    params: ["YOUR_SOLANA_ADDRESS"],
  }),
});

const data = await response.json();
console.log("Balance:", data.result.value / 1e9, "SOL");
```

## Common RPC methods

| Method                    | Description                          |
| ------------------------- | ------------------------------------ |
| `getBalance`              | Get the SOL balance for an account   |
| `getBlockHeight`          | Get the current block height         |
| `getTransaction`          | Get transaction details by signature |
| `getAccountInfo`          | Get account data and metadata        |
| `getSlot`                 | Get the current slot                 |
| `getLatestBlockhash`      | Get the latest blockhash             |
| `getTokenAccountsByOwner` | Get SPL token accounts for a wallet  |
| `sendTransaction`         | Submit a signed transaction          |

<Note>
  This proxy supports the full [Solana JSON-RPC API](https://solana.com/docs/rpc). All standard RPC methods are available through the proxy URL.
</Note>

## Discover this merchant

Query the Discovery API to get live details about this proxy:

```bash theme={null}
# Search for this proxy
curl "https://api.corbits.dev/api/v1/search?q=triton"

# Get proxy details
curl "https://api.corbits.dev/api/v1/proxies/9"

# List endpoints
curl "https://api.corbits.dev/api/v1/proxies/9/endpoints"
```

## Notes

* Requests use the standard Solana JSON-RPC format — a POST with `jsonrpc`, `method`, and `params` fields.
* All requests go to the root proxy URL (no path). The RPC method is specified in the request body.
* Payment is handled at the proxy layer via x402 — the `@faremeter/rides` SDK manages the challenge/response cycle automatically.
