Skip to main content
Version: 0.2.38

sdk.cip30interface

Home > @blaze-cardano/sdk > CIP30Interface

CIP30Interface interface

CIP-30 Wallet interface.

Signature:

interface CIP30Interface 

Methods

Method

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 all collateral UTXOs owned by the wallet.

getNetworkId()

Retrieves the network ID of the currently connected account.

getRewardAddresses()

Retrieves all reward addresses owned by the wallet.

getUnusedAddresses()

Retrieves all unused addresses controlled by the wallet.

getUsedAddresses()

Retrieves all used addresses controlled by the wallet.

getUtxos()

Retrieves the unspent transaction outputs (UTXOs) controlled by the wallet.

signData(address, payload)

Request's a user's signature for a given payload conforming to the [CIP-0008 signing spec](https://github.com/cardano-foundation/CIPs/blob/master/CIP-0008/README.md)

signTx(tx, partialSign)

Requests a user's signature for the unsigned portions of a transaction.

submitTx(tx)

Submits a signed transaction to the network.