@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
16 lines • 516 B
TypeScript
import { Bitcoind } from '../../types.js';
type PreciousBlockParams = {
bitcoind: Bitcoind;
blockhash: string;
};
/**
* preciousblock "blockhash"
*
* Treats a block as if it were received before others with the same work.
* A later preciousblock call can override the effect of an earlier one.
* The effects of preciousblock are not retained across restarts.
*
*/
export declare function preciousBlock(params: PreciousBlockParams): Promise<any>;
export {};
//# sourceMappingURL=precious-block.d.ts.map