Skip to main content
POST
/
rpc
Solana JSON-RPC proxy (sendTransaction)
curl --request POST \
  --url https://api.lpagent.io/open-api/v1/rpc \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "params": [
    "<unknown>"
  ],
  "id": 123
}
'
{
  "jsonrpc": "2.0",
  "id": 123,
  "result": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.lpagent.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

API key for authentication

Body

application/json
jsonrpc
enum<string>
required
Available options:
2.0
method
enum<string>
required
Available options:
sendTransaction
params
any[]
required

[transaction (encoded string), config? (object)]

Required array length: 1 - 2 elements
id

Request id, echoed back in the response

Response

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

jsonrpc
string
Example:

"2.0"

id
result
string

Transaction signature (base58)