Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/bitcoin_rpc/mod.ts>default#signmessage

A Bitcoin RPC Module for Deno.
Latest
method default.prototype.signmessage
import { default } from "https://deno.land/x/bitcoin_rpc@v1.0.3/mod.ts";

Sign a message with the private key of an address Requires wallet passphrase to be set with walletpassphrase call if wallet is encrypted. https://developer.bitcoin.org/reference/rpc/signmessage.html

Parameters

address: string
message: string