メインコンテンツへスキップ
POST
Send Transaction

承認

Authorization
string
header
必須

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

ボディ

application/json
transactionBase64
string
必須

The signed, serialized transaction encoded as base64.

Minimum string length: 1
sendTo
enum<string>
必須

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

利用可能なオプション:
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.

利用可能なオプション:
mainnet,
devnet,
mainnet-private,
devnet-private
例:

"mainnet"

confirm
boolean

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

recentBlockhash
string
必須 if confirm = true

Required when confirm is true.

lastValidBlockHeight
integer
必須 if confirm = true

Required when confirm is true.

必須範囲: x >= 0
skipPreflight
boolean

Optional. Skip preflight checks on submission.

maxRetries
integer

Optional. Maximum number of send retries.

必須範囲: x >= 0

レスポンス

Submission result

signature
string
必須
sendTo
enum<string>
必須
利用可能なオプション:
base,
ephemeral
confirmed
boolean
必須
confirmationRpcEndpoint
string<uri>
必須
confirmationRequiresAuthToken
boolean
必須