UNPKG

bitcoin-cli-ts

Version:

Auto-generated Bitcoin client library for bitcoind JSON-RPC API

15 lines (14 loc) 374 B
import { Bitcoind } from '../../types'; type SubmitHeaderParams = { bitcoind: Bitcoind; hexdata: string; }; /** * submitheader "hexdata" * * Decode the given hexdata as a header and submit it as a candidate chain tip if valid. * Throws when the header is invalid. * */ export declare function submitHeader(params: SubmitHeaderParams): Promise<any>; export {};