Swap

Send a signed Solana transaction RAVN must check or land (a TRANSACTION carrying `submit`: Layerswap memo payments and Jupiter orders, except one carrying your fee under Jupiter's 50 bps minimum; broadcastViaRavn quotes only)

post/api/v1/submit-transaction

Request

  • Base URL: https://app.ravn.exchange
  • URL: https://app.ravn.exchange/api/v1/submit-transaction
  • Auth: one of:
    • API key in header x-api-key
    • none

Request body

quoteTokenstring required

The quoteToken from the /v1/execute response whose transaction carries submit (not the one from /v1/quote).

signedTransactionstring required

That response's transaction.serialized after your user's wallet signed it (a partial signature where it names a second signer, e.g. Jupiter's market maker), base64, otherwise unchanged.

Response

Checked and sent (Jupiter: landed; allow the call up to 2 minutes) — txHash is the Solana signature; poll POST /api/v1/status with execute's statusRef, or with this txHash when execute gave none. Posting the same signed transaction again is safe and answers the same txHash once it has landed.

Changes

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