Skip to main content
Version: 0.4.9

wallet.wallet

Home > @blaze-cardano/wallet > Wallet

Wallet class

Abstract class for Wallet.

Signature:

export declare abstract class Wallet 

Methods

Method

Modifiers

Description

getBalance()

abstract

Retrieves the total available balance of the wallet, encoded in CBOR.

getChangeAddress()

abstract

Retrieves an address owned by the wallet which should be used to return transaction change.

getCollateral()

abstract

Retrieves the collateral UnspentOutputs for the wallet.

getNetworkId()

abstract

Retrieves the network ID of the currently connected account.

getRewardAddresses()

abstract

Retrieves the reward addresses controlled by the wallet.

getUnspentOutputs()

abstract

Retrieves the UnspentOutputs controlled by the wallet.

getUnusedAddresses()

abstract

Retrieves all unused addresses controlled by the wallet.

getUsedAddresses()

abstract

Retrieves all used addresses controlled by the wallet.

postTransaction(tx)

abstract

Posts a transaction through the wallet.

signData(address, payload)

abstract

Requests signed data from the wallet.

signTransaction(tx, partialSign)

abstract

Requests a transaction signature from the wallet.