Creates an instance of Signer.
The client instance.
The providers instance.
All preferred networks
Gets the Bitcoin account address.
A promise that resolves to the Bitcoin account address.
Gets the Bitcoin public key.
A promise that resolves to the Bitcoin public key.
Connects to the provider by requesting accounts.
A promise that resolves when the connection is established.
Register a listener to be called when this signer is replaced.
A function for unregister
Checks if the signer is connected.
A promise that resolves to true if connected, false otherwise.
Signs a raw message with the Bitcoin account.
The message to sign.
A promise that resolves to the signed message.
Signs a PSBT using OKX 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
Optional_options: SignPsbtOptionsA promise that resolves to the transaction ID
Class representing a Bitcoin signer that extends SignerBtc