Wallet Payments

Create Solana Tx

Build a Solana SPL USDC transfer transaction and return base64 bytes.

Creates a payment intent binding the sender to the caller's API key. The frontend passes these bytes to Phantom which deserializes, simulates, and signs using its own @solana/web3.js — avoiding cross-module issues.

post/api/v1/wallet/create-solana-tx

Request

  • Base URL: https://cryptodataapi.com
  • URL: https://cryptodataapi.com/api/v1/wallet/create-solana-tx
  • Auth: API key in header X-API-Key

Request body

senderstring required
planstring required
discount_codestring nullable

Response

Successful Response

unknown required

Changes

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