# Quickstart

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='<your-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":["<base64-transaction>"]}'
```

```json
{"jsonrpc":"2.0","id":1,"result":"<signature>"}
```

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/).
