multichain-api
Version:
MultiChain JSON-RPC Client
21 lines (20 loc) • 633 B
TypeScript
import { RpcRequest } from '../RpcRequest';
import { RpcResponse } from '../RpcResponse';
/**
* JSON-RPC request for the *encryptwallet* command.
*/
export interface EncryptWalletRequest extends RpcRequest {
readonly method: 'encryptwallet';
readonly params: [string];
}
/**
* JSON-RPC response for the *encryptwallet* command.
*/
export interface EncryptWalletResponse extends RpcResponse {
readonly result: EncryptWalletResult | null;
}
/**
* Result of the *encryptwallet* command.
*/
export declare type EncryptWalletResult = any;
export declare function EncryptWallet(passphrase: string): EncryptWalletRequest;