Constructors
Methods
Abstract
getBalance
- getBalance(): Promise<Value>
Returns Promise<Value>
- The balance of the wallet.
Abstract
getChangeAddress
- getChangeAddress(): Promise<Address>
Returns Promise<Address>
Abstract
getCollateral
- getCollateral(): Promise<TransactionUnspentOutput[]>
Returns Promise<TransactionUnspentOutput[]>
- The collateral for the wallet.
Abstract
getNetworkId
- getNetworkId(): Promise<NetworkId>
Returns Promise<NetworkId>
- The network ID of the currently connected account.
Abstract
getRewardAddresses
- getRewardAddresses(): Promise<RewardAddress[]>
Returns Promise<RewardAddress[]>
- The reward addresses controlled by the wallet.
Abstract
getUnspentOutputs
- getUnspentOutputs(): Promise<TransactionUnspentOutput[]>
Returns Promise<TransactionUnspentOutput[]>
- The UnspentOutputs controlled by the wallet.
Abstract
getUnusedAddresses
- getUnusedAddresses(): Promise<Address[]>
Returns Promise<Address[]>
- The unused addresses controlled by the wallet.
Abstract
getUsedAddresses
- getUsedAddresses(): Promise<Address[]>
Returns Promise<Address[]>
- The used addresses controlled by the wallet.
Abstract
postTransaction
- postTransaction(tx): Promise<TransactionId>
Returns Promise<TransactionId>
- The ID of the submitted transaction.
Abstract
signData
- signData(address, payload): Promise<CIP30DataSignature>
Parameters
- address: Address
- payload: string
Abstract
signTransaction
- signTransaction(tx, partialSign): Promise<TransactionWitnessSet>
Parameters
- tx: Transaction
- partialSign: boolean
Returns Promise<TransactionWitnessSet>
Abstract class for Wallet.