Skip to main content

WalletProvider

For the complete documentation index, see llms.txt

Midnight.js API Reference v4.0.4


Midnight.js API Reference / @midnight-ntwrk/midnight-js-types / WalletProvider

Interface: WalletProvider

Interface representing a WalletProvider that handles operations such as transaction balancing and finalization, and provides access to cryptographic secret keys.

Methods

balanceTx()

balanceTx(tx, ttl?): Promise<FinalizedTransaction>

트랜잭션을 밸런싱합니다.

Parameters

tx

UnboundTransaction

밸런싱할 트랜잭션입니다.

ttl?

Date

Returns

Promise<FinalizedTransaction>


getCoinPublicKey()

getCoinPublicKey(): string

Returns

string


getEncryptionPublicKey()

getEncryptionPublicKey(): string

Returns

string