The wallet provider.
The wallet provider of bittap wallet js bridge.
Connects to the Bittap wallet SDK.
Creates an invoice of current wallet account.
The options for creating the invoice.
Retrieves the current assets of the wallet.
Retrieves the current invoices of the wallet.
The options for requesting invoices.
Searches for assets based on the provided options.
The options for the asset search.
Sends taproot assets.
The send assets options.
Set the auto-connect attribute. If set to true, the wallet SDK will attempt to automatically connect to the wallet. If set to false, the user will need to manually connect to the wallet.
The value of the auto-connect attribute to be set.
Registers a callback function to be executed when the account changes.
The callback function to be executed. Takes an object with network and account information as a parameter.
Adds a listener for all transactions and calls a callback function when a transaction occurs.
The callback function to be called when a transaction occurs. Takes a ResponseTxInfo object as a parameter.
Switches the network of the wallet SDK.
The new network type to switch to.
Optional
url: stringOptional URL for the new network.
Transfers BTC assets.
The transfer options.
Static
installed
Bittap wallet js SDK. This class provides functionality for interacting with a wallet. WalletSdk
Param: _initOpts
The initialization options for the wallet SDK.