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

@@ -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,
}