# Soyas documentation > Every page of https://soyas.xyz/docs/ in English, in the order of its sidebar. # Overview Source: https://soyas.xyz/docs/ Soyas runs two Solana services: TX Landing and Shredstream. ## TX Landing Send signed transactions to a Soyas relay over HTTP or QUIC; the relay forwards them unchanged to the current and upcoming leaders. A relay also takes atomic bundles of 1 to 4 transactions, over HTTP. Relays run in Frankfurt (two), Amsterdam, New York, London and Tokyo. Product overview: [soyas.xyz/fast-landing](https://soyas.xyz/fast-landing). - [Quickstart](/docs/tx-landing/): from API key to sent transaction. - [Sending methods](/docs/tx-landing/sending-methods/): what a relay takes and the ways to send it. - Transaction submission over [HTTP](/docs/tx-landing/http/) or [QUIC](/docs/tx-landing/quic/), and [bundle submission](/docs/tx-landing/bundles/), each with code in Rust, Go and Python. - [Endpoints and tip accounts](/docs/tx-landing/endpoints/). - [Rate limits](/docs/tx-landing/rate-limits/), [Errors](/docs/tx-landing/errors/). ## Shredstream A subscription is one region, one IPv4 address and one UDP port; data is sent from Soyas to that address only. Paid in SOL, per day, week or 30 days. See [Shredstream](/docs/shredstream/) or the product overview at [soyas.xyz/shredstream](https://soyas.xyz/shredstream). See also technical articles on Solana SWQoS and shreds on the [Soyas Blog](https://soyas.xyz/blog). ## For agents Every page is also served as Markdown: replace the trailing slash with `.md`, for example [`/docs/tx-landing/http.md`](/docs/tx-landing/http.md) (a section's first page is `index.md`). [`/llms.txt`](/llms.txt) lists the pages; [`/llms-full.txt`](/llms-full.txt) holds the English docs in one file. --- # Quickstart Source: https://soyas.xyz/docs/tx-landing/ From an API key to a sent transaction, over HTTP with curl. ## 1. Get a key Sign up at [soyas.xyz/register](https://soyas.xyz/register), verify your email, then generate a key under TX Landing in the dashboard. It reaches every relay within about 60 seconds. ```sh export SOYAS_API_KEY='' ``` ## 2. Pick an endpoint | Region | QUIC (UDP 9000) | HTTP (TCP 80) | Data centre | | --- | --- | --- | --- | | Frankfurt | `fra.landing.soyas.xyz:9000` | `http://fra.landing.soyas.xyz` | Teraswitch | | Frankfurt 2 | `fra2.landing.soyas.xyz:9000` | `http://fra2.landing.soyas.xyz` | Allnodes | | Amsterdam | `ams.landing.soyas.xyz:9000` | `http://ams.landing.soyas.xyz` | Teraswitch | | New York | `nyc.landing.soyas.xyz:9000` | `http://nyc.landing.soyas.xyz` | Teraswitch | | London | `lon.landing.soyas.xyz:9000` | `http://lon.landing.soyas.xyz` | Teraswitch | | Tokyo | `tyo.landing.soyas.xyz:9000` | `http://tyo.landing.soyas.xyz` | Teraswitch | ## 3. Add the tip Add a top-level System Program transfer of at least 0.001 SOL (1,000,000 lamports) to any of these accounts, then sign. A higher tip gives broader coverage and a higher landing rate. The full rule is in [Endpoints and tip accounts](/docs/tx-landing/endpoints/#tip-rule). | # | Tip account | | --- | --- | | 1 | `soyas4s6L8KWZ8rsSk1mF3d1mQScoTGGAgjk98bF8nP` | | 2 | `soyascXFW5wEEYiwfEmHy2pNwomqzvggJosGVD6TJdY` | | 3 | `soyasDBdKjADwPz3xk82U3TNPRDKEWJj7wWLajNHZ1L` | | 4 | `soyasE2abjBAynmHbGWgEwk4ctBy7JMTUCNrMbjcnyH` | | 5 | `soyasi59njacMUPvo3TM5paHjeK8pYSdovXgFi32gRt` | | 6 | `soyasQYhJxv8uZgWDxhg72td6piAf7XTkoyWHtSATEz` | | 7 | `soyastP66xyYC8XADXZjdMM5BAVGD2YRvz8dwtLsqb8` | | 8 | `soyasvdgUJWYcUCzDxpmjUnNjH7KamXLXTzLwFvdVPE` | | 9 | `soyasvxAunisNxaoRxkKGjNir7KmbwYnr37JmefkX9G` | | 10 | `soyas5doVFUwH8s5zK8gEvCL5KR5ogDmf52LsrJEZ9h` | ## 4. Send Serialize the signed transaction (legacy or v0: at most 1232 bytes) and encode it in standard base64 with padding: ```sh curl -sS http://fra.landing.soyas.xyz/v1/sendTransaction \ -H "api-key: $SOYAS_API_KEY" \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"sendTransaction","params":[""]}' ``` ```json {"jsonrpc":"2.0","id":1,"result":""} ``` Any other answer is listed in [Errors](/docs/tx-landing/errors/). The relay answers no read methods: check the signature with `getSignatureStatuses` on your own RPC node. ## Next - [Sending methods](/docs/tx-landing/sending-methods/): a transaction over HTTP or QUIC, or a bundle. - Code in Rust, Go and Python: transactions over [HTTP](/docs/tx-landing/http/) and [QUIC](/docs/tx-landing/quic/), and [bundles](/docs/tx-landing/bundles/). - [Rate limits](/docs/tx-landing/rate-limits/). --- # Sending methods Source: https://soyas.xyz/docs/tx-landing/sending-methods/ The two things a relay takes, a transaction or a bundle, and the ways to send each. ## Transaction submission One signed transaction, forwarded unchanged to the current and upcoming leaders. | Method | Send to | Body | Answer on success | Choose it when | |---|---|---|---|---| | [HTTP JSON-RPC](/docs/tx-landing/http/#sendtransaction) | `/v1/sendTransaction` | JSON-RPC `sendTransaction`, the transaction in base64 | The signature | Your code already calls `sendTransaction` on an RPC node. | | [HTTP raw](/docs/tx-landing/http/#sendrawtransaction) | `/v1/sendRawTransaction` | The transaction's bytes, or the same in base64 text | The signature | You want a signature back without building JSON. | | [QUIC](/docs/tx-landing/quic/) | UDP port 9000 | One transaction per unidirectional stream or per datagram | None | You keep a connection open and need no answer per transaction. | HTTP is on TCP port 80 and takes your key in the `api-key` header. QUIC takes a client certificate made from your API key. ## Bundle submission 1 to 4 signed transactions that land atomically in order, or not at all. | Method | Send to | Body | Answer on success | |---|---|---|---| | [HTTP JSON-RPC](/docs/tx-landing/bundles/) | `/v1/sendBundle` | JSON-RPC `sendBundle`, 1 to 4 transactions in base64 | Their signatures, in order | Bundles need a [paid tier](/docs/tx-landing/rate-limits/#tiers). They are HTTP only, on the same port and with the same key; bundles over QUIC are not offered. ## Both - A legacy or v0 transaction is at most 1232 bytes, a v1 transaction at most 4096. - HTTP is plain: the key travels unencrypted, and HTTPS is not offered. QUIC runs over TLS. - A signature in an HTTP answer means the relay accepted the request, not that it landed. QUIC sends no acknowledgment, and drops a rejected transaction without a word. - The relay does not verify signatures or simulate, and does not deduplicate: a transaction or bundle sent twice is forwarded twice. - One [rate limit](/docs/tx-landing/rate-limits/) per relay, shared by transactions over HTTP, transactions over QUIC and bundles. One bundle counts as 1 TPS unit. --- # HTTP Source: https://soyas.xyz/docs/tx-landing/http/ Send a signed transaction in one HTTP/1.1 request; the relay answers as soon as it accepts it. ## Authentication Send your key in the `api-key` header of every request to a send route: ```http api-key: ``` - The key is the base58 secret key from your dashboard (TX Landing). It is also your [QUIC](/docs/tx-landing/quic/) client certificate's key. - The header is the only place the relay reads the key. A key in the URL (`?api-key=`) is not read. - A missing or unknown key answers `401` `{"error":"unauthorized"}`. A new key reaches each relay within about 60 seconds. - The relay listens on port 80 without TLS, so the key travels unencrypted. HTTPS is not offered; QUIC is encrypted. ## Routes | Route | Body | Key | |---|---|---| | `POST /v1/sendTransaction` | JSON-RPC `sendTransaction`, the transaction in base64 | yes | | `POST /v1/sendRawTransaction` | The transaction: bytes with `Content-Type: application/octet-stream`, or base64 with `Content-Type: text/plain` | yes | | `GET /ping` | None. Answers `200` `pong`. | no | Paths are exact and case-sensitive: any other path, `/` included, answers `404`. HTTP/2 is not offered. `/v1/sendTransaction` takes `sendTransaction` only; any other JSON-RPC method answers `400` with code `-32601`. The transaction must be signed and carry a [tip](/docs/tx-landing/endpoints/#tip-rule) of at least 0.001 SOL (1,000,000 lamports) (0.0005 SOL (500,000 lamports) on Pro and Scale). The examples use Frankfurt; any [endpoint](/docs/tx-landing/endpoints/) works. ## sendTransaction **curl** ```sh TX_BASE64='' curl http://fra.landing.soyas.xyz/v1/sendTransaction \ -H "api-key: $SOYAS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":1,"method":"sendTransaction","params":["'"$TX_BASE64"'"]}' ``` **Python** ```python import base64 import requests session = requests.Session() # keeps the connection open between requests # tx: the signed transaction's wire bytes (solders: bytes(tx)). def send_transaction(api_key: str, tx: bytes) -> str: resp = session.post( "http://fra.landing.soyas.xyz/v1/sendTransaction", headers={"api-key": api_key}, json={ "jsonrpc": "2.0", "id": 1, "method": "sendTransaction", "params": [base64.b64encode(tx).decode()], }, ) if resp.status_code != 200: raise RuntimeError(f"{resp.status_code}: {resp.text}") return resp.json()["result"] ``` **Go** ```go import ( "bytes" "encoding/base64" "encoding/json" "fmt" "net/http" ) // tx: the signed transaction's wire bytes (solana-go: tx.MarshalBinary()). func sendTransaction(apiKey string, tx []byte) (string, error) { body, _ := json.Marshal(map[string]any{ "jsonrpc": "2.0", "id": 1, "method": "sendTransaction", "params": []any{base64.StdEncoding.EncodeToString(tx)}, }) req, _ := http.NewRequest("POST", "http://fra.landing.soyas.xyz/v1/sendTransaction", bytes.NewReader(body)) req.Header.Set("api-key", apiKey) req.Header.Set("Content-Type", "application/json") resp, err := http.DefaultClient.Do(req) if err != nil { return "", err } defer resp.Body.Close() var out struct { Result string `json:"result"` Error json.RawMessage `json:"error"` } if json.NewDecoder(resp.Body).Decode(&out); out.Result == "" { return "", fmt.Errorf("%s: %s", resp.Status, out.Error) } return out.Result, nil } ``` **Rust** ```rust use base64::Engine as _; use serde_json::{json, Value}; use solana_sdk::transaction::VersionedTransaction; async fn send_transaction( http: &reqwest::Client, api_key: &str, tx: &VersionedTransaction, ) -> anyhow::Result { let tx_base64 = base64::engine::general_purpose::STANDARD.encode(bincode::serialize(tx)?); let resp = http .post("http://fra.landing.soyas.xyz/v1/sendTransaction") .header("api-key", api_key) .json(&json!({ "jsonrpc": "2.0", "id": 1, "method": "sendTransaction", "params": [tx_base64], })) .send() .await?; let status = resp.status(); let body: Value = resp.json().await.unwrap_or_default(); match body["result"].as_str() { Some(signature) => Ok(signature.to_string()), None => anyhow::bail!("{status}: {body}"), } } ``` - The transaction is base64 (standard alphabet, with padding); base58 is refused. Options (`skipPreflight`, `maxRetries`, ...) are ignored. `id` comes back unchanged. - One transaction per request: a batch (a JSON array) is refused. ## sendRawTransaction **curl** ```sh # tx.bin: your signed transaction, serialized curl http://fra.landing.soyas.xyz/v1/sendRawTransaction \ -H "api-key: $SOYAS_API_KEY" \ -H "Content-Type: application/octet-stream" \ --data-binary @tx.bin ``` **Python** ```python import requests session = requests.Session() # keeps the connection open between requests # tx: the signed transaction's wire bytes (solders: bytes(tx)). def send_raw_transaction(api_key: str, tx: bytes) -> str: resp = session.post( "http://fra.landing.soyas.xyz/v1/sendRawTransaction", headers={"api-key": api_key, "Content-Type": "application/octet-stream"}, data=tx, ) if resp.status_code != 200: raise RuntimeError(f"{resp.status_code}: {resp.text}") return resp.json()["signature"] ``` **Go** ```go import ( "bytes" "encoding/json" "fmt" "net/http" ) // tx: the signed transaction's wire bytes (solana-go: tx.MarshalBinary()). func sendRawTransaction(apiKey string, tx []byte) (string, error) { req, _ := http.NewRequest("POST", "http://fra.landing.soyas.xyz/v1/sendRawTransaction", bytes.NewReader(tx)) req.Header.Set("api-key", apiKey) req.Header.Set("Content-Type", "application/octet-stream") resp, err := http.DefaultClient.Do(req) if err != nil { return "", err } defer resp.Body.Close() var out struct { Signature string `json:"signature"` Error string `json:"error"` } if json.NewDecoder(resp.Body).Decode(&out); out.Signature == "" { return "", fmt.Errorf("%s: %s", resp.Status, out.Error) } return out.Signature, nil } ``` **Rust** ```rust use serde_json::Value; use solana_sdk::transaction::VersionedTransaction; async fn send_raw_transaction( http: &reqwest::Client, api_key: &str, tx: &VersionedTransaction, ) -> anyhow::Result { let resp = http .post("http://fra.landing.soyas.xyz/v1/sendRawTransaction") .header("api-key", api_key) .header("Content-Type", "application/octet-stream") .body(bincode::serialize(tx)?) .send() .await?; let status = resp.status(); let body: Value = resp.json().await.unwrap_or_default(); match body["signature"].as_str() { Some(signature) => Ok(signature.to_string()), None => anyhow::bail!("{status}: {body}"), } } ``` `Content-Type` is required. Parameters after `;` are ignored, and whitespace around a base64 body is trimmed. ## Response `200`, `Content-Type: application/json`: | Route | Body | |---|---| | `POST /v1/sendTransaction` | `{"jsonrpc":"2.0","id":1,"result":""}` | | `POST /v1/sendRawTransaction` | `{"signature":""}` | - The signature is the transaction's first signature, in base58, as it is in the bytes you sent. - A signature means the relay accepted the transaction and passed it on for sending, not that it landed. Check it on chain. - The relay does not verify signatures, check the blockhash or balance, or simulate. - The relay does not deduplicate: the same transaction sent twice is forwarded twice and counts twice against your [rate limit](/docs/tx-landing/rate-limits/). Every error status and body is on [Errors](/docs/tx-landing/errors/). ## Limits | What | Limit | |---|---| | Request body | 16384 bytes | | Transaction | 1232 bytes (legacy, v0), 4096 bytes (v1) | | Request headers | 16 KiB, at most 64 headers | | Request head, request body | 5 seconds each | | Idle connection | closed after 60 seconds | ## Keep-alive Open one persistent connection per endpoint and send every request on it. Send `GET /ping` (no key, not rate-limited) within 5 seconds of connecting and then more often than every 60 seconds, or the relay closes the connection. --- # QUIC Source: https://soyas.xyz/docs/tx-landing/quic/ Send transactions over QUIC on UDP port 9000, one unidirectional stream per transaction. | Setting | Value | |---|---| | Address | `:9000`, UDP, from [Endpoints](/docs/tx-landing/endpoints/) | | ALPN | `solana-tpu` | | Server name | `soyas-landing` (the relay does not check it) | | Client certificate | X.509, self-signed is fine, whose public key is your API key's Ed25519 public key; handshake signed with Ed25519 | | Server certificate | Self-signed; its DER SHA-256 is `quic.tlsCertSha256` in [endpoints.json](/docs/tx-landing/endpoints.json). The relay does not require you to verify it. | Your API key, from the dashboard, is never sent over QUIC: your client makes the certificate from it and signs the handshake with its secret key. The relay checks no certificate authority, only the key. ## Send **Rust** ```rust use anyhow::Context as _; use quinn::{crypto::rustls::QuicClientConfig, ClientConfig, Connection, Endpoint, IdleTimeout, TransportConfig}; use solana_sdk::signature::Keypair; use solana_tls_utils::{new_dummy_x509_certificate, SkipServerVerification}; use std::{net::ToSocketAddrs as _, sync::Arc, time::Duration}; const ALPN: &[u8] = b"solana-tpu"; const SERVER_NAME: &str = "soyas-landing"; const KEEP_ALIVE: Duration = Duration::from_secs(25); const IDLE_TIMEOUT: Duration = Duration::from_secs(30); // addr: "fra.landing.soyas.xyz:9000". api_key: the base58 keypair from the dashboard. async fn connect(addr: &str, api_key: &str) -> anyhow::Result { let _ = rustls::crypto::ring::default_provider().install_default(); // rustls needs one per process let (cert, key) = new_dummy_x509_certificate(&Keypair::from_base58_string(api_key)); let mut crypto = rustls::ClientConfig::builder() .dangerous() .with_custom_certificate_verifier(SkipServerVerification::new()) // the relay's certificate is self-signed .with_client_auth_cert(vec![cert], key)?; crypto.alpn_protocols = vec![ALPN.to_vec()]; let mut transport = TransportConfig::default(); transport.keep_alive_interval(Some(KEEP_ALIVE)); transport.max_idle_timeout(Some(IdleTimeout::try_from(IDLE_TIMEOUT)?)); let mut config = ClientConfig::new(Arc::new(QuicClientConfig::try_from(crypto)?)); config.transport_config(Arc::new(transport)); let mut endpoint = Endpoint::client("0.0.0.0:0".parse()?)?; endpoint.set_default_client_config(config); let addr = addr.to_socket_addrs()?.next().context("address not resolved")?; Ok(endpoint.connect(addr, SERVER_NAME)?.await?) } // One stream per transaction. tx: its wire bytes (bincode::serialize(&tx)?). async fn send(conn: &Connection, tx: &[u8]) -> anyhow::Result<()> { let mut stream = conn.open_uni().await?; stream.write_all(tx).await?; stream.finish()?; Ok(()) } ``` **Go** ```go import ( "context" "crypto/ed25519" "crypto/rand" "crypto/tls" "crypto/x509" "errors" "math/big" "time" "github.com/mr-tron/base58" "github.com/quic-go/quic-go" // v0.48 ) const ( alpn = "solana-tpu" serverName = "soyas-landing" keepAlive = 25 * time.Second idleTimeout = 30 * time.Second ) // addr: "fra.landing.soyas.xyz:9000". apiKey: the base58 keypair from the dashboard. func connect(ctx context.Context, addr, apiKey string) (quic.Connection, error) { raw, err := base58.Decode(apiKey) if err != nil || len(raw) != ed25519.PrivateKeySize { return nil, errors.New("the API key is not a base58 64-byte keypair") } key := ed25519.NewKeyFromSeed(raw[:ed25519.SeedSize]) template := &x509.Certificate{ SerialNumber: big.NewInt(1), NotBefore: time.Now().Add(-time.Hour), NotAfter: time.Now().Add(365 * 24 * time.Hour), } cert, err := x509.CreateCertificate(rand.Reader, template, template, key.Public(), key) if err != nil { return nil, err } return quic.DialAddr(ctx, addr, &tls.Config{ Certificates: []tls.Certificate{{Certificate: [][]byte{cert}, PrivateKey: key}}, NextProtos: []string{alpn}, ServerName: serverName, InsecureSkipVerify: true, // the relay's certificate is self-signed MinVersion: tls.VersionTLS13, }, &quic.Config{KeepAlivePeriod: keepAlive, MaxIdleTimeout: idleTimeout}) } // One stream per transaction. tx: its wire bytes (solana-go: tx.MarshalBinary()). func send(ctx context.Context, conn quic.Connection, tx []byte) error { stream, err := conn.OpenUniStreamSync(ctx) if err != nil { return err } if _, err := stream.Write(tx); err != nil { return err } return stream.Close() } ``` **Python** ```python import asyncio import ssl from contextlib import asynccontextmanager from datetime import datetime, timedelta, timezone import base58 from aioquic.asyncio.client import connect as quic_connect from aioquic.quic.configuration import QuicConfiguration from cryptography import x509 from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PrivateKey from cryptography.x509.oid import NameOID ALPN = "solana-tpu" SERVER_NAME = "soyas-landing" KEEP_ALIVE = 25.0 IDLE_TIMEOUT = 30.0 # host: "fra.landing.soyas.xyz", port: 9000. api_key: the base58 keypair from the dashboard. # async with connect(host, port, api_key) as protocol: send(protocol, tx) @asynccontextmanager async def connect(host: str, port: int, api_key: str): key = Ed25519PrivateKey.from_private_bytes(base58.b58decode(api_key)[:32]) name = x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, "soyas-client")]) now = datetime.now(timezone.utc) config = QuicConfiguration( is_client=True, alpn_protocols=[ALPN], server_name=SERVER_NAME, verify_mode=ssl.CERT_NONE, # the relay's certificate is self-signed idle_timeout=IDLE_TIMEOUT, ) config.certificate = ( x509.CertificateBuilder() .subject_name(name) .issuer_name(name) .public_key(key.public_key()) .serial_number(x509.random_serial_number()) .not_valid_before(now - timedelta(hours=1)) .not_valid_after(now + timedelta(days=365)) .sign(key, None) ) config.private_key = key async with quic_connect(host, port, configuration=config) as protocol: pinging = asyncio.create_task(keep_alive(protocol)) try: yield protocol finally: pinging.cancel() async def keep_alive(protocol): # aioquic has no keep-alive setting. while True: await asyncio.sleep(KEEP_ALIVE) await protocol.ping() # One stream per transaction. tx: its wire bytes (solders: bytes(tx)). def send(protocol, tx: bytes) -> None: stream_id = protocol._quic.get_next_available_stream_id(is_unidirectional=True) protocol._quic.send_stream_data(stream_id, tx, end_stream=True) protocol.transmit() ``` One stream carries one transaction in Solana's wire format; the relay reads it to its end. Bidirectional streams are not allowed. One QUIC datagram also carries one transaction. Open one persistent connection per endpoint and reuse it. Finish every stream you open: an unfinished stream has already used one transaction of your rate limit. ## What the relay answers Nothing: no acknowledgment, no signature, no error. A stream your client wrote and finished only means the bytes were handed to QUIC. For an answer per transaction, use [HTTP](/docs/tx-landing/http/). | Case | What your client sees | |---|---| | Certificate key not Ed25519, or a bad handshake signature | The TLS handshake fails. | | No client certificate, or a key the relay does not know | The handshake completes, then the connection is closed with application error code `0` and reason `NotWhitelisted`. | | Too many open connections for your key | The oldest connection is closed with application error code `0` and reason `TooManyConnections`. | | Key removed or disabled while connected | The connection stays open and every transaction on it is dropped; a restored key works again on the same connection. | | Transaction empty, unparseable, without signature or signer, over a limit below, without a [tip](/docs/tx-landing/endpoints/#tip-rule), or over your rate limit | Dropped, without a word. | ## Limits and timeouts | Limit | Value | |---|---| | Connection | Reuse one persistent connection per endpoint | | Stream length | 8192 bytes | | Legacy and v0 transaction | 1232 bytes | | v1 transaction | 4096 bytes | | Transactions per second | Your account's [rate limit](/docs/tx-landing/rate-limits/), per endpoint, shared with HTTP; a stream counts when accepted, before it is read | | Idle timeout | 30 s. The relay sends no keep-alives: send your own more often (the code above uses 25 s). | --- # Bundle submission Source: https://soyas.xyz/docs/tx-landing/bundles/ Send 1 to 4 signed transactions in one HTTP/1.1 request with JSON-RPC sendBundle; they land atomically in order, or not at all. ## Route | Route | Body | Key | |---|---|---| | `POST /v1/sendBundle` | JSON-RPC `sendBundle` | `api-key` header | - The key is the one you send transactions with, in the `api-key` header: see [Authentication](/docs/tx-landing/http/#authentication). - This is the only bundle route. The path is exact and case-sensitive. - Plain HTTP/1.1 on port 80: your key travels unencrypted. HTTPS and HTTP/2 are not offered. - Bundles are HTTP only. Bundles over QUIC are not offered. ## Rules - **Paid tiers only.** A key on the Free [tier](/docs/tx-landing/rate-limits/#tiers) answers `403` `bundles require a paid tier`, which uses no TPS unit. - **1 to 4 transactions.** Each is signed, and no two share a signature. - **Tip.** One transaction carries a [tip](/docs/tx-landing/endpoints/#tip-rule) of at least 0.001 SOL (1,000,000 lamports), on every tier. Tips in several transactions are not added up. A higher tip gives broader coverage and a higher landing rate. - **Rate limit.** A bundle uses 1 TPS unit whatever its size, from the same [rate limit](/docs/tx-landing/rate-limits/) as your transactions. - **Size.** Each transaction is at most 1232 bytes (legacy, v0) or 4096 bytes (v1); the request body, at most 32768 bytes. ## sendBundle The request has the shape of Jito's `sendBundle`, with the transactions in base64. The examples use Frankfurt; any [endpoint](/docs/tx-landing/endpoints/) works. **curl** ```sh TX1_BASE64='' TX2_BASE64='' curl http://fra.landing.soyas.xyz/v1/sendBundle \ -H "api-key: $SOYAS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":1,"method":"sendBundle","params":[["'"$TX1_BASE64"'","'"$TX2_BASE64"'"]]}' ``` **Python** ```python import base64 import requests session = requests.Session() # keeps the connection open between requests # txs: 1 to 4 signed transactions' wire bytes (solders: [bytes(tx1), bytes(tx2)]). def send_bundle(api_key: str, txs: list[bytes]) -> list[str]: encoded = [base64.b64encode(tx).decode() for tx in txs] resp = session.post( "http://fra.landing.soyas.xyz/v1/sendBundle", headers={"api-key": api_key}, json={ "jsonrpc": "2.0", "id": 1, "method": "sendBundle", "params": [encoded], }, ) if resp.status_code != 200: raise RuntimeError(f"{resp.status_code}: {resp.text}") return resp.json()["result"] ``` **Go** ```go import ( "bytes" "encoding/base64" "encoding/json" "fmt" "net/http" ) // txs: 1 to 4 signed transactions' wire bytes (solana-go: tx.MarshalBinary()). func sendBundle(apiKey string, txs [][]byte) ([]string, error) { encoded := make([]string, len(txs)) for i, tx := range txs { encoded[i] = base64.StdEncoding.EncodeToString(tx) } body, _ := json.Marshal(map[string]any{ "jsonrpc": "2.0", "id": 1, "method": "sendBundle", "params": []any{encoded}, }) req, _ := http.NewRequest("POST", "http://fra.landing.soyas.xyz/v1/sendBundle", bytes.NewReader(body)) req.Header.Set("api-key", apiKey) req.Header.Set("Content-Type", "application/json") resp, err := http.DefaultClient.Do(req) if err != nil { return nil, err } defer resp.Body.Close() var out struct { Result []string `json:"result"` Error json.RawMessage `json:"error"` } if json.NewDecoder(resp.Body).Decode(&out); len(out.Result) == 0 { return nil, fmt.Errorf("%s: %s", resp.Status, out.Error) } return out.Result, nil } ``` **Rust** ```rust use base64::Engine as _; use serde_json::{json, Value}; use solana_sdk::transaction::VersionedTransaction; async fn send_bundle( http: &reqwest::Client, api_key: &str, txs: &[VersionedTransaction], ) -> anyhow::Result> { let encoded: Vec = txs .iter() .map(|tx| Ok(base64::engine::general_purpose::STANDARD.encode(bincode::serialize(tx)?))) .collect::>()?; let resp = http .post("http://fra.landing.soyas.xyz/v1/sendBundle") .header("api-key", api_key) .json(&json!({ "jsonrpc": "2.0", "id": 1, "method": "sendBundle", "params": [encoded], })) .send() .await?; let status = resp.status(); let body: Value = resp.json().await.unwrap_or_default(); match serde_json::from_value(body["result"].clone()) { Ok(signatures) => Ok(signatures), Err(_) => anyhow::bail!("{status}: {body}"), } } ``` - Transactions are base64 (standard alphabet, with padding); base58 is refused. Options are ignored. `id` comes back unchanged. - One bundle per HTTP request: a JSON-RPC batch (an outer JSON array) is refused. - `/v1/sendBundle` takes `sendBundle` only; any other JSON-RPC method answers `400` with code `-32601`. ## Response `200`, `Content-Type: application/json`: ```json {"jsonrpc":"2.0","id":1,"result":["",""]} ``` - `result` is the first signature of each transaction, in base58, in the order you sent them. - It means the relay accepted the bundle, not that it landed. Check the signatures with `getSignatureStatuses` on your own RPC node. - The relay does not verify signatures, simulate or deduplicate: the same bundle sent twice is forwarded twice and uses 2 TPS units. Every error status and message is on [Errors](/docs/tx-landing/errors/). Apart from the request body, the connection limits and keep-alive are those of [transactions over HTTP](/docs/tx-landing/http/#limits). --- # Endpoints and tip accounts Source: https://soyas.xyz/docs/tx-landing/endpoints/ Every relay's QUIC and HTTP endpoint, the tip rule, and the tip accounts, each ready to copy. ## Endpoints Every relay takes transactions over [HTTP](/docs/tx-landing/http/) on TCP 80 and over [QUIC](/docs/tx-landing/quic/) on UDP 9000, and [bundles](/docs/tx-landing/bundles/) over HTTP on TCP 80, all with the same API key. A second relay in a region is numbered and is a separate relay. | Region | QUIC (UDP 9000) | HTTP (TCP 80) | Data centre | | --- | --- | --- | --- | | Frankfurt | `fra.landing.soyas.xyz:9000` | `http://fra.landing.soyas.xyz` | Teraswitch | | Frankfurt 2 | `fra2.landing.soyas.xyz:9000` | `http://fra2.landing.soyas.xyz` | Allnodes | | Amsterdam | `ams.landing.soyas.xyz:9000` | `http://ams.landing.soyas.xyz` | Teraswitch | | New York | `nyc.landing.soyas.xyz:9000` | `http://nyc.landing.soyas.xyz` | Teraswitch | | London | `lon.landing.soyas.xyz:9000` | `http://lon.landing.soyas.xyz` | Teraswitch | | Tokyo | `tyo.landing.soyas.xyz:9000` | `http://tyo.landing.soyas.xyz` | Teraswitch | Each relay counts your [rate limit](/docs/tx-landing/rate-limits/) on its own, HTTP and QUIC together. Nothing is deduplicated: a transaction sent to two relays, or twice to one, is forwarded and counted each time. `GET /ping` needs no key, does not count against your limit, and answers `200` `pong` when the relay's HTTP listener is up; it checks nothing else. ```sh curl http://fra.landing.soyas.xyz/ping ``` ## Tip rule A transaction carries one top-level `SystemProgram.transfer` to any tip account below, of at least: | Sent as | Minimum tip | |---|---| | Transaction | 0.001 SOL (1,000,000 lamports); on Pro and Scale, 0.0005 SOL (500,000 lamports) | | Bundle | 0.001 SOL (1,000,000 lamports) in one of its transactions, on every tier | - The whole tip is one instruction: smaller transfers are not added up. - A transfer made inside another program does not count, nor does one to a tip account reached through an address lookup table. - Without a qualifying tip, HTTP answers `400` `missing required tip` and QUIC drops the transaction. - A higher tip gives broader coverage and a higher landing rate. ## Tip accounts | # | Tip account | | --- | --- | | 1 | `soyas4s6L8KWZ8rsSk1mF3d1mQScoTGGAgjk98bF8nP` | | 2 | `soyascXFW5wEEYiwfEmHy2pNwomqzvggJosGVD6TJdY` | | 3 | `soyasDBdKjADwPz3xk82U3TNPRDKEWJj7wWLajNHZ1L` | | 4 | `soyasE2abjBAynmHbGWgEwk4ctBy7JMTUCNrMbjcnyH` | | 5 | `soyasi59njacMUPvo3TM5paHjeK8pYSdovXgFi32gRt` | | 6 | `soyasQYhJxv8uZgWDxhg72td6piAf7XTkoyWHtSATEz` | | 7 | `soyastP66xyYC8XADXZjdMM5BAVGD2YRvz8dwtLsqb8` | | 8 | `soyasvdgUJWYcUCzDxpmjUnNjH7KamXLXTzLwFvdVPE` | | 9 | `soyasvxAunisNxaoRxkKGjNir7KmbwYnr37JmefkX9G` | | 10 | `soyas5doVFUwH8s5zK8gEvCL5KR5ogDmf52LsrJEZ9h` | ## For programs The endpoints with each relay's QUIC certificate fingerprint, the tip accounts and the minimum tip are in [endpoints.json](/docs/tx-landing/endpoints.json). The HTTP API is described in [openapi.yaml](/docs/tx-landing/openapi.yaml). --- # Rate limits Source: https://soyas.xyz/docs/tx-landing/rate-limits/ The tiers, and how transactions per second (TPS) are counted: per API key, per endpoint, shared by HTTP and QUIC. ## Tiers | Tier | TPS per endpoint | Min tip | Bundles | Weekly (7d) | Monthly (30d) | | --- | --- | --- | --- | --- | --- | | Free | 5 | 0.001 SOL | No | – | – | | Starter | 20 | 0.001 SOL | Yes | 0.6 SOL | 2.0 SOL | | Pro | 50 | 0.0005 SOL | Yes | 1.5 SOL | 5.0 SOL | | Scale | 100 | 0.0005 SOL | Yes | 3.0 SOL | 10.0 SOL | - Min tip is for a single transaction. A [bundle](/docs/tx-landing/bundles/) needs 0.001 SOL (1,000,000 lamports) on every tier. - Paid tiers are bought in the [dashboard](/dashboard/tx-landing), in SOL. When one expires, the key is back on Free at once. - For a higher limit than Scale's, message `@matt_soyas` on Telegram. ## Rules | What | Rule | |---|---| | Per endpoint | Each relay counts on its own: your full limit to Frankfurt, and again to Tokyo. | | Shared | On one relay, transactions over HTTP, transactions over QUIC (streams and datagrams) and bundles draw from the same limit. | | Bucket | Holds TPS units and refills continuously at TPS per second: with 5 TPS, 5 sent at once pass and a 6th is refused. | | Changes | A new tier or limit reaches each relay within about 60 seconds, starting with a full bucket. | ## What uses a unit A refused transaction counts like an accepted one. One unit goes to: - every transaction, accepted or refused as too large, malformed, unsigned or without a tip; - every [bundle](/docs/tx-landing/bundles/), accepted or refused, whatever its size; - every copy of a transaction or bundle sent again; - on QUIC, a stream from the moment the relay accepts it, even if it is never finished. `GET /ping`, `401`, `403`, `404`, `405`, `503` and `429` `too many concurrent connections` use none. ## Over the limit | Transport | What happens | |---|---| | HTTP | `429` `{"error":"rate limit exceeded"}`; the connection stays open. | | QUIC | The transaction is dropped without a word: keep count on your side. | Connection limits are on [HTTP](/docs/tx-landing/http/#limits); every status is on [Errors](/docs/tx-landing/errors/). --- # Errors Source: https://soyas.xyz/docs/tx-landing/errors/ Every HTTP status the relay answers, its exact body and what to do, and what QUIC does instead. ## HTTP On `POST /v1/sendTransaction` and `POST /v1/sendBundle`, a message with a JSON-RPC code comes as `{"jsonrpc":"2.0","id":,"error":{"code":,"message":""}}`. Every other message on the send routes comes as `{"error":""}`. `404` and `405` are plain text. | Status | Message (code) | Cause | What to do | |---|---|---|---| | 400 | `invalid JSON` (-32700) | The body is not JSON. | Send one JSON object. | | 400 | `invalid JSON-RPC request` (-32600) | The body is not an object, for example a batch. | One transaction or one bundle per request. | | 400 | `jsonrpc must be "2.0"` (-32600) | `jsonrpc` is missing or not `"2.0"`. | Add `"jsonrpc":"2.0"`. | | 400 | `unsupported JSON-RPC method` (-32601) | Any method other than `sendTransaction` on `/v1/sendTransaction`, or other than `sendBundle` on `/v1/sendBundle`. | Send each method to its own route. | | 400 | `params must be an array`, `params[0] must be an encoded transaction string`, `params[0] must be an array of transactions`, `bundle must contain 1 to 4 transactions`, `bundle transactions must be encoded strings`, `params[1] must be an options object`, `encoding must be a string`, `unsupported transaction encoding` (-32602) | `params` is malformed or the bundle size is outside 1–4. | Send `params` as on [HTTP](/docs/tx-landing/http/#sendtransaction) or [Bundle submission](/docs/tx-landing/bundles/#sendbundle). | | 400 | `unsupported Content-Type` | Raw route: `Content-Type` missing or not `application/octet-stream` or `text/plain`. | Set one of the two. | | 400 | `invalid UTF-8 base64 payload` | Raw route: a `text/plain` body that is not UTF-8. | Send base64 text. | | 400 | `invalid base64 transaction` (-32602) | The string does not decode: base58, for example. | Standard base64 with `=` padding. | | 400 | `empty transaction payload` (-32602) | No transaction, or an empty entry in a bundle. | Send the serialized transaction bytes. | | 400 | `invalid transaction` (-32602) | The bytes do not parse, or it is a versioned transaction other than v0 or v1. | Send the serialized, signed transaction. The same bytes get the same answer. | | 400 | `duplicate transaction in bundle` (-32602) | Two entries in `sendBundle` share the same first signature. | Remove the duplicate transaction from the bundle. | | 400 | `missing transaction signature`, `missing transaction signer` (-32602) | No signatures, or no static account keys. | Sign the transaction. | | 400 | `missing required tip` (-32602) | No qualifying tip, or one too small (for `sendBundle`, no single transaction in the bundle meets the minimum). | Add a [tip](/docs/tx-landing/endpoints/#tip-rule). | | 400 | `request body timeout`, with `Connection: close` | The body did not arrive within 5 seconds. | Send the whole body at once, on a new connection. | | 400 | `failed to read request body`, with `Connection: close` | Another error reading the body. | Send again on a new connection. | | 401 | `unauthorized` | Missing, malformed, unknown or disabled key; a key sent in the URL instead of the `api-key` header. The third in a row on one connection also closes it. | See [Authentication](/docs/tx-landing/http/#authentication). | | 403 | `bundles require a paid tier` | `/v1/sendBundle` with a key on the Free tier. It does not count against your limit. | Buy a [paid tier](/docs/tx-landing/rate-limits/#tiers). | | 404 | `not found` | Any other path, `/` included. Paths are exact and case-sensitive. | Check the path. | | 405 | `method not allowed` | Not `POST` on a send route, or not `GET` on `/ping` (`HEAD` included). | `POST` to send, `GET` for `/ping`. | | 413 | `payload too large`, with `Connection: close` | The body is over 16384 bytes (`/v1/sendTransaction`, `/v1/sendRawTransaction`) or 32768 bytes (`/v1/sendBundle`). | Shrink it, on a new connection. | | 413 | `transaction too large` (-32602) | The transaction is over 1232 bytes (legacy, v0) or 4096 bytes (v1). | Make it smaller. | | 429 | `rate limit exceeded` | Over your [rate limit](/docs/tx-landing/rate-limits/) on this relay. | Send slower. | | 429 | `too many concurrent connections`, with `Connection: close` | Too many open connections from your IP address to this relay (`/ping` included). | Reuse one persistent connection per endpoint. | | 503 | `relay busy, try again` | The relay is temporarily overloaded. | Retry, or use another endpoint. It does not count against your limit. | | none | connection closed | Too many open connections; request head not within 5 seconds; idle 60 seconds. | Reuse one persistent connection; send the first request at once; `GET /ping` more often than every 60 seconds. | ## QUIC QUIC sends no acknowledgment: a finished stream only means QUIC took the bytes. | Case | What happens | |---|---| | Accepted, or refused for any transaction error above, the rate limit, or a stream over 8192 bytes | Nothing is sent back. | | No client certificate, or an unknown key | Closed after the handshake: application error code `0`, reason `NotWhitelisted`. | | Certificate key not Ed25519, or a bad handshake signature | The TLS handshake fails. | | Key disabled while connected | The connection stays open; every transaction is dropped. | | Too many open connections for your key | The oldest connection is closed: application error code `0`, reason `TooManyConnections`. | | Idle 30 seconds | The connection closes; the relay sends no keep-alives. | --- # Shredstream Source: https://soyas.xyz/docs/shredstream/ Solana shreds forwarded over UDP to an IPv4 address and port of yours, in the region you choose. A subscription is one region, one IPv4 address and one UDP port. Data is sent only to that address. See [soyas.xyz/shredstream](https://soyas.xyz/shredstream) for the service overview. ## Regions and prices Prices in SOL per period. | Region | Daily | Weekly | Monthly | |---|---|---|---| | Frankfurt | 0.6 | 2.8 | 8.0 | | Amsterdam | 0.6 | 2.8 | 8.0 | | New York | 0.45 | 2.1 | 6.0 | | Tokyo | 0.3 | 1.4 | 4.0 | | London | 0.3 | 1.4 | 4.0 | ## Subscribe 1. Sign up at [soyas.xyz/register](https://soyas.xyz/register), open Shredstream in the dashboard, and start a new subscription: region, IPv4 address, UDP port, plan. 2. Send the plan's price in SOL, in one transaction, to the deposit address the dashboard shows for your account. 3. Paste that transaction's signature into the dashboard. You can change the address and port, or extend a subscription, from the dashboard. IPv6 is not accepted. --- # Changelog Source: https://soyas.xyz/docs/changelog/ What changed in Soyas TX Landing and Shredstream, newest first. Dates are in UTC. ## 2026-12-01: Paid tiers TX Landing now has paid tiers, bought in the dashboard in SOL, by the week or by the month. - Starter, Pro and Scale raise the rate limit per endpoint above Free's. - Pro and Scale lower the minimum tip of a single transaction. - `POST /v1/sendBundle` now needs a paid tier: a key on the Free tier answers `403`. See [Rate limits](/docs/tx-landing/rate-limits/#tiers) and [Bundle submission](/docs/tx-landing/bundles/). ## 2026-11-28: Bundles over HTTP Every relay now accepts atomic bundles over HTTP with JSON-RPC `sendBundle`. - `POST /v1/sendBundle` takes 1 to 4 signed transactions in base64 and answers with their signatures. - At least one transaction in the bundle must tip a Soyas tip account at least the minimum. - One bundle counts as 1 TPS unit against your per-relay rate limit. See [Bundle submission](/docs/tx-landing/bundles/) and [openapi.yaml](/docs/tx-landing/openapi.yaml). ## 2026-11-25: API keys in the dashboard You can now get a TX Landing API key yourself, in the dashboard, without asking Soyas. - **Generate** creates a new key for your account. - **Import** claims a key you already use with Soyas, so it moves into your account. Your account's rate limit becomes the higher of its own and the old key's. - Your email address must be verified first. - An account has one key. Once it is set, it cannot be generated or imported again. A new or changed key reaches each relay within about 60 seconds. See [Authentication](/docs/tx-landing/http/#authentication). ## 2026-11-25: HTTP on every relay Every relay now takes transactions over HTTP on TCP port 80, beside QUIC on UDP port 9000. - `POST /v1/sendTransaction` takes a JSON-RPC `sendTransaction` request and answers with the signature. - `POST /v1/sendRawTransaction` takes the transaction as raw bytes (`application/octet-stream`) or as base64 (`text/plain`). - `GET /ping` answers `pong` and needs no key. - The API key goes in the `api-key` header. A signature in the answer means the relay accepted the transaction, not that it landed. Nothing guarantees landing. The rate limit counts per relay, and HTTP and QUIC on the same relay share it. This is plain HTTP: your API key travels unencrypted. HTTPS is not offered. See [HTTP](/docs/tx-landing/http/) and [Endpoints and tip accounts](/docs/tx-landing/endpoints/).