Signs a PSBT using UniSat wallet.
The hex string of PSBT to sign
Optionaloptions: SignPsbtOptionsOptions for signing the PSBT
A promise that resolves to the signed PSBT hex string
Broadcasts a signed PSBT to the Bitcoin network.
The hex string of signed PSBT to broadcast
A promise that resolves to the transaction ID
Requests user accounts.
A promise that resolves to an array of account addresses.
Gets the current network.
current network.
Switch the current network.
OptionalgetGets the current chain.
current chain.
OptionalswitchSwitch the current chain.
Gets the current accounts.
A promise that resolves to an array of account addresses.
Gets the public key of the account.
A promise that resolves to the public key.
Signs a message with the specified type.
The message to sign.
The type of signature.
A promise that resolves to the signed message.
Interface representing a provider for interacting with accounts and signing messages.