Get a list of the latest pairs deployed.
Endpoint: getLatestPairs
Method: POST
This endpoint is being deprecated. UsefilterTokenswithcreatedAt: DESCas a ranking attribute. <https://docs.codex.io/reference/filtertokens
Arguments
Response
| Name | Type | Description |
|---|---|---|
| cursor | String | A cursor for use in pagination. |
| items | [LatestPair!] ! | A list of newly listed pairs. |
| Name | Type | Description |
|---|---|---|
| address | String! | The contract address for the pair. |
| exchangeHash | String! | The contract address for the exchange. |
| id | String! | The ID of the pair (
). |
| initialPriceUsd | String! | The listing price, or first known price for the pair, in USD. |
| liquidAt | Int | The unix timestamp for when liquidity was added to the pair. |
| liquidity | String! | The total liquidity in the pair. |
| liquidityToken | String | The token with higher liquidity within the pair. Can be
or
. |
| networkId | Int! | The network ID the pair is deployed on. |
| newToken | String! | The newly added token within the pair. Can be
or
. |
| nonLiquidityToken | String | The token with lower liquidity within the pair. Can be
or
. |
| oldToken | String! | The pre-existing token within the pair. Can be
or
. |
| priceChange | Float! | The percent price change between the listing price and the current price. |
| priceUsd | String! | The newly added token price in USD. |
| token0 | LatestPairToken! | Metadata for
. |
| token1 | LatestPairToken! | Metadata for
. |
| transactionHash | String! | The unique hash for the transaction that added liquidity, if applicable, otherwise the transaction that added the pair. |
Explore
Ask questions, share what you're working on and request new features 👬👭