Skip to main content
Version: 0.2.38

sdk.hotsinglewallet

Home > @blaze-cardano/sdk > HotSingleWallet

HotSingleWallet class

Wallet class that interacts with the HotSingleWallet. This is like HotWallet, but without key derivation.

Signature:

declare class HotSingleWallet implements Wallet$1 

Implements: Wallet$1

Constructors

Constructor

Modifiers

Description

(constructor)(paymentSigningKey, networkId, provider, stakeSigningKey)

Constructs a new instance of the HotSingleWallet class.

Properties

Property

Modifiers

Type

Description

address

readonly

Address

networkId

readonly

NetworkId

Methods

Method

Modifiers

Description

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. Not supported, will always throw an error.

signTransaction(tx, partialSign)

Requests a transaction signature from the wallet.