---
title: "Solana JSON-RPC proxy (sendTransaction)"
method: POST
path: "/rpc"
tags: ["RPC"]
---

# Solana JSON-RPC proxy (sendTransaction)

`POST /rpc`

JSON-RPC 2.0 endpoint mirroring Solana's HTTP RPC. Currently supports only `sendTransaction`.
The encoded transaction is forwarded to the LP-Agent priority RPC; the signature is returned
as soon as the priority RPC accepts it (the rotating RPC pool is fanned out to in the
background). Behavior matches https://solana.com/docs/rpc/http/sendtransaction — the client
is responsible for polling confirmation.

On success the response is HTTP 200 with a `result` field. On failure the response is HTTP 400
with a JSON-RPC `error` envelope (invalid request, unsupported method, bad params, decode failure, or upstream error).

## Request body

- object
  - `jsonrpc` '2.0', required
  - `id` union — Request id, echoed back in the response
    - number
    - string
  - `method` 'sendTransaction', required
  - `params` unknown[], required — [transaction (encoded string), config? (object)]
    - unknown

## Response `200`

Success — JSON-RPC envelope with `result` set to the transaction signature (base58).

- object
  - `jsonrpc` string
  - `id` union
    - number
    - string
  - `result` string — Transaction signature (base58)

## Other responses

- `400` — Validation or upstream failure — JSON-RPC envelope with the `error` field populated.

## Changes

- **2026-05-25** `f90fd69d221b` — 5 breaking, 1 warning, 5 info
  - removed `#/components/schemas/SendTransactionConfig, subschema #1` from the `params/items/` request property `oneOf` list
  - removed `subschema #1, subschema #2` from the `id` request property `oneOf` list
  - the response property `id` became optional for the status `200`
  - the response property `jsonrpc` became optional for the status `200`
  - …7 more
- **2026-05-25** `1708e5fd4a28` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/lpagent/apis/lp-agent-open-api/changes/rpc/post.md)

---

[API](https://skmtc.dev/lpagent/apis/lp-agent-open-api.md) · [All operations](https://skmtc.dev/lpagent/apis/lp-agent-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lpagent/lp-agent-open-api/revisions/f90fd69d221b/schema)
