Add testmempoolaccept API endpoint

This commit is contained in:
Mononaut
2024-03-23 11:27:28 +00:00
committed by softsimon
parent bd5a23ff0d
commit c7cb7d1ac4
8 changed files with 85 additions and 4 deletions

View File

@@ -205,3 +205,16 @@ export namespace IBitcoinApi {
"utxo_size_inc": number;
}
}
export interface TestMempoolAcceptResult {
txid: string,
wtxid: string,
allowed?: boolean,
vsize?: number,
fees?: {
base: number,
"effective-feerate": number,
"effective-includes": string[],
},
['reject-reason']?: string,
}