Endpoints and transports
Choose a hosted SWQoS metro and use JSON-RPC, HTTP or QUIC for transaction submissions
Start with JSON-RPC at https://sol.zerocopy.sh. This hostname routes to the nearest metro. Create an API key before sending.
Choose a metro
Use a named metro when you need to send to a specific location.
| Metro | Host |
|---|---|
| Frankfurt | fra.sol.zerocopy.sh |
| Amsterdam | ams.sol.zerocopy.sh |
| London | lon.sol.zerocopy.sh |
| New York | nyc.sol.zerocopy.sh |
| Los Angeles | lax.sol.zerocopy.sh |
| Tokyo | tyo.sol.zerocopy.sh |
For the local agent's explicit upstreams list, use a named metro with a port, such as fra.sol.zerocopy.sh:443, not sol.zerocopy.sh. See metro selection and failover.
Choose a transport
Use JSON-RPC unless your sender needs a binary interface. Every interface takes the same signed transactions and requires the same tips. A reply acknowledges acceptance, not confirmation.
| Interface | Use it for | Reply | Preflight |
|---|---|---|---|
| JSON-RPC | Solana client libraries and HTTP clients | Signature or bundle id, with structured errors | Optional for one transaction |
| Binary HTTP | Signed wire bytes | Signature or bundle id, with structured errors | None |
| Base64 HTTP | Base64 submissions without a JSON-RPC wrapper | Signature or bundle id, with structured errors | None |
| QUIC | Persistent connections with transaction or bundle streams | Bidirectional streams return replies; unidirectional streams do not | Optional for one transaction on a bidirectional stream |
| Local agent | Local HTTP, QUIC or Linux IPC | Depends on the interface | See local interfaces |
HTTP
Use HTTPS on TCP 443 to protect your key and transactions. The endpoint supports HTTP/1.1 and HTTP/2. TCP 80 serves the same routes over HTTP/1.1 or cleartext HTTP/2 without encryption.
Set encoding: "base64" in JSON-RPC when your signing library produces base64. The default is base58. Use the example project when your client library discards structured rejection fields.
For raw HTTP, send signed bytes to /binary, or base64 text to /plaintext. Check the HTTP status before treating a success body as a signature or bundle id. See HTTP reference for exact requests and replies.
QUIC
Connect on UDP 443 and keep the connection open across requests. Use bidirectional streams while integrating so you can inspect refusals. Follow the QUIC reference for authentication, connection settings and framing.
Local agent
The agent runs on your Linux host. Its listeners do not authenticate callers. Keep them on loopback and restrict IPC socket access: anyone who can reach a listener can submit under your license.
Use a separate read RPC
SWQoS sends transactions and bundles and serves the queries in the JSON-RPC reference. Use a separate Solana RPC provider for blockhashes, balances, simulation, signature statuses and subscriptions.
Unsupported methods such as getLatestBlockhash return invalid_request with problem: unknown_method. Check service status during an outage.
Continue with transactions or bundles. If you need declared tips, arrange billing first.