Get a list of the latest pairs deployed.
Endpoint: getLatestPairs
Method: POST
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 (address:networkId ). |
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 token0 or token1 . |
networkId | Int! | The network ID the pair is deployed on. |
newToken | String! | The newly added token within the pair. Can be token0 or token1 . |
nonLiquidityToken | String | The token with lower liquidity within the pair. Can be token0 or token1 . |
oldToken | String! | The pre-existing token within the pair. Can be token0 or token1 . |
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 token0 . |
token1 | LatestPairToken! | Metadata for token1 . |
transactionHash | String! | The unique hash for the transaction that added liquidity, if applicable, otherwise the transaction that added the pair. |