Skip to content
docs

swapSource

swapSource(token): object

Defined in: table.ts:122

The swap options that name a user token as the source: its address and decimals. Pass them to an engine created with allowUnlistedTokens: true.

Pick<UserToken, "address" | "decimals">

object

fromToken: string

fromTokenDecimals: number