Class Wallet

Expand description

A rudimentary wallet interface

Properties§

§readonly address: ShelleyAddress
§readonly paymentCredential: Credential
§readonly verificationKey: VerificationKey

Accessors§

§

get exitAddress(): ShelleyAddress

§

set exitAddress(value: ShelleyAddress): void

§

get stakeCredential(): Credential

§

set stakeCredential(value: Credential): void

Methods§

§

balance(connector: Connector): Promise<bigint>

Retrieve the balance of the underlying L1 wallet.

§

free(): void

§

resetExitAddress(): void

§

resetStakeCredential(): void

§

transactions(connector: Connector): Promise<TransactionSummary[]>

Retrieve the transaction activity around the underlying L1 wallet. This includes channels opening and closing, but not intermediate operation on channels that do not involve the wallet.