Returns the "network magic," a unique number identifying the Cardano network.
A promise that resolves to the network magic number (e.g., Mainnet: 764824073, Preprod: 1).
Returns the wallet's active public DRep (Delegated Representative) key.
A promise that resolves to the hex-encoded public DRep key.
Returns public stake keys from the wallet that are currently registered for on-chain governance voting.
A promise that resolves to an array of hex-encoded public stake keys.
Returns public stake keys from the wallet that are NOT yet registered for on-chain governance voting.
A promise that resolves to an array of hex-encoded public stake keys.
Creates and initializes a new transaction builder with the wallet's current state.
A promise that resolves to a pre-configured TransactionBuilder instance.
This method simplifies transaction construction by automatically pre-populating the builder with:
The returned builder is ready for you to add outputs and other transaction details.
Returns the wallet's reward addresses, used for receiving staking rewards.
A promise that resolves to an array of Bech32-encoded reward addresses.
Requests the user to sign arbitrary data with a specific address, compliant with CIP-8.
The Bech32-encoded address to sign with.
The hex-encoded data payload to be signed.
A promise that resolves to the signature and public key.
Requests the user to sign a given transaction.
The transaction to be signed, provided as a CBOR hex string.
If true, the wallet will only add its witness and not require all signatures to be present. This is for multi-signature transactions.
A promise that resolves to the CBOR hex string of the transaction witness set.
Defines the standard interface for a Cardano wallet. This interface provides dApps with a consistent way to interact with a user's wallet for querying information and requesting transaction creation.