Skip to main content
GET
Swaps of one transaction, by signature

Authorizations

X-API-Key
string
header
required

Preferred for swaps-api endpoints (/swaps/*, /stats/*, /trending, /pool-events).

Path Parameters

signature
string
required

Response

Every swap of the transaction

Every swap of one transaction, returned by GET /swaps/{signature}.

signature
string
required

The transaction signature that was requested.

total
integer
required

Number of swaps in swaps. The swaps of one transaction are never paged, so this is always swaps.length.

swaps
object[]
required

Every swap the transaction emitted, at least one. A transaction with one swap gives a one-element array. The order is fixed: ascending slot, block_tx_index and ix_index, then dex (the venue id), with a fixed final tie-break, so the same request always returns the same order. ix_index is numbered per decoder (see its description), so the order is the order the swaps ran in only among swaps read by the same decoder; across venues it is deterministic but not execution order.

price_semantics
string
required

A short, machine-readable note on how the price fields in this response are derived. Emitted on every response so a client never has to infer it from the docs. Treat it as informational text, not a stable enum — the wording may change as derivations change.