Solana Yield

Build unsigned Solana deposit transaction bundle

Returns a bundle of 1-2 unsigned Solana VersionedTransactions (fee tx + deposit tx). Agent signs and submits both. Non-custodial — Coin Railz never holds funds. Min $5 USDC. Optionally pass idempotency_key to prevent duplicate fee charges on retry.

post/api/solana-yield/deposit-tx

Request

  • Base URL: https://coinrailz.com
  • URL: https://coinrailz.com/api/solana-yield/deposit-tx
  • Auth: none required

Request body

walletstring required

Agent's Solana wallet public key (base58)

amount_usdcnumber required

USDC amount in dollars. Min 5. Example: 10 for $10 USDC.

amount_rawstring

Alternative: USDC amount in raw lamports (6 decimals). Min 5000000. Overrides amount_usdc if provided.

idempotency_keystring

Optional. Unique key (UUID) to prevent duplicate fee charges if you retry. Same key+wallet+amount within 120s returns 409.

Response

Transaction bundle with base64-encoded transactions and bundle_expires_at

Changes

No recorded changes to this operation across all 1 revision of this API.