Preparing search index...
The search index is not available
@hackbg/fadroma
@hackbg/fadroma
@hackbg/fadroma
Swap
Class Swap
A pair of token amounts.
Hierarchy
Swap
Index
Constructors
constructor
Properties
a
b
Accessors
as
Native
Balance
Constructors
constructor
new
Swap
(
a
:
Amount
, b
:
Amount
)
:
Swap
Parameters
a:
Amount
b:
Amount
Returns
Swap
Properties
Readonly
a
a
:
Amount
Readonly
b
b
:
Amount
Accessors
as
Native
Balance
get
asNativeBalance
(
)
:
ICoin
[]
Pass this to 'send' field of ExecOpts
Returns
ICoin
[]
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@hackbg/fadroma
@fadroma/agent
Mocknet
bip32
bip39
colors
@fadroma/connect
Mocknet
Scrt
SecretJS
bip32
bip39
colors
@fadroma/scrt
SecretJS
@hackbg/fadroma
Mocknet
Scrt
SecretJS
bip32
bip39
colors
Swap
constructor
a
b
as
Native
Balance
Generated using
TypeDoc
A pair of token amounts.