Flash

Submit a setup transaction

Changed on

Broadcast a funder-signed pre-trade setup transaction from QuoteResponse.setupTxs — no RPC provider needed. status: "pending" means broadcast but not yet confirmed, which is normal on slower chains: poll the transaction you signed rather than re-signing it. A FAILED_PRECONDITION error means the transaction went stale (expired blockhash, spent nonce, stale fees): request a new quote and re-sign.

post/setup-transaction

Request

  • Base URL
    https://flash.definitive.fi/v1
  • Auth
    API key in header x-definitive-api-key

Request body

signedSetupTxstring required

One fully funder-signed entry from QuoteResponse.setupTxs: 0x-prefixed hex for EVM, base64 for Solana. Submit entries one per call, in order.

Response

Setup transaction accepted

status'confirmed' | 'pending' required

confirmed — the transaction reached the chain (Solana: confirmed commitment; EVM: included in a block), so the next setup transaction or the order can be submitted. pending — broadcast but not confirmed within the wait window, which is normal on slower chains: poll the transaction you signed, do not re-sign it.

Changes