Subscriptions

onBarsUpdated


Live-streamed bar chart data to track price changes over time.

Type: OnBarsUpdatedResponse

Arguments for onBarsUpdated

NameDescription
pairId (String)The ID of the pair (address:networkId).
quoteToken (QuoteToken)The token of interest within the pair. Can be token0 or token1.

onDetailedStatsUpdated


Live-streamed bucketed stats for a given token within a pair.

Type: DetailedStats

Arguments for onDetailedStatsUpdated

NameDescription
pairId (String)The ID of the pair (address:networkId).
tokenOfInterest (TokenOfInterest)The token of interest within the pair. Can be token0 or token1.

onEventLabelCreated


Live-streamed event labels for a token.

Type: EventLabel

Arguments for onEventLabelCreated

NameDescription
id (String)The ID of the pair (address:networkId).

onEventsCreated


Live-streamed transactions for a token.

Type: AddEventsOutput

Arguments for onEventsCreated

NameDescription
address (String)The pair contract address.
id (String)The ID of the pair (address:networkId).
quoteToken (QuoteToken)The token of interest within the pair. Can be token0 or token1.

onLatestPairUpdated


Live-streamed updates for newly listed pairs.

Type: LatestPair

Arguments for onLatestPairUpdated

NameDescription
id (String)The ID of the pair (address:networkId).
networkId (Int)The network ID the pair is deployed on.

onLatestTokens


Type: LatestToken

Arguments for onLatestTokens

NameDescription
id (String)The ID of the token (tokenAddress:networkId).
networkId (Int)The network ID the token is deployed on.
tokenAddress (String)The address of the token contract.

onNftAssetsCreated


Live-streamed transactions for an NFT asset.

Type: NftAsset

Arguments for onNftAssetsCreated

NameDescription
address (String)The contract address for the NFT collection
networkId (Int)The network ID the NFT collection is deployed on.
tokenId (String)The token ID of the NFT asset.

onNftEventsCreated


Live-streamed transactions for an NFT collection.

Type: AddNftEventsOutput

Arguments for onNftEventsCreated

NameDescription
address (String)The contract address for the NFT collection.
networkId (Int)The network ID the NFT collection is deployed on.

onNftPoolEventsCreated


Live streamed nft pool events for a given pool address or collection address

Type: AddNftPoolEventsOutput

Arguments for onNftPoolEventsCreated

NameDescription
collectionAddress (String)
exchangeAddress (String)
networkId (Int)
poolAddress (String)

onPairMetadataUpdated


Live-streamed stat updates for a given token within a pair.

Type: PairMetadata

Arguments for onPairMetadataUpdated

NameDescription
id (String)The ID of the pair (address:networkId).
quoteToken (QuoteToken)The token of interest within the pair. Can be token0 or token1.

onPriceUpdated


Live-streamed price updates for a token.

Type: Price

Arguments for onPriceUpdated

NameDescription
address (String)The token contract address.
networkId (Int)The network ID the token is deployed on.

onSimulateTokenContract


Type: SimulateTokenContractResult!

Arguments for onSimulateTokenContract

NameDescription
contractAddress (String)
networkId (Int!)
simulationId (String)