SwapHop
@totemsdk/omnia-router / SwapHop
Interface: SwapHop
Extends
Properties
amount
amount:
bigint
Inherited from
amountIn
amountIn:
bigint
amountOut
amountOut:
bigint
channelId
channelId:
string
Inherited from
from
from:
string
Inherited from
htlcId?
optionalhtlcId?:string
Populated during payment execution
Inherited from
inboundChannelId
inboundChannelId:
string
isSwap
isSwap:
true
outboundChannelId
outboundChannelId:
string
rate
rate:
string
"amountOut per amountIn" expressed as decimal string, e.g. "0.95"
to
to:
string
Inherited from
tokenId
tokenId:
string
Inherited from
tokenIn
tokenIn:
string
tokenOut
tokenOut:
string