Add testmempoolaccept API endpoint

This commit is contained in:
Mononaut authored and softsimon committed 2024-04-21 10:05:57 +07:00
1 parent bd5a23ff0d
commit c7cb7d1ac4
8 files changed
+85 -4

No files matched your search

@@ -423,4 +423,17 @@ export interface AccelerationInfo {
effective_fee: number,
boost_rate: number,
boost_cost: number,
}
export interface TestMempoolAcceptResult {
txid: string,
wtxid: string,
allowed?: boolean,
vsize?: number,
fees?: {
base: number,
"effective-feerate": number,
"effective-includes": string[],
},
['reject-reason']?: string,
}