Skip to main content

TypeScript shape

String!
Always "SwapEventData".
EventType!
Always Swap. See EventType.
String
Signed raw amount of token0 (positive = into pool, negative = out of pool).
String
Signed raw amount of token1.
String
Token0 amount entering the pool. Null on the historical path; populated by the live subscription.
String
Token0 amount leaving the pool. Null on the historical path.
String
Token1 amount entering the pool. Null on the historical path.
String
Token1 amount leaving the pool. Null on the historical path.
String
Decimal amount of the quote-side token. Populated only when the request specifies quoteToken.
String
Per-unit USD price for the quote-side token. Defaults to token0 if quoteToken not supplied.
String
Total USD value of the swap (amount_usd).
String
Per-unit price denominated in the chain’s base token. Null on the historical path; populated by the live subscription.
String
Total swap value denominated in the chain’s base token. Null on the historical path.
String
V3 post-swap pool tick. Null on the historical path (column not preserved at extraction time).