stealthX in any transaction.
stealthX is a public program: every wallet can call it. Its instructions are ordinary Solana instructions. Put them in your own transaction, next to your other instructions (a memo, more payouts), sign once, and submit the bytes with sendTransaction. No SDK: here is every instruction as JSON, a composed transaction, every RPC call, and a builder that fills in live values.
- Program ID · devnet
st1xzLgd1h8SZW3kyMG4so4ESZpkxGXmhShhqCq8tAp- Config PDA · seeds ["config"]
CaZHz24d6yC7VJgCJqehpjrVo61fzas5uTPaHbsxoSM6
Your transaction, as JSON.
SOL and token payments, with real devnet data: treasury, fee, blockhash.
Built and simulated here. Nothing is signed or sent. When mainnet is live, only the blockhash and the RPC differ.
Public payment and vault instructions.
Any wallet can call them on devnet; mainnet is not live yet.
Each one is shown below as JSON.
| Instruction | Use it when | Accounts · data |
|---|---|---|
| sendX | You pay from your own wallet. One instruction: the recipient is paid by your vault, not by a System Program transfer from you, and the vault opens itself on the first payment.The usual way to pay; nothing to prepare | 6 · 16 bytes |
| transferX | A bot pays many times. Fund the vault once, then every payment is a direct balance change with no System Program call at all.The fewest compute units per payment (about 250) | 5 · 16 bytes |
| sendTokenX | Pay SPL or Token-2022 tokens from your wallet: the recipient receives a new token account. | 9 · 58 bytes |
| transferTokenX | Pay SPL or Token-2022 tokens from a token account your vault holds. | 9 · 58 bytes |
| closeAuthorityX | Reclaim the deposits of emptied payment accounts and vault token accounts. | 3 + accounts · 9 bytes |
| createVaultX | You want the vault ready before funding it for transferX.Optional: a first sendX opens it too | 3 · 8 bytes |
| closeVaultX | You are done paying: the vault’s rent and any balance come back to you.Always available; also right after a one-off sendX | 2 · 8 bytes |
| Deposit | You fund a vault for transferX: an ordinary SOL transfer to the vault address, from any wallet.A System Program transfer, not a stealthX instruction | 2 · 12 bytes |
sendX: one instruction, six accounts.
The authority pays amount from its wallet. The program takes the 10,000 lamports fee out of it and the recipient gets the rest. The first payment also opens the authority’s vault. Values in angle brackets are yours to fill in.
| # | Account | Flags |
|---|---|---|
| 0 | VaultPDA of ["vault", authority] under the program. Pass it even before it exists. | writable |
| 1 | AuthorityPays the amount and signs | writable, signer |
| 2 | RecipientAny wallet; a new one is created by the payment | writable |
| 3 | ConfigThe PDA above; read it for the treasury list | read-only |
| 4 | TreasuryA wallet in config.feeRecipients slots 0–2; pick one at random. Never slot 3: a wallet there is being replaced | writable |
| 5 | System Program11111111111111111111111111111111 | read-only |
| Bytes | Field | Example |
|---|---|---|
| 0–7 | DiscriminatorFixed | 3ced56b476c8b5e9 |
| 8–15 | amount · u64 little-endianLamports leaving the authority, fee included | 0065cd1d000000000.5 SOL |
{
"programId": "st1xzLgd1h8SZW3kyMG4so4ESZpkxGXmhShhqCq8tAp",
"accounts": [
{
"pubkey": "<vault: PDA of [\"vault\", authority]>",
"isSigner": false,
"isWritable": true
},
{
"pubkey": "<authority: the wallet that pays and signs>",
"isSigner": true,
"isWritable": true
},
{
"pubkey": "<recipient wallet>",
"isSigner": false,
"isWritable": true
},
{
"pubkey": "CaZHz24d6yC7VJgCJqehpjrVo61fzas5uTPaHbsxoSM6",
"isSigner": false,
"isWritable": false
},
{
"pubkey": "<treasury: a wallet in config.feeRecipients slots 0-2>",
"isSigner": false,
"isWritable": true
},
{
"pubkey": "11111111111111111111111111111111",
"isSigner": false,
"isWritable": false
}
],
"data": "PO1WtHbItekAZc0dAAAAAA=="
} This is the instruction shape SDKs and APIs exchange (programId, accounts with pubkey / isSigner / isWritable, base64 data). In @solana/web3.js it is a TransactionInstruction; in @solana/kit an Instruction.
transferX: no System Program call.
If you fund your vault in advance (an ordinary SOL transfer to it), transferX pays out of it with no System Program call at all. The accounts are sendX’s first five, with no System Program; the vault keeps its rent-exempt minimum. It composes and sends exactly like sendX below.
| Bytes | Field | Example |
|---|---|---|
| 0–7 | DiscriminatorFixed | fc7c3e538d362fd9 |
| 8–15 | amount · u64 little-endianLamports leaving the vault, fee included | 0065cd1d000000000.5 SOL |
{
"programId": "st1xzLgd1h8SZW3kyMG4so4ESZpkxGXmhShhqCq8tAp",
"accounts": [
{
"pubkey": "<vault: PDA of [\"vault\", authority]>",
"isSigner": false,
"isWritable": true
},
{
"pubkey": "<authority: the wallet that pays and signs>",
"isSigner": true,
"isWritable": true
},
{
"pubkey": "<recipient wallet>",
"isSigner": false,
"isWritable": true
},
{
"pubkey": "CaZHz24d6yC7VJgCJqehpjrVo61fzas5uTPaHbsxoSM6",
"isSigner": false,
"isWritable": false
},
{
"pubkey": "<treasury: a wallet in config.feeRecipients slots 0-2>",
"isSigner": false,
"isWritable": true
}
],
"data": "/Hw+U402L9kAZc0dAAAAAA=="
}transferX needs an open, funded vault: open it with createVaultX (or a first sendX), then deposit with an ordinary SOL transfer. A vault you no longer use is closed with closeVaultX, which returns its rent and any balance.
createVaultX, then deposit.
For transferX, the vault must exist and hold SOL. createVaultX opens it and pays its rent-exempt minimum, without paying anyone. A deposit is a plain System Program transfer to the vault address, from any wallet. Both are needed only for transferX: sendX opens the vault on its own and pays straight from your wallet.
| # | Account | Flags |
|---|---|---|
| 0 | VaultPDA of ["vault", authority] | writable |
| 1 | AuthorityOwns the vault; pays its rent | writable, signer |
| 2 | System Program | — |
Data: b70d158d43214c0b, the discriminator only. It fails with 6008 when the vault address is not the authority’s PDA, and when the vault is already open.
{
"programId": "st1xzLgd1h8SZW3kyMG4so4ESZpkxGXmhShhqCq8tAp",
"accounts": [
{
"pubkey": "<vault: PDA of [\"vault\", authority]>",
"isSigner": false,
"isWritable": true
},
{
"pubkey": "<authority: the wallet that owns the vault; pays its rent>",
"isSigner": true,
"isWritable": true
},
{
"pubkey": "11111111111111111111111111111111",
"isSigner": false,
"isWritable": false
}
],
"data": "tw0VjUMhTAs="
}{
"programId": "11111111111111111111111111111111",
"accounts": [
{
"pubkey": "<any wallet: pays the deposit>",
"isSigner": true,
"isWritable": true
},
{
"pubkey": "<vault: PDA of [\"vault\", authority]>",
"isSigner": false,
"isWritable": true
}
],
"data": "AgAAAACUNXcAAAAA"
}In the devnet app, “Create vault” sends createVaultX, “Review deposit” sends the deposit, and paying “From your vault” sends transferX.
closeVaultX: reclaim the vault rent.
A wallet’s first sendX opens its vault, which holds the rent-exempt minimum: 0.00085344 SOL on mainnet, 0.0004326 SOL on devnet. That is a deposit, not a fee. closeVaultX returns it to the authority, together with any balance still in the vault, and closes the account. To see exactly what comes back, read the SOL vault’s balance first. Token accounts the vault owns stay open; closeAuthorityX closes them once empty.
| # | Account | Flags |
|---|---|---|
| 0 | VaultPDA of ["vault", authority] | writable |
| 1 | AuthorityThe wallet that owns the vault; receives everything | writable, signer |
| On its own | In its own transaction, any time the wallet is done paying. The next sendX opens the vault again and charges the rent again, so a wallet that pays often keeps its vault.About 150 compute units, no System Program call |
| After a one-off sendX | Put closeVaultX right after sendX in the same transaction. The vault opens, pays and closes, so the rent comes straight back and the wallet pays only the amount and the network fee.Reserve 250 more compute units in the limit |
| Any time | The program has no pause, so closeVaultX always works: SOL in a vault can always be taken back. |
| Errors | 6008 when the address holds no vault; 6007 when the vault belongs to another wallet |
{
"programId": "st1xzLgd1h8SZW3kyMG4so4ESZpkxGXmhShhqCq8tAp",
"accounts": [
{
"pubkey": "<vault: PDA of [\"vault\", authority]>",
"isSigner": false,
"isWritable": true
},
{
"pubkey": "<authority: the wallet that owns the vault; receives the refund>",
"isSigner": true,
"isWritable": true
}
],
"data": "61DnbJbx8ZQ="
}{
"jsonrpc": "2.0",
"id": 1,
"method": "getBalance",
"params": [
"<vault: PDA of [\"vault\", authority]>",
{
"commitment": "confirmed"
}
]
} The result’s value is the refund in lamports. In the devnet app, “Close vault and refund” sends this instruction.
sendTokenX: tokens, through an authority handoff.
sendTokenX pays from the sender’s token account; transferTokenX pays from a token account the vault holds. Each payment creates a new token account, fills it while the sender’s vault owns it, then makes the recipient its owner. The recipient needs no token account beforehand, and explorers show it as the new account’s owner, as with SOL.
Both work for classic SPL Token and Token-2022 mints, including pump.fun’s coins. Put the mint’s Token Program in account 6. Mints with transfer fees, a transfer hook, pausable or non-transferable tokens, or accounts that start frozen cannot be paid.
Costs
- Fee: 10,000 lamports, taken in SOL from the vault. The recipient gets every token. The vault must hold the fee on top of its rent-exempt minimum; top it up with a deposit in the same transaction. Keeping at least 0.01 SOL in the vault saves a rent check (about 130 compute units) on every payment.
- Deposit: the authority pays the new account’s rent, about 0.00149 SOL on mainnet. The vault stays the account’s close authority, so once the recipient empties it, closeAuthorityX returns the deposit.
- Compute units (without compute-budget instructions): sendTokenX about 6,300 for SPL Token and 11,300 for Token-2022; transferTokenX about 6,000 and 11,000.
- Loaded data: 192 KiB for SPL Token, 1.75 MiB for Token-2022 (its program is about 1.4 MB).
Before you send
- The recipient must be a wallet address. It travels as data, so the program cannot check it. Tokens paid to a token account’s address, a program or an address nobody holds the key for are lost.
- Use a fresh random seed per payment, and keep it for retries. The seed names the payment account. A retry with the same seed cannot pay twice: if the first transaction landed, the account exists and the retry fails.
- CPI Guard. If the sender’s Token-2022 account has CPI Guard on, sendTokenX fails. Move the tokens to the vault’s token account first and pay with transferTokenX.
Transaction order
- Open the vault with createVaultX if it is not open.
- Deposit SOL into the vault if it holds less than its rent plus the fee.
- Add
sendTokenXortransferTokenX. - Later, in another transaction, reclaim deposits with closeAuthorityX.
| Bytes | Field |
|---|---|
| 0–7 | DiscriminatorsendTokenX 2f6c0d9145049a65, transferTokenX 63ae7682989fe938 |
| 8–15 | amount · u64 little-endianIn the mint’s base units; more than 0 |
| 16 | Vault bumpFrom the PDA ["vault", authority] |
| 17–24 | Seed8 random bytes that name the payment account |
| 25 | Account bumpFrom the PDA ["pay", vault, seed] under the stealthX program; pass that PDA as account 2 |
| 26–57 | RecipientThe wallet that will own the account |
The examples encode 1,250,000 base units, vault bump 255, seed 0102030405060708, account bump 254 and zeros for the recipient. The live builder fills in real values.
closeAuthorityX
Closes empty token accounts and returns their deposits to the authority: payment accounts whose owners emptied them, and the vault’s own empty token accounts. Accounts it cannot close are skipped, so one bad account never fails the batch. About 20 accounts of one Token Program fit in a transaction. Compute units: about 1,200 for one SPL Token account, 2,350 for Token-2022.
Accounts: the vault, the authority (signer, writable), the Token Program, then the token accounts (writable). Data: the discriminator 2b4891af6eaaedb5 and the 1-byte vault bump.
To find your payment accounts, call getProgramAccounts on each Token Program with dataSize 165 and a memcmp at offset 129 for 01000000 followed by the vault address; keep those with amount 0 (offset 64). Tokens still in a vault token account leave first with a transferTokenX to the authority.
{
"programId": "st1xzLgd1h8SZW3kyMG4so4ESZpkxGXmhShhqCq8tAp",
"accounts": [
{
"pubkey": "<vault: PDA of [\"vault\", authority]>",
"isSigner": false,
"isWritable": true
},
{
"pubkey": "<authority: the wallet that pays and signs>",
"isSigner": true,
"isWritable": true
},
{
"pubkey": "<new token account: PDA of [\"pay\", vault, seed]>",
"isSigner": false,
"isWritable": true
},
{
"pubkey": "<token mint>",
"isSigner": false,
"isWritable": false
},
{
"pubkey": "CaZHz24d6yC7VJgCJqehpjrVo61fzas5uTPaHbsxoSM6",
"isSigner": false,
"isWritable": false
},
{
"pubkey": "<treasury: a wallet in config.feeRecipients slots 0-2>",
"isSigner": false,
"isWritable": true
},
{
"pubkey": "<the mint's Token Program: Tokenkeg… or Tokenz…>",
"isSigner": false,
"isWritable": false
},
{
"pubkey": "11111111111111111111111111111111",
"isSigner": false,
"isWritable": false
},
{
"pubkey": "<sender token account for this mint>",
"isSigner": false,
"isWritable": true
}
],
"data": "L2wNkUUEmmXQEhMAAAAAAP8BAgMEBQYHCP4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=="
}{
"programId": "st1xzLgd1h8SZW3kyMG4so4ESZpkxGXmhShhqCq8tAp",
"accounts": [
{
"pubkey": "<vault: PDA of [\"vault\", authority]>",
"isSigner": false,
"isWritable": true
},
{
"pubkey": "<authority: the wallet that pays and signs>",
"isSigner": true,
"isWritable": true
},
{
"pubkey": "<new token account: PDA of [\"pay\", vault, seed]>",
"isSigner": false,
"isWritable": true
},
{
"pubkey": "<token mint>",
"isSigner": false,
"isWritable": false
},
{
"pubkey": "CaZHz24d6yC7VJgCJqehpjrVo61fzas5uTPaHbsxoSM6",
"isSigner": false,
"isWritable": false
},
{
"pubkey": "<treasury: a wallet in config.feeRecipients slots 0-2>",
"isSigner": false,
"isWritable": true
},
{
"pubkey": "<the mint's Token Program: Tokenkeg… or Tokenz…>",
"isSigner": false,
"isWritable": false
},
{
"pubkey": "11111111111111111111111111111111",
"isSigner": false,
"isWritable": false
},
{
"pubkey": "<vault token account for this mint>",
"isSigner": false,
"isWritable": true
}
],
"data": "Y652gpif6TjQEhMAAAAAAP8BAgMEBQYHCP4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=="
}{
"programId": "st1xzLgd1h8SZW3kyMG4so4ESZpkxGXmhShhqCq8tAp",
"accounts": [
{
"pubkey": "<vault: PDA of [\"vault\", authority]>",
"isSigner": false,
"isWritable": false
},
{
"pubkey": "<authority: the wallet that pays and signs>",
"isSigner": true,
"isWritable": true
},
{
"pubkey": "<the mint's Token Program: Tokenkeg… or Tokenz…>",
"isSigner": false,
"isWritable": false
},
{
"pubkey": "<emptied token account 1>",
"isSigner": false,
"isWritable": true
},
{
"pubkey": "<emptied token account 2, …>",
"isSigner": false,
"isWritable": true
}
],
"data": "K0iRr26q7bX/"
}Next to your own instructions.
A transaction is a list of instructions that succeed or fail together. This one sets its compute budget, records a memo, and pays with sendX, all under the authority’s one signature.
- Anywhere in the list, any number of times. Several sendX instructions from one authority pay several recipients in one transaction; the vault is shared.
- Compute units add up. sendX about 1,410 (3,130 on the first payment, which opens the vault), transferX about 250, sendTokenX about 6,300 (SPL Token) or 11,300 (Token-2022). Each compute-budget instruction adds about 150, the Memo program about 2,000 + 360 per byte. Simplest: simulate, then set the limit to what was used plus 10%.
- Loaded data covers every program. sendX alone loads about 52 KB on devnet and less on mainnet, so 64 KiB is enough. The Memo program’s binary alone is 74,800 bytes: with it, a 64 KiB limit fails with
MaxLoadedAccountsDataSizeExceeded. Raise the limit to cover each program you add (here 147,456 bytes), or leave the instruction out. - The fee never changes. Every payment pays 10,000 lamports, written into the program. Nothing in your transaction or the config can change it.
- Separate fee payer. A relayer can pay the network fee: make it the transaction’s first signer. The authority still signs and still pays the amount.
[
{
"programId": "ComputeBudget111111111111111111111111111111",
"accounts": [],
"data": "AhYhAAA="
},
{
"programId": "ComputeBudget111111111111111111111111111111",
"accounts": [],
"data": "BABAAgA="
},
{
"programId": "ComputeBudget111111111111111111111111111111",
"accounts": [],
"data": "AwEAAAAAAAAA"
},
{
"programId": "MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr",
"accounts": [],
"data": "aW52b2ljZSAxMDQy"
},
{
"programId": "st1xzLgd1h8SZW3kyMG4so4ESZpkxGXmhShhqCq8tAp",
"accounts": [
{
"pubkey": "<vault: PDA of [\"vault\", authority]>",
"isSigner": false,
"isWritable": true
},
{
"pubkey": "<authority: the wallet that pays and signs>",
"isSigner": true,
"isWritable": true
},
{
"pubkey": "<recipient wallet>",
"isSigner": false,
"isWritable": true
},
{
"pubkey": "CaZHz24d6yC7VJgCJqehpjrVo61fzas5uTPaHbsxoSM6",
"isSigner": false,
"isWritable": false
},
{
"pubkey": "<treasury: a wallet in config.feeRecipients slots 0-2>",
"isSigner": false,
"isWritable": true
},
{
"pubkey": "11111111111111111111111111111111",
"isSigner": false,
"isWritable": false
}
],
"data": "PO1WtHbItekAZc0dAAAAAA=="
}
]Instructions 0–2 are the Compute Budget program (unit limit 8,470, loaded data limit, a price of 1 micro-lamport per unit), 3 is the SPL Memo “invoice 1042”, 4 is sendX. A transaction with sendX alone uses a 65,536-byte data limit.
sendTransaction, as JSON-RPC.
- Read state. One
getMultipleAccountscall returns the config (for the treasury list), the vault (does it exist yet?) and the recipient (is it a plain wallet?). - Get a blockhash.
getLatestBlockhash. It is valid for about a minute, untillastValidBlockHeight. - Build and sign locally. Compile the instructions into a transaction with the authority as fee payer, sign it, and serialize it. Keys never go to the RPC.
- Submit the bytes.
sendTransactionwith base64 encoding. Preflight simulates first and returns an error instead of sending a transaction that would fail. - Confirm. Poll
getSignatureStatusesuntilconfirmed. Retry by re-sending the same signed bytes, never by signing again: a new signature is a new payment (see retries).
{
"jsonrpc": "2.0",
"id": 1,
"method": "getMultipleAccounts",
"params": [
[
"CaZHz24d6yC7VJgCJqehpjrVo61fzas5uTPaHbsxoSM6",
"<vault: PDA of [\"vault\", authority]>",
"<recipient wallet>"
],
{
"encoding": "base64",
"commitment": "confirmed"
}
]
}{
"jsonrpc": "2.0",
"id": 1,
"method": "getLatestBlockhash",
"params": [
{
"commitment": "confirmed"
}
]
}{
"jsonrpc": "2.0",
"id": 1,
"method": "sendTransaction",
"params": [
"<base64 of the signed transaction>",
{
"encoding": "base64",
"skipPreflight": false,
"preflightCommitment": "confirmed",
"maxRetries": 0
}
]
}{
"jsonrpc": "2.0",
"result": "<signature: base58, the transaction id>",
"id": 1
}{
"jsonrpc": "2.0",
"id": 1,
"method": "getSignatureStatuses",
"params": [
[
"<signature>"
],
{
"searchTransactionHistory": false
}
]
}{
"jsonrpc": "2.0",
"result": {
"context": {
"slot": 525091043
},
"value": [
{
"confirmationStatus": "confirmed",
"confirmations": 0,
"err": null,
"slot": 525091035,
"status": {
"Ok": null
}
}
]
},
"id": 1
}{
"jsonrpc": "2.0",
"error": {
"code": -32002,
"message": "Transaction simulation failed: Error processing Instruction 3: custom program error: 0x1771",
"data": {
"err": {
"InstructionError": [
3,
{
"Custom": 6001
}
]
},
"logs": [
"Program st1xzLgd1h8SZW3kyMG4so4ESZpkxGXmhShhqCq8tAp invoke [1]",
"Program st1xzLgd1h8SZW3kyMG4so4ESZpkxGXmhShhqCq8tAp consumed 180 of 1600 compute units",
"Program st1xzLgd1h8SZW3kyMG4so4ESZpkxGXmhShhqCq8tAp failed: custom program error: 0x1771"
],
"unitsConsumed": 630
}
},
"id": 1
} The first number in InstructionError is the failing instruction’s position in your transaction; Custom is the stealthX error code (0x1771 = 6001). Real responses carry more fields.
Pay once, then check it.
stealthX keeps no nonce, counter or payout ID, like most Solana programs: each signed transaction is a payment. These rules keep a retry from paying twice.
- Re-send the same signed bytes. Always safe, as often as needed: Solana executes a signature at most once.
- Sign a new transaction only once the first cannot land. That is when the block height at
finalizedis above the first transaction’slastValidBlockHeight, andgetSignatureStatuseswithsearchTransactionHistory: truestill does not find it. If it is found, the payment happened. - Token payments: keep the seed. Rebuild a token payment with the first attempt’s seed. It names the same payment account, so if the first attempt landed, the retry fails and pays nothing. Check with
getAccountInfoon the payment account: if it exists, the payment happened. - Check what landed.
getTransactionreturns the balances before and after. Withmeta.errnull, the recipient gainedamount − feeand the treasury walletfee. sendX takesamountfrom the authority (plus the vault rent on a first payment); transferX takes it from the vault. The fee payer also paysmeta.fee.
{
"jsonrpc": "2.0",
"id": 1,
"method": "getBlockHeight",
"params": [
{
"commitment": "finalized"
}
]
}{
"jsonrpc": "2.0",
"id": 1,
"method": "getSignatureStatuses",
"params": [
[
"<signature>"
],
{
"searchTransactionHistory": true
}
]
}{
"jsonrpc": "2.0",
"id": 1,
"method": "getTransaction",
"params": [
"<signature>",
{
"encoding": "json",
"commitment": "confirmed",
"maxSupportedTransactionVersion": 0
}
]
} In the result, meta.preBalances and meta.postBalances follow the order of transaction.message.accountKeys.
Accounts, fees, errors.
| Bytes | Field |
|---|---|
| 0–7 | Discriminator 9b0caae01efacc82 |
| 8–39 | Fee admin |
| 40–47 | ReservedAlways zero; not read by payments |
| 48–175 | feeRecipients · 4 × 32 bytesTreasury wallets; all-zero slots are empty. Pay into slots 0–2. Slot 3 holds a wallet only while it is replaced: still accepted, so signed payments land, but never chosen |
| 176 | Bump |
| 177–208 | Pending adminAll zeros when no rotation is in progress |
| Flat fee | 10,000 lamports (0.00001 SOL) per paymentWhatever the amount; fixed in the program |
| Rules | amount must exceed the fee; a new recipient must receive at least the rent-exempt minimum |
| Accounts | 0 vault (writable) · 1 authority (writable, signer) |
| Data | eb50e76c96f1f1948 bytes; returns the rent and any balance |
| Code | Meaning |
|---|---|
| 60000x1770 | The vault holds too little SOL |
| 60010x1771 | amount is not above the fee |
| 60020x1772 | Treasury is not in config.feeRecipients |
| 60040x1774 | Config has no treasury wallets |
| 60050x1775 | Signer not authorized |
| 60060x1776 | Arithmetic overflow |
| 60070x1777 | Vault belongs to a different authority |
| 60080x1778 | An account is not what the program expects (wrong vault, config, token program or payment account) |
| 60110x177b | Recipient holds data (a program, token or nonce account, a vault); pay a plain wallet |
| sendX | ~1,410; ~3,130 when it opens the vaultLimits the site sets: 2,000 / 4,000 (+1,650 per skipped vault bump), plus 150 per compute-budget instruction |
| transferX | ~250; ~380 when the vault keeps less than 0.01 SOLLimit: 800, plus 150 per compute-budget instruction |
| sendTokenX | ~6,300 SPL Token · ~11,300 Token-2022 |
| transferTokenX | ~6,000 SPL Token · ~11,000 Token-2022 |
| closeAuthorityX | ~1,200 SPL Token · ~2,350 Token-2022, one account |
| createVaultX | ~3,000 (+1,500 per skipped vault bump) |
| closeVaultX | ~150 |
| SPL Memo | ~2,000 + 360 per byte |
Try the same calls from a wallet in the devnet app. The documented mainnet address is reserved, but the program is not live there yet.