Token Events For Maker

Endpoint: getTokenEventsForMaker

Method: POST

Arguments

NameTypeDescription
cursorString

The cursor to use for pagination.

directionRankingDirection

The order to receive the token events. Can be DESC (default) or ASC.

limitInt

The maximum number of events to return.

queryMakerEventsQueryInput!

The query filters to apply to the results.

Required

NameTypeDescription
eventTypeEventType

The specific event type to filter by.

makerString!

The specific wallet address to filter by.

Required
networkIdInt

The network ID to filter by.

priceUsdTotalNumberFilter

The total amount of quoteToken involved in the swap in USD (amountNonLiquidityToken x priceUsd).

timestampEventQueryTimestampInput

The time range to filter by.

tokenAddressString

The token involved in the event.

Response

NameTypeDescription
cursorStringA cursor for use in pagination.
items[Event]A list of transactions for a token's top pair.

NameTypeDescription
addressString!The contract address of the token's top pair.
baseTokenPriceStringThe price of the network's base token.
blockHashString!The hash of the block where the transaction occurred.
blockNumberInt!The block number for the transaction.
dataEventDataThe event-specific data for the transaction. Can be BurnEventData or MintEventData or SwapEventData.
eventDisplayTypeEventDisplayTypeA more specific breakdown of eventType. Splits Swap into Buy or Sell.
eventTypeEventType!The type of transaction event. Can be Burn, Mint, Swap, Sync, Collect, or CollectProtocol.
idString!The ID of the event (address:networkId). For example, 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2:1.
labelsLabelsForEventLabels attributed to the event.
liquidityTokenStringThe contract address of the token with higher liquidity in the token's top pair.
logIndexInt!The index of the log in the block.
makerStringThe wallet address that performed the transaction.
networkIdInt!The network ID that the token is deployed on.
quoteTokenQuoteTokenThe token of interest within the token's top pair. Can be token0 or token1.
timestampInt!The unix timestamp for when the transaction occurred.
token0AddressStringThe address of the event's token0.
token0PoolValueUsdStringThe updated price of token0 in USD, calculated after the transaction.
token0SwapValueUsdStringThe price of token0 paid/received in USD, including any fees.
token0ValueBaseStringThe price of token0 paid/received in the network's base token, including fees.
token1AddressStringThe address of the event's token1.
token1PoolValueUsdStringThe updated price of token1 in USD, calculated after the transaction.
token1SwapValueUsdStringThe price of token1 paid/received in USD, including any fees.
token1ValueBaseStringThe price of token1 paid/received in the network's base token, including fees.
transactionHashString!The unique hash for the transaction.
transactionIndexInt!The index of the transaction within the block.

👋

Join our Discord

Ask questions, share what you're working on and request new features 👬👭