diff --git a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts index 3d720e757..2a7f0d067 100644 --- a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts +++ b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts @@ -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