multichain-api
Version:
MultiChain JSON-RPC Client
21 lines (20 loc) • 610 B
TypeScript
import { RpcRequest } from '../RpcRequest';
import { RpcResponse } from '../RpcResponse';
/**
* JSON-RPC request for the *dumpprivkey* command.
*/
export interface DumpPrivKeyRequest extends RpcRequest {
readonly method: 'dumpprivkey';
readonly params: [string];
}
/**
* JSON-RPC response for the *dumpprivkey* command.
*/
export interface DumpPrivKeyResponse extends RpcResponse {
readonly result: DumpPrivKeyResult | null;
}
/**
* Result of the *dumpprivkey* command.
*/
export declare type DumpPrivKeyResult = any;
export declare function DumpPrivKey(address: string): DumpPrivKeyRequest;