Get tokens

Get tokens on Uniswap V2

Ethereum
Ethereum
Base
Base

Reads onchain state

Reads the token0 and token1 addresses of a Uniswap V2 pair. The pair's token0 and token1 are returned in the pair's canonical order, tagged as tokens. Reach for it when the pair is chosen at runtime and later steps need the concrete addresses to approve, quote, or read balances of.

On other protocols · 6