Skip to main content
POST
Create Stealth Pool

承認

Authorization
string
header
必須

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

ボディ

application/json
payer
string
必須
:

"3rXKwQ1kpjBd5tdcco32qsvqUh1BnZjcYnS5kYrP7AYE"

authority
string
必須

Authority allowed to manage the pool.

:

"3rXKwQ1kpjBd5tdcco32qsvqUh1BnZjcYnS5kYrP7AYE"

handle
string
必須

Human-readable handle, up to 255 UTF-8 bytes. Stored as its exact bytes — NOT trimmed, lowercased, or normalized, so John.Doe@… is a different handle than john.doe@….

Required string length: 1 - 255
:

"john.doe@magicblock.id"

destinations
string[]
必須

1-10 destination owner pubkeys (owners, not token accounts).

Required array length: 1 - 10 elements
:
splitAcrossKeys
boolean

Optional. When true, split payments may resolve independently across the destination keys.

validator
string

Optional. Validator identity to receive the delegated pool.

:

"MAS1Dt9qreoRMQ14YQuhg8UTZMMzDdKhmkZMECCzk57"

cluster

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

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

"mainnet"

レスポンス

Unsigned setup and ER update transactions

kind
enum<string>
必須
利用可能なオプション:
stealthPool
version
enum<string>
必須
利用可能なオプション:
legacy,
v0
transactionBase64
string
必須

The ER update transaction.

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

Derived stealth-pool PDA.

setupTransaction
object
必須

The base-chain setup transaction. It uses the same transaction response contract as the top-level transaction; sendRpcEndpoint is omitted when sendTo is base.

sendRpcEndpoint
string<uri>