Helios API/ API Reference/ Classes/
RemoteWallet
Implements
Implements
Index
Constructors
constructor
• new RemoteWallet(isMainnet
, usedAddresses
, unusedAddresses
, utxos
)
Parameters
Accessors
collateral
• get
collateral(): Promise
<TxInput
[]>
Returns
Promise
<TxInput
[]>
Implementation of
rewardAddresses
• get
rewardAddresses(): Promise
<StakeAddress
[]>
Returns
Promise
<StakeAddress
[]>
Implementation of
unusedAddresses
• get
unusedAddresses(): Promise
<Address
[]>
Returns
Promise
<Address
[]>
Implementation of
usedAddresses
• get
usedAddresses(): Promise
<Address
[]>
Returns
Promise
<Address
[]>
Implementation of
utxos
• get
utxos(): Promise
<TxInput
[]>
Returns
Promise
<TxInput
[]>
Implementation of
Methods
isMainnet
▸ isMainnet(): Promise
<boolean
>
Returns
Promise
<boolean
>
Implementation of
signData
▸ signData(addr
, message
): Promise
<{ key
: string
; signature
: string
}>
Parameters
Name | Type |
---|---|
addr | Address |
message | string |
Returns
Promise
<{ key
: string
; signature
: string
}>
Implementation of
signTx
▸ signTx(tx
): Promise
<Signature
[]>
Parameters
Name | Type |
---|---|
tx | Tx |
Returns
Promise
<Signature
[]>
Implementation of
submitTx
▸ submitTx(tx
): Promise
<TxId
>
Parameters
Name | Type |
---|---|
tx | Tx |
Returns
Promise
<TxId
>
Implementation of
fromJson
▸ Static
fromJson(obj
): RemoteWallet
Parameters
Name | Type |
---|---|
obj | any |