@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
16 lines • 463 B
TypeScript
import { Bitcoind } from '../../types.js';
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 {};
//# sourceMappingURL=sign-message.d.ts.map