@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
13 lines • 460 B
JavaScript
// Auto synced from github actions. Don't change this file
import request from '../../rpc-request.js';
/**
* signmessagewithprivkey "privkey" "message"
*
* Sign a message with the private key of an address
*
*/
export function signMessageWithPrivkey(params) {
const { bitcoind, ...methodParams } = params;
return request({ method: 'signmessagewithprivkey', params: methodParams }, bitcoind);
}
//# sourceMappingURL=sign-message-with-privkey.js.map