Transaction
@switch (trackerStage) { @case ('waiting') { Waiting for your transaction to appear in the mempool } @case ('pending') { Your transaction is in the mempool, but it will not be confirmed for some time. } @case ('soon') { Your transaction is near the top of the mempool, and is expected to confirm soon. } @case ('next') { Your transaction is expected to confirm in the next block } @case ('confirmed') { Your transaction is confirmed! } }
@if (tx && !tx.status?.confirmed && mempoolPosition) {
ETA
@if (mempoolPosition?.block >= 7) { In several hours (or more) } @else { } @if (isMobile && paymentType === 'cashapp' && accelerationEligible && !tx.acceleration && acceleratorAvailable && accelerateCtaType === 'button' && !tx?.acceleration) { Accelerate }
} @else if (tx && tx.status?.confirmed) { }
@if (showAccelerationSummary) { } @else {
@switch (trackerStage) { @case ('waiting') {
} @case ('pending') { } @case ('soon') { } @case ('next') { } @case ('confirmed') { } }
}