New Tokens

Live-streamed updates for newly listed tokens.

ℹ️

This endpoint is available on Defined Growth and Enterprise Plans

Endpoint: onLatestPairUpdated

Method: POST

Free Tier New Token Notifications

If you're not an enterprise user and you want to be alerted when new tokens are listed on Defined, set up a sound notification with the Distill Web Monitor plugin (available on the Chrome store).

Response

NameTypeDescription
addressString!The contract address for the pair.
exchangeHashString!The contract address for the exchange.
idString!The ID of the pair (address:networkId).
initialPriceUsdString!The listing price, or first known price for the pair, in USD.
liquidAtIntThe unix timestamp for when liquidity was added to the pair.
liquidityString!The total liquidity in the pair.
liquidityTokenStringThe token with higher liquidity within the pair. Can be token0 or token1.
networkIdInt!The network ID the pair is deployed on.
newTokenString!The newly added token within the pair. Can be token0 or token1.
nonLiquidityTokenStringThe token with lower liquidity within the pair. Can be token0 or token1.
oldTokenString!The pre-existing token within the pair. Can be token0 or token1.
priceChangeFloat!The percent price change between the listing price and the current price.
priceUsdString!The newly added token price in USD.
token0LatestPairToken!Metadata for token0.
token1LatestPairToken!Metadata for token1.
transactionHashString!The unique hash for the transaction that added liquidity, if applicable, otherwise the transaction that added the pair.

Example

Query

subscription LatestPairUpdated($id: String) {
  onLatestPairUpdated(id: $id) {
  }
}

Response



πŸ‘‹

Join our Discord

Ask questions, share what you're working on and request new features :two-men-holding-hands::two-women-holding-hands: