How a fee gets paid
The rules FlexGas follows for every transaction.
Which route pays
- 1
Sponsor
Covers this network, under its cap and daily limit.
- 2
Stablecoin
Enough tUSDC or tDAI, quote under your max fee.
- 3
Native gas
You hold enough tETH.
The stablecoin quote
A token transfer on Sepolia, at the reference price of $3,200 per tETH.
- Gas used
- 95,000
- Gas price
- 6 gwei
- Network fee
- 0.00057 tETH
- In dollars
- $1.82
- Service (5%, minimum 0.02)
- $0.092
- You pay
- 1.916 tUSDC
- Converted to tETH, pays the network
- $1.82
- Runs the paymaster
- $0.092
Quotes hold for 30 seconds, then refresh at the current gas price.
Safeguards on both sides
For you
- A max fee: quotes above it are never used
- Quotes hold for 30 seconds
- Only the fee token is touched
For sponsors
- A cap per transaction
- A daily limit per member
- The networks it covers
- A pause switch
- A low-balance alert
Three networks, one wallet
| Network | Gas price | Typical transfer fee | Club tank |
|---|---|---|---|
| Sepolia | 6 gwei | ≈ $1.82 | Covered |
| Base Sepolia | 0.06 gwei | ≈ $0.018 | Covered |
| Arbitrum Sepolia | 0.1 gwei | ≈ $0.030 | Not covered |
For wallets and dApps
Ask FlexGas for routes, show them, send. The paymaster does the rest.
Show the integrationHide the integration
import { flexgas } from "@monark/flexgas"
// 1. Ask which routes can pay this transfer's fee.
const plan = await flexgas.routes({ chain, from, call })
// plan.routes: sponsored | stablecoin | native, with reasons
// 2. Show them, then send with the one the user keeps.
const op = await flexgas.send(plan.best, { maxFee: 5 })
// The paymaster settles gas in tETH; the user signs once.