This endpoint requires a Enterprise plan. Learn more.
Returns
AddTokenEventsOutput!
required
Show Properties
Show Properties
The ID of the event (
address:networkId). For example, 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2:1.[Event!]!
required
A list of transactions for the token.
Show Properties
Show Properties
The event-specific data for the transaction. Can be
BurnEventData or MintEventData or SwapEventData.Show Properties
Show Properties
Show Properties
Show Properties
The amount of
token0 removed from the pair, adjusted by the number of decimals in the token. For example, if amount0 is in WEI, amount0Shifted will be in ETH.The amount of
token1 removed from the pair, adjusted by the number of decimals in the token. For example, USDC amount1Shifted will be by 6 decimals.Show Properties
Show Properties
The amount of
token0 added to the pair, adjusted by the number of decimals in the token. For example, if amount0 is in WEI, amount0Shifted will be in ETH.The amount of
token1 added to the pair, adjusted by the number of decimals in the token. For example, USDC amount1Shifted will be by 6 decimals.Show Properties
Show Properties
The amount of
quoteToken involved in the swap. For example, if quoteToken is USDC for a USDC/WETH pair, amountNonLiquidityToken would be the amount of USDC involved in the swap.The price per
quoteToken at the time of the swap in the network’s base token. For example, if quoteToken is USDC for a USDC/WETH pair on ETH network, priceBaseToken would the price of USDC in ETH.The total amount of
quoteToken involved in the swap in the network’s base token (amountNonLiquidityToken x priceBaseToken).The price per
quoteToken at the time of the swap in USD. For example, if quoteToken is USDC for a USDC/WETH pair on ETH network, priceBaseToken would the price of USDC in USD ($1.00).The total amount of
quoteToken involved in the swap in USD (amountNonLiquidityToken x priceUsd).Show Properties
Show Properties
The amount of
token0 added or removed from the pair, adjusted by the number of decimals in the token. For example, if amount0 is in WEI, amount0Shifted will be in ETH.The amount of
token1 added or removed from the pair, adjusted by the number of decimals in the token. For example, USDC amount1Shifted will be by 6 decimals.EventType!
required
The ID of the event (
address:networkId). For example, 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2:1.The contract address of the token with higher liquidity in the token’s top pair.
Labels attributed to the event.
Show Properties
Show Properties
Show Properties
Show Properties
SandwichLabelForEventType!
required
Arguments
OnTokenEventsCreatedInput!
required