Prices and fees¶
Compare the amount leaving your spendable balance with the amount arriving in the destination wallet. amount is the gross token amount locked on Ethereum. depositZat is the ZEC or TAZ going into the joint address. One ZEC or TAZ has 100,000,000 zatoshis, and one USDC or tUSD has 1,000,000 token base units.
What you pay on each route¶
| Cost | When and how you pay |
|---|---|
| Maker’s quoted price | The two quoted amounts give the exchange rate. When the quote includes networkCost, it identifies the maker’s own gas and Zcash transaction costs already reflected in that price, expressed in token base units. You pay the quoted deposit once. |
| Maker’s open fee | On the forward route only, openFee.zat is a separate shielded payment directly to the maker. Opening an escrow costs Ethereum gas before the maker receives ZEC. An abandoned open can also cost gas to cancel. Charging up front deters requests that impose those costs without a deposit. The fee is optional per quote and nonrefundable once paid, even if the quote expires or the maker never opens. Review its cap before paying. On the reverse route the user funds first. |
| Relayer’s fee | On the shielded forward route, the relayer pays Ethereum gas to submit the claim and payout. The wallet authorizes its fee in token units, deducted from escrow before shielding. On a sponsored reverse route, reverseFunding.fee is a separate token payment for broadcasting the initial funding. The relayer sponsors reverse ready, and a reverse refund payout carries the authorized payout fee. |
| Railgun fees | A shielded forward payout or reverse refund enters Railgun. Its shield fee can reduce the private balance below the amount sent to shield. Reverse funding leaves Railgun, so the wallet must also cover the unshield fee. |
| Your Zcash transaction fees | Budget for the forward ZEC deposit and, if required, the separate open-fee payment. A reverse receive sweep or forward refund sweep also uses a Zcash transaction and pays a network fee. |
Read the net amount¶
For a shielded forward quote, add the Zcash deposit, any opening fee and the Zcash transaction fees to estimate your total ZEC spend. On the Ethereum side, subtract the authorized relayer fee from the gross token amount, then account for Railgun’s shielding fee. For example, a gross 1 tUSD testnet payout with a 0.1 tUSD relayer fee sends 0.9 tUSD into the shielding step. The live quote and terms supply the actual amounts.
A direct public payout uses the signing account’s ETH for gas and skips those two token deductions. In the reverse direction, budget for unshielding, any quoted funding fee, and the Zcash sweep fee on the received deposit. Preview a testnet quote
If the swap expires or refunds¶
The open fee is the amount you entrust to the maker before seeing the forward escrow. Set a limit on it separately from the relayer fee. For current amounts, use the quote, the relayer’s terms and the wallet’s own transaction estimate. Wallet quote fields · Open fee protocol · Railgun payout vault