Skip to main content

TypeScript shape

interface OnPricesUpdatedInput {
  address: string;
  networkId: number;
  sourcePairAddress?: string | null;
}
address
String!
required
Token contract address.
networkId
Int!
required
Network ID the token is deployed on (e.g. 1 for Ethereum, 1399811149 for Solana).
sourcePairAddress
String
Pair contract address from which to derive pricing for this token. Defaults to the token’s top pair.