Skip to main content
POST
Deposit SPL Tokens

Body

application/json
owner
string
required
Example:

"3rXKwQ1kpjBd5tdcco32qsvqUh1BnZjcYnS5kYrP7AYE"

amount
integer
required

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

Required range: x >= 1
Example:

1

cluster

Optional, defaults to mainnet. mainnet and devnet route to the public ephemeral RPC for that network; mainnet-private and devnet-private route to the TEE-backed Private Ephemeral Rollup and are required for auth and bearer-token-gated reads. A custom http(s) RPC URL overrides only the base RPC while keeping the configured ephemeral RPC.

Available options:
mainnet,
devnet,
mainnet-private,
devnet-private
Example:

"mainnet"

mint
string

Optional. Defaults to Solana USDC on mainnet: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v. On devnet it defaults to devnet USDC: 4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU.

Example:

"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"

validator
string

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

Example:

"MAS1Dt9qreoRMQ14YQuhg8UTZMMzDdKhmkZMECCzk57"

initIfMissing
boolean

Optional. Defaults to true. Adds the instruction that initializes the owner's ephemeral ATA (eATA) if it does not exist. The transfer queue is initialized by /v1/spl/initialize-mint.

initVaultIfMissing
boolean

Optional. Initialize the vault if missing.

initAtasIfMissing
boolean

Optional. Initialize associated token accounts if missing.

idempotent
boolean

Optional. Defaults to true. Selects the deposit builder: true uses the shuttle flow, false the legacy direct deposit. Both leave the eATA delegated.

private
boolean
default:true

Optional. When true, the deposited balance is kept private.

gasless
boolean

Optional. Defaults to false. Uses the configured sponsor as payer and charges 0.2 USDC/USDT from the owner's existing base-chain ATA, in addition to amount. Requires an existing sponsor ATA, an on-curve owner, mainnet USDC/USDT or devnet USDC (including private clusters), and amount of at least 0.5 tokens. Custom clusters are unsupported. The returned transaction includes the sponsor signature; the owner must still sign.

Example:

true

Response

Unsigned serialized transaction

kind
enum<string>
required
Available options:
deposit
version
enum<string>
required
Available options:
legacy,
v0
transactionBase64
string
required
sendTo
enum<string>
required
Available options:
base,
ephemeral
recentBlockhash
string
required
lastValidBlockHeight
integer
required
instructionCount
integer
required
Required range: x >= 0
requiredSigners
string[]
required
validator
string