Docs/Forensics/Replay a transaction

Replay a transaction

GET/v1/replay/tx/{signature}🔑 API key required

Forensic replay of one transaction: decoded swaps (venue, side, amounts), the programs it touched, fee and slot/blockTime — using the same decode engine as the live indexer. Premium: requires a Scale or Enterprise plan (returns 402 otherwise).

Path parameters

FieldTypeDescription
signaturerequiredstringThe transaction signature (base58).

Response fields

FieldTypeDescription
slot / blockTimenumberWhen the transaction landed.
feePayer / fee / errstring / number / object|nullFee payer, lamport fee, and on-chain error (null if it succeeded).
programs[]string[]Programs the transaction touched (best-effort; ALT-loaded programs may be omitted).
swapCountnumberNumber of decoded swap legs.
swaps[].dex / sidestringVenue and buy/sell.
swaps[].baseMint / quoteMint / baseAmount / quoteAmountstring / numberThe legs of the swap.
swaps[].poolAddress / signerstringPool and signer.
Premium (Scale+): free/builder get 402 payment_required. Complex aggregator / address-table (v0) transactions may decode fewer legs in this v1 RPC view; full-trace coverage is rolling out. To replay a whole historical block, see Replay a slot.