bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
16 lines (15 loc) • 418 B
TypeScript
import { Bitcoind } from '../../types';
type SignMessageParams = {
bitcoind: Bitcoind;
address: string;
message: string;
};
/**
* signmessage "address" "message"
*
* Sign a message with the private key of an address
* Requires wallet passphrase to be set with walletpassphrase call if wallet is encrypted.
*
*/
export declare function signMessage(params: SignMessageParams): Promise<any>;
export {};