メインコンテンツへスキップ
POST
Withdraw SPL Tokens

ボディ

application/json
owner
string
必須
:

"3rXKwQ1kpjBd5tdcco32qsvqUh1BnZjcYnS5kYrP7AYE"

mint
string
必須

SPL mint on Solana.

:

"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"

amount
integer
必須

Base-unit amount as an integer JSON value with minimum 1.

必須範囲: x >= 1
:

1000000

cluster

Optional. Use mainnet for BASE_RPC_URL and EPHEMERAL_RPC_URL, devnet for BASE_DEVNET_RPC_URL and EPHEMERAL_DEVNET_RPC_URL, or provide a custom http(s) RPC URL to override the base RPC while keeping the configured ephemeral RPC.

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

"mainnet"

validator
string

Optional. Defaults to the selected ephemeral RPC identity resolved via getIdentity.

:

"MAS1Dt9qreoRMQ14YQuhg8UTZMMzDdKhmkZMECCzk57"

initIfMissing
boolean

Optional. Initialize the transfer queue if missing.

initAtasIfMissing
boolean

Optional. Initialize associated token accounts if missing.

escrowIndex
integer

Optional. Escrow index for the withdrawal.

必須範囲: x >= 0
idempotent
boolean

Optional. When true, the API uses idempotent variants for any preparatory init instructions.

レスポンス

Unsigned serialized transaction

kind
enum<string>
必須
利用可能なオプション:
withdraw
version
enum<string>
必須
利用可能なオプション:
legacy,
v0
transactionBase64
string
必須
sendTo
enum<string>
必須
利用可能なオプション:
base,
ephemeral
recentBlockhash
string
必須
lastValidBlockHeight
integer
必須
instructionCount
integer
必須
必須範囲: x >= 0
requiredSigners
string[]
必須
validator
string