signMessage
Request the signature of an arbitrary message with the first Bitcoin address (Native SegWit or Taproot) of an account
Method name
signMessage
Parameters
Parameter
Description
Required
Type
message
Arbitrary message for signing
string
paymentType
Address type to use. p2wpkh
for Native Segwit (default) or p2tr
for Taproot.
string
network
Network for signing: mainnet
(default), testnet
, signet
, sbtcDevenv
or devnet
string
account
Index of account for signing (defaults to active account)
uint
Example request
Example response
Sandbox
Install the Leather extension then try out this method below:
Preview
Last updated