DocsOpen app
Docs · How it works

Gas in USDC

Elysium still charges HYPE. Pitstop pays it, and your account pays Pitstop back in USDC, in the same transaction.

The paymaster

On Elysium, as on Ethereum, a smart account can have its gas paid by a contract called a paymaster (ERC-4337). The Pitstop paymaster holds a HYPE deposit at the EntryPoint and pays the gas of each transaction from it.

One transaction, step by step

  • Before it runs, the paymaster takes the most it could cost, in USDC, from your account.
  • Elysium runs your transaction; the paymaster's HYPE pays the gas.
  • Right after, the paymaster charges what the gas really cost, in USDC at Plumb's price plus 10 %, and sends the rest back.

If a transaction fails

Its gas was still spent, so it is still paid, in USDC. Nothing runs for free: that is what keeps the reserve whole.