Returns a list of token events for a given wallet address.
Endpoint: getTokenEventsForMaker
Method: POST
Arguments
| Name | Type | Description |
|---|---|---|
| cursor | String | The cursor to use for pagination. |
| direction | RankingDirection | The order to receive the token events. Can be |
| limit | Int | The maximum number of events to return. |
| query | MakerEventsQueryInput! | The query filters to apply to the results. Required |
| Name | Type | Description |
|---|---|---|
| eventType | EventType | The specific event type to filter by. |
| maker | String! | The specific wallet address to filter by. Required |
| networkId | Int | The network ID to filter by. |
| priceUsdTotal | NumberFilter | The total amount of |
| timestamp | EventQueryTimestampInput | The time range to filter by. |
| tokenAddress | String | The token involved in the event. |
Response
| Name | Type | Description |
|---|---|---|
| address | String! | The contract address of the token's top pair. |
| baseTokenPrice | String | The price of the network's base token. |
| blockHash | String! | The hash of the block where the transaction occurred. |
| blockNumber | Int! | The block number for the transaction. |
| data | EventData | The event-specific data for the transaction. Can be
or
or
. |
| eventDisplayType | EventDisplayType | A more specific breakdown of
. Splits
into
or
. |
| eventType | EventType! | The type of transaction event. Can be
,
,
,
,
, or
. |
| id | String! | The ID of the event (
). For example,
. |
| labels | LabelsForEvent | Labels attributed to the event. |
| liquidityToken | String | The contract address of the token with higher liquidity in the token's top pair. |
| logIndex | Int! | The index of the log in the block. |
| maker | String | The wallet address that performed the transaction. |
| networkId | Int! | The network ID that the token is deployed on. |
| quoteToken | QuoteToken | The token of interest within the token's top pair. Can be
or
. |
| timestamp | Int! | The unix timestamp for when the transaction occurred. |
| token0Address | String | The address of the event's token0. |
| token0PoolValueUsd | String | The updated price of
in USD, calculated after the transaction. |
| token0SwapValueUsd | String | The price of
paid/received in USD, including any fees. |
| token0ValueBase | String | The price of
paid/received in the network's base token, including fees. |
| token1Address | String | The address of the event's token1. |
| token1PoolValueUsd | String | The updated price of
in USD, calculated after the transaction. |
| token1SwapValueUsd | String | The price of
paid/received in USD, including any fees. |
| token1ValueBase | String | The price of
paid/received in the network's base token, including fees. |
| transactionHash | String! | The unique hash for the transaction. |
| transactionIndex | Int! | The index of the transaction within the block. |
| walletAge | Int | The age of the wallet in seconds. |
| walletLabels | [String!] | Labels attributed to the wallet. |
Explore
Ask questions, share what you're working on and request new features 👬👭