Skip to main content

Miscellaneous

All the other miscellaneous exports included in the SDK

JSBI#

The default export from jsbi.

BigintIsh#

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

ChainId#

A enum denominating supported chain IDs.

enum ChainId {
MAINNET = 1,
ROPSTEN = 3,
RINKEBY = 4,
GÖRLI = 5,
KOVAN = 42
}

TradeType#

A enum denominating supported trade types.
enum TradeType {
EXACT_INPUT,
EXACT_OUTPUT
}

Rounding#

A enum denominating supported rounding options.

enum Rounding {
ROUND_DOWN,
ROUND_HALF_UP,
ROUND_UP
}