mirror of
https://github.com/mempool/mempool.git
synced 2025-02-25 07:07:36 +01:00
acceleration estimate payment methods field
This commit is contained in:
parent
415ad3de70
commit
473da82caa
1 changed files with 4 additions and 1 deletions
|
@ -9,6 +9,8 @@ import { Transaction } from '../../interfaces/electrs.interface';
|
|||
import { MiningStats } from '../../services/mining.service';
|
||||
import { StorageService } from '../../services/storage.service';
|
||||
|
||||
export type PaymentMethod = 'balance' | 'bitcoin' | 'cashapp';
|
||||
|
||||
export type AccelerationEstimate = {
|
||||
hasAccess: boolean;
|
||||
txSummary: TxSummary;
|
||||
|
@ -19,7 +21,8 @@ export type AccelerationEstimate = {
|
|||
cost: number;
|
||||
mempoolBaseFee: number;
|
||||
vsizeFee: number;
|
||||
pools: number[]
|
||||
pools: number[];
|
||||
availablePaymentMethods: PaymentMethod[];
|
||||
}
|
||||
export type TxSummary = {
|
||||
txid: string; // txid of the current transaction
|
||||
|
|
Loading…
Add table
Reference in a new issue