latestOpenAPI 3.1.02026-08-108094177.6 KB

087dcf516ce2

External Wallet Access Mode

Get off-ramp quote (Solana)

Returns execution parameters and a fiat-credit quote for a Solana USDC deposit, including an optional server-built unsigned VersionedTransaction. Partner-signed request on the partner API base URL. Validate the transaction structure before signing; production callers must pass network mainnet explicitly.

post/v1/solana/deposit/quote

Headers

X-Api-Signaturestring required

Partner's EIP-191 signature (0x-prefixed hex).

X-Api-Deadlinestring required

Unix seconds when the request signature expires (within 5 minutes).

X-Api-PublicKeystring

Partner's signer Ethereum address.

Request body

urIdinteger required

User URID.

solanaAddressstring required

User's Solana address (Base58); must match the transaction signing key.

usdcAmountstring required

Planned USDC input in smallest units (6 decimals). Minimum 5 USDC ("5000000").

outputCurrencystring required

Target fiat currency code, e.g. USD.

minUsdcAmountstring

Client-side slippage floor in smallest units. Omit or pass "0" for USDC-only deposits; the on-chain check runs after fee deduction.

networkstring

Solana cluster: mainnet for production, devnet for testing. Defaults to devnet when omitted.

computeUnitPriceinteger

Solana priority fee in micro-lamports per compute unit. Server default 1000.

Response

Response envelope. For the user API, retCode 0 means success; for the partner API, code 0 means success. Business rejections return HTTP 200 with a non-zero code.

codeinteger required

0 on success; non-zero indicates a business rejection.

messagestring required

Human-readable diagnostic; empty on success.

{"stackTrail":"components:schemas:DcEnvelope:properties:data","oasType":"schema","type":"unknown","description":"Business payload. Shape depends on the endpoint."}