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