add fee priority selector to Monero wallet withdraw form.

Expose GUI-style priority options in the CMS and include the chosen priority in withdrawal confirmation.
This commit is contained in:
2026-09-06 18:21:13 +02:00
parent 83cb437f19
commit c1e28c7545
6 changed files with 82 additions and 6 deletions
@@ -0,0 +1,13 @@
import { MoneroWithdrawPriority } from '@/types/moneroWallet/MoneroWithdrawPriority';
import type { MoneroWithdrawPriorityLabel } from '@/types/moneroWallet/MoneroWithdrawPriorityLabel';
export const moneroWithdrawPriorityOptions = [
{ value: MoneroWithdrawPriority.Automatic, label: 'Automatic' },
{ value: MoneroWithdrawPriority.Slow, label: 'Slow (0.2×)' },
{ value: MoneroWithdrawPriority.Normal, label: 'Normal (1×)' },
{ value: MoneroWithdrawPriority.Fast, label: 'Fast (5×)' },
{ value: MoneroWithdrawPriority.Fastest, label: 'Fastest (200×)' }
] as const satisfies ReadonlyArray<{
value: MoneroWithdrawPriority;
label: MoneroWithdrawPriorityLabel;
}>;