Other Exports

JSBI

import { JSBI } from '@uniswap/sdk'
// import JSBI from 'jsbi'

The default export from jsbi.

BigintIsh

import { BigintIsh } from '@uniswap/sdk'
// type BigintIsh = JSBI | bigint | string

A union type comprised of all types that can be cast to a JSBI instance.

ChainId

import { ChainId } from '@uniswap/sdk'
// enum ChainId {
//   MAINNET = 1,
//   ROPSTEN = 3,
//   RINKEBY = 4,
//   GΓ–RLI = 5,
//   KOVAN = 42
// }

A enum denominating supported chain IDs.

TradeType

A enum denominating supported trade types.

Rounding

A enum denominating supported rounding options.

FACTORY_ADDRESS

The factory address.

INIT_CODE_HASH

See Pair Addresses.

MINIMUM_LIQUIDITY

See Minimum Liquidity.

InsufficientReservesError

InsufficientInputAmountError

WETH

An object whose values are WETH Token instances, indexed by ChainId.