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.
Parameters
Section titled “Parameters”Pick<UserToken, "address" | "decimals">
Returns
Section titled “Returns”object
fromToken
Section titled “fromToken”fromToken:
string
fromTokenDecimals
Section titled “fromTokenDecimals”fromTokenDecimals:
number