Pairs for Token

Returns a list of pairs for a token.

Endpoint: listPairsForToken

Method: POST

Arguments

NameTypeDescription
limitInt

The maximum number of pairs to return.

networkIdInt!

The network ID the token is deployed on.

Required
tokenAddressString!

The contract address of the token.

Required

Response

NameTypeDescription
addressString!The contract address of the pair.
createdAtIntThe unix timestamp for the creation of the pair.
exchangeHashString!The address for the exchange factory contract.
feeIntThe exchange fee for swaps.
idString!The ID for the pair (address:networkId).
networkIdInt!The network ID the pair is deployed on.
pooledPooledTokenValuesThe pooled amounts of each token in the pair.
tickSpacingIntThe amount of required tick separation. Only applicable for pairs on UniswapV3.
token0String!The contract address of token0.
token0DataEnhancedTokenMetadata for the first token in the pair.
token1String!The contract address of token1.
token1DataEnhancedTokenMetadata for the second token in the pair.

Explore


👋

Join our Discord

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