signMessage
Wallet & Address Type Support Matrix
Signing Method
Wallet Type
Supported Address Types
ECDSA
Software & Hardware
P2PKH, P2SH, P2WPKH, P2TR
BIP322-Simple
Software
P2WPKH, P2TR
BIP322-Simple
Hardware (Pro, Classic1S)
P2TR
Sign a message using either ECDSA or BIP322-Simple signing method.
Method
Params
message
— requiredstring
A string to signtype
— optionalstring
Signing method type, either "ecdsa" or "bip322-simple". Default is "ecdsa"
Returns
signature
— string
The signed message signature
Examples
Demo
Last updated