Skip to main content
POST
Send Transaction

Authorizations

Authorization
string
header
required

Token obtained from the /v1/spl/login flow.

Body

application/json
transactionBase64
string
required

The signed, serialized transaction encoded as base64.

Minimum string length: 1
sendTo
enum<string>
required

Where to submit. Use the sendTo value returned by the build endpoint.

Available options:
base,
ephemeral
sendRpcEndpoint
string<uri>

Optional. Explicit ephemeral RPC endpoint. Only valid when sendTo is ephemeral.

cluster

Optional. Cluster selector or custom http(s) RPC URL.

Available options:
mainnet,
devnet,
mainnet-private,
devnet-private
Example:

"mainnet"

confirm
boolean

Optional. Defaults to false. When true, the API confirms the transaction and requires recentBlockhash and lastValidBlockHeight.

recentBlockhash
string
required if confirm = true

Required when confirm is true.

lastValidBlockHeight
integer
required if confirm = true

Required when confirm is true.

Required range: x >= 0
skipPreflight
boolean

Optional. Skip preflight checks on submission.

maxRetries
integer

Optional. Maximum number of send retries.

Required range: x >= 0

Response

Submission result

signature
string
required
sendTo
enum<string>
required
Available options:
base,
ephemeral
confirmed
boolean
required
confirmationRpcEndpoint
string<uri>
required
confirmationRequiresAuthToken
boolean
required