Transfer SPL tokens publicly or privately through an ephemeral rollup. Accepts an optional Authorization: Bearer <token> header obtained from the /v1/spl/login flow when the request needs to read or write data inside the Private Ephemeral Rollup.
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.
Optional. Authentication token for requests that need to connect to the Private Ephemeral Rollup. Format: Bearer <token>.
"Bearer 1234567890"
Sender wallet pubkey.
"3rXKwQ1kpjBd5tdcco32qsvqUh1BnZjcYnS5kYrP7AYE"
Recipient wallet pubkey.
"Bt9oNR5cCtnfuMmXgWELd6q5i974PdEMQDUE55nBC57L"
SPL mint pubkey.
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
Base-unit amount as an integer JSON value with minimum 1.
x >= 11000000
Use public for a transparent SPL transfer or private to route through the Private Ephemeral Rollup.
public, private Where the sender's balance is held. Drives which RPC the API uses for blockhash and where the client should submit.
base, ephemeral Where the recipient should receive the funds.
base, ephemeral 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. When this transfer route needs a validator and none is provided, the API resolves it from the selected ephemeral RPC via getIdentity.
"MAS1Dt9qreoRMQ14YQuhg8UTZMMzDdKhmkZMECCzk57"
Optional. Initialize the transfer queue if missing.
Optional. Initialize associated token accounts if missing.
Optional. Initialize the vault if missing. Defaults to false.
Optional. Appends a final Memo Program instruction with this UTF-8 message.
"Order #1042"
Optional. Private transfer only. Defaults to 0. Earliest (ms) the queued transfer may settle.
^\d+$"0"
Optional. Private transfer only. Defaults to 0 when omitted, or to minDelayMs when only minDelayMs is set. Must be >= minDelayMs.
^\d+$"0"
Optional. Private transfer only. Encrypted client reference ID that can be used to confirm a payment.
^\d+$"42"
Optional. Private transfer only. Defaults to 1. Number of queue entries to split the transfer across. Must be between 1 and 15 and cannot exceed amount.
x <= 151
Optional. When true, the API uses the configured sponsor as transaction fee payer and prepends a relay-fee token transfer to the sponsor ATA.
true
Optional. Defaults to false. When true, skips lookup-table compilation and returns a legacy transaction. Private base -> base transfers may otherwise return a v0 transaction when a useful lookup table is configured.
Unsigned serialized transaction