DeTrustPay on-chain fee breakdowns
All fees shown here are derived directly from the on-chain formulas used by the Solana program. Use this page to understand how confirmation, proposal, and cancellation fees change over time and by scenario.
New user? Start with Learn Basics first. This page is the mechanism-level fee reference.
50 bps (0.50%)
+ 100 bps each week after 4 free weeks
+20 bps / +20 bps
Both sides increase per proposal (cap 10000 bps)
500 bps (5.00%)
+ 100 bps per week since acceptance
min(fee_share, available_deposit)
Fees cannot exceed available balances/deposits
Try your own fee inputs
Switch between confirmation and cancellation, apply a preset, then edit values to inspect exact deterministic outputs.
Choose a preset as a baseline, then adjust values for your case.
Deposit rule: each deposit must be between 0.25x and 4x of original amount.
Reference only. On-chain execution uses current block time and integer transfer math.
Payer confirms during free period
No proposal fees, settlement amount equals the original payment amount.
Payer confirms after 6 weeks + proposals
Extra weeks add bps; both parties accumulated proposal bps.
Accept proposal at a lower amount
Fees are computed on the original amount; leftover returns to the payer.
Payee cancels after 1 week (payer setup)
Fee charged only from the payee deposit. Payer refund returns to setup vault.
Payee cancels after 8 weeks (payee setup)
Fee grows by 1% per week; payee refund routes to setup vault in payee setups.
What can change on-chain
- Elapsed weeks are calculated from the on-chain acceptance timestamp at execution time.
- Fee shares are capped by available deposits and balances.
- On-chain transfers use integer math and are rounded down.
- Solana network fees are paid separately by the signing wallet.
Apply these formulas in real workflows
Use this page as a deterministic reference before signing transactions.