acceleration estimate payment methods field
This commit is contained in:
parent
415ad3de70
commit
473da82caa
@ -9,6 +9,8 @@ import { Transaction } from '../../interfaces/electrs.interface';
|
|||||||
import { MiningStats } from '../../services/mining.service';
|
import { MiningStats } from '../../services/mining.service';
|
||||||
import { StorageService } from '../../services/storage.service';
|
import { StorageService } from '../../services/storage.service';
|
||||||
|
|
||||||
|
export type PaymentMethod = 'balance' | 'bitcoin' | 'cashapp';
|
||||||
|
|
||||||
export type AccelerationEstimate = {
|
export type AccelerationEstimate = {
|
||||||
hasAccess: boolean;
|
hasAccess: boolean;
|
||||||
txSummary: TxSummary;
|
txSummary: TxSummary;
|
||||||
@ -19,7 +21,8 @@ export type AccelerationEstimate = {
|
|||||||
cost: number;
|
cost: number;
|
||||||
mempoolBaseFee: number;
|
mempoolBaseFee: number;
|
||||||
vsizeFee: number;
|
vsizeFee: number;
|
||||||
pools: number[]
|
pools: number[];
|
||||||
|
availablePaymentMethods: PaymentMethod[];
|
||||||
}
|
}
|
||||||
export type TxSummary = {
|
export type TxSummary = {
|
||||||
txid: string; // txid of the current transaction
|
txid: string; // txid of the current transaction
|
||||||
|
Loading…
x
Reference in New Issue
Block a user