JSON-RPC
Standard Solana JSON-RPC transaction submission through Nozomi.
Last updated
Standard Solana JSON-RPC transaction submission through Nozomi.
The standard way to send transactions through Nozomi. Compatible with any Solana client: just replace your RPC URL with the Nozomi endpoint.
Method
POST
Path
/?c=<YOUR_API_KEY>
Content-Type
application/json
Encoding
base64 (must be specified)
Important: Solana defaults to base58 encoding. You must explicitly set "encoding": "base64" or you will get malformed transaction errors.
{
"jsonrpc": "2.0",
"id": 1,
"method": "sendTransaction",
"params": [
"<YOUR_BASE_64_ENCODED_TXN_BYTES>",
{ "encoding": "base64" }
]
}Returns the transaction signature as a JSON-RPC result on success.
Use JSON-RPC when you want a drop-in replacement for your existing Solana RPC. It returns a transaction signature and works with standard Solana client libraries.
For lower latency in browser clients or performance-sensitive backends, consider API v2 instead.
Last updated
{
"jsonrpc": "2.0",
"id": 1,
"result": "<TRANSACTION_SIGNATURE>"
}
