acceleration estimate payment methods field

This commit is contained in:
Mononaut 2024-06-27 12:56:49 +00:00
parent 415ad3de70
commit 473da82caa
No known key found for this signature in database
GPG key ID: A3F058E41374C04E

View file

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