메인 콘텐츠로 건너뛰기
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
필수