Skip to main content
Version: Next

wallet.hotwallet

Home > @blaze-cardano/wallet > HotWallet

HotWallet class

Wallet class that interacts with the HotWallet.

Signature:

export declare class HotWallet implements Wallet 

Implements: Wallet

Properties

Property

Modifiers

Type

Description

address

readonly

Address

networkId

readonly

NetworkId

rewardAddress

readonly

RewardAddress | undefined

Methods

Method

Modifiers

Description

fromMasterkey(masterkey, provider, networkId, addressType)

static

generateAccountAddressFromMasterkey(masterkey, networkId, addressType)

static

getBalance()

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

getChangeAddress()

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

getCollateral()

Retrieves the collateral UTxO(s) for the wallet.

getNetworkId()

Retrieves the network ID of the currently connected account.

getRewardAddresses()

Retrieves the reward addresses controlled by the wallet.

getUnspentOutputs()

Retrieves the UTxO(s) controlled by the wallet.

getUnusedAddresses()

Retrieves all unused addresses controlled by the wallet.

getUsedAddresses()

Retrieves all used addresses controlled by the wallet.

postTransaction(tx)

Submits a transaction through the wallet.

signData(address, payload)

Requests signed data from the wallet.

signTransaction(tx, partialSign, signWithStakeKey)

Requests a transaction signature from the wallet.