@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
18 lines • 731 B
TypeScript
import { Bitcoind } from '../../types.js';
type AbandonTransactionParams = {
bitcoind: Bitcoind;
txid: string;
};
/**
* abandontransaction "txid"
*
* Mark in-wallet transaction <txid> as abandoned
* This will mark this transaction and all its in-wallet descendants as abandoned which will allow
* for their inputs to be respent. It can be used to replace "stuck" or evicted transactions.
* It only works on transactions which are not included in a block and are not currently in the mempool.
* It has no effect on transactions which are already abandoned.
*
*/
export declare function abandonTransaction(params: AbandonTransactionParams): Promise<any>;
export {};
//# sourceMappingURL=abandon-transaction.d.ts.map