Add submit package option to tx push page

This commit is contained in:
natsoni
2024-10-12 17:38:48 +09:00
parent 9f0b3bd769
commit d1741a51c9
4 changed files with 176 additions and 2 deletions

View File

@@ -452,4 +452,22 @@ export interface TestMempoolAcceptResult {
"effective-includes": string[],
},
['reject-reason']?: string,
}
}
export interface SubmitPackageResult {
package_msg: string;
"tx-results": { [wtxid: string]: TxResult };
"replaced-transactions"?: string[];
}
export interface TxResult {
txid: string;
"other-wtxid"?: string;
vsize?: number;
fees?: {
base: number;
"effective-feerate"?: number;
"effective-includes"?: string[];
};
error?: string;
}