Creates an instance of Signer.
The client instance.
The providers instance.
The network represented by this signer.
ReadonlyprovidersThe providers instance.
ReadonlynetworkThe network represented by this signer.
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: SignPsbtOptionsLike
Options for signing the PSBT
A promise that resolves to the signed PSBT as a Hex string
Broadcasts a signed PSBT to the Bitcoin network.
The hex string of signed PSBT to broadcast.
Optional_options: SignPsbtOptionsLikeA promise that resolves to the transaction ID as a Hex string
Class representing a Bitcoin signer that extends SignerBtc