Type Alias: SwapAction
@torque-labs/torque-utils • Docs
@torque-labs/torque-utils / SwapAction
Type Alias: SwapAction
type SwapAction: {
inAmount: null | number;
inToken: null | string;
outAmount: null | number;
outToken: null | string;
usdcValue: null | number;
};Swap action type
Type declaration
Name
Type
Description
inAmount?
null | number
The amount of tokens to swap from
inToken?
null | string
The token to swap from
outAmount?
null | number
The amount of tokens to swap to
outToken?
null | string
The token to swap to
usdcValue?
null | number
The USDC value TODO: USDC Value for which token?
Defined in
Last updated