Wraps the SDK delegateSpl(...) flow. The API generates shuttleId server-side and pins escrowIndex to 0.
Documentation Index
Fetch the complete documentation index at: https://docs.magicblock.gg/llms.txt
Use this file to discover all available pages before exploring further.
"3rXKwQ1kpjBd5tdcco32qsvqUh1BnZjcYnS5kYrP7AYE"
Base-unit amount as an integer JSON value with minimum 1.
x >= 11
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"
Optional. Defaults to Solana USDC on mainnet: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v. On devnet it defaults to devnet USDC: 4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU.
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
Optional. Defaults to the selected ephemeral RPC identity resolved via getIdentity.
"MAS1Dt9qreoRMQ14YQuhg8UTZMMzDdKhmkZMECCzk57"
Optional. Initialize the transfer queue if missing.
Optional. Initialize the vault if missing.
Optional. Initialize associated token accounts if missing.
Optional. When true, the API uses idempotent variants for any preparatory init instructions.
Unsigned serialized transaction