Skip to main content
Four ways in, all to the same place. They can be mixed. Each takes a fully signed legacy, v0 or v1 transaction that pays a tip to one of our tip accounts. The examples below send with no key; to add yours, see Authentication.

JSON-RPC

POST / speaks the JSON-RPC of a Solana RPC node for these methods:
  • encoding is base64 or base58. As on an RPC node, it is base58 when you leave it out. Send base64: it is smaller and faster to read. Base58 is accepted for transactions of up to 1,232 bytes.
  • bundleOnly: true sends your transaction only inside bundles (bundleOnly).
  • skipPreflight, maxRetries, preflightCommitment and minContextSlot are accepted and ignored. We never simulate.
  • A batch, a JSON array of up to 32 calls, is answered as a batch: one answer per call.
  • Any other method answers -32601 (method not found). Keep reads and confirmations on your own RPC node.
With @solana/web3.js, use a second Connection for sends only. sendRawTransaction sends base64 by itself:

Jito-compatible paths

POST /api/v1/transactions and POST /api/v1/bundles answer the same JSON-RPC as POST /, at the paths of Jito’s block engine. A client built on Jito’s SDKs switches by changing its base URL to https://sender.tracefall.xyz.
  • ?bundleOnly=true on /api/v1/transactions sends with bundleOnly.
  • Your transactions still tip one of our tip accounts. A Jito tip alone is refused with tip_missing.
  • Methods we do not serve, such as getBundleStatuses, answer -32601. The bundle id sendBundle answers identifies the bundle to us only (Bundles).

Fast path

POST /v1/tx is the least there is to send. The body is the signed transaction, and nothing else is needed.
  • The body is the transaction’s raw bytes, or the same in base64. We tell them apart ourselves: no Content-Type is read.
  • A key goes in the URL, ?api-key=<key>, so that no header is needed. ?bundle-only=true sends it only inside bundles.
  • The answer is a status and one word, as text: 200 accepted, 200 duplicate, or a refusal’s code alone under its status, such as 400 tip_too_small or 429 rate_limited (Errors). It holds no JSON, no message and no signature: you have your transaction’s.
  • The rate headers come with every answer once your rate is checked, and a web page may read them (Limits).
From a web page, use this one. A browser asks the server first (a CORS preflight, one more round trip) before a request with an Authorization header or a JSON or binary content type. A POST with no header of your own is not asked about. A key in a web page is public: send keyless from a page, or with a key limited per visitor address (Keys in a web page).

REST

POST /v1/transactions takes one transaction, as raw bytes or as JSON.
status is accepted, or duplicate when we already took this signature (Sending again). With raw bytes, ?bundle-only=true sends it only inside bundles. A refusal answers an HTTP status and an error object, with the transaction’s signature beside it when we could read one:

WebSocket

Connect once to wss://sender.tracefall.xyz/v1/ws, with your key in a header or as ?api-key=<key>, and send one message per transaction. A message is one of:
  • a text frame with JSON: {"id": 1, "transaction": "<base64 transaction>", "bundleOnly": false}. id is echoed in the answer, so you can match answers to requests. It may be a number or a string. bundleOnly may be left out.
  • a binary frame holding the raw transaction. Its answer has "id": null.
  • a text frame with a JSON-RPC call, answered as JSON-RPC.
Every message gets exactly one answer, in the order the messages were read:
  • We ping every 30 seconds; standard clients answer by themselves. A connection with no frame for 120 seconds is closed. Reconnect and carry on.
  • A message is held to the sizes of a request body (Limits).
  • If your key is revoked, the next message is answered unauthorized.

v1 and durable-nonce transactions

Both are accepted, and both travel on fewer paths than other transactions:
  • v1 transactions go only on the paths confirmed to take them, which may be RPC nodes alone. One larger than 1,232 bytes is never sent straight to leaders. Sent with bundleOnly when no bundle can carry it, a v1 transaction is refused with bundle_unavailable.
  • Durable-nonce transactions are not carried in the bundles we send for you: they go out as plain copies. Sent with bundleOnly, one is refused with nonce_not_bundled.
The status lookup shows which paths a transaction took.