Deposits

Prepare a Solana wallet transfer

The unsigned Solana transaction that pays amount (USD; 1 coin = $1) of the method’s coin from the wallet from to your own Solana deposit address: it creates the receiving token account if needed, then transfers. Your wallet signs and sends it (Wallet Standard solana:signAndSendTransaction); then pass its signature to POST /deposits/check. Nothing is signed or sent by Spoofy. On EVM networks, send an ERC-20 transfer to your address yourself.

post/api/v1/deposits/prepare

Request

  • Base URL: https://spoofy.social
  • URL: https://spoofy.social/api/v1/deposits/prepare
  • Auth: one of:
    • HTTP bearer
    • API key in cookie better-auth.session_token

Request body

methodstring required
fromstring required

The paying wallet’s Solana address.

amountstring required

The amount to pay. USD as a decimal string.

Response

The transaction to sign.

methodstring
transactionstring

base64, one empty signature slot

fromstring
tostring
amountstring

The amount. USD as a decimal string.

lastValidBlockHeightstring

Changes

No recorded changes to this operation across all 2 revisions of this API.