On this page

Fees & Gas

Read the relay fee policy and see who pays gas for each funding and payment path.

Protocol and relay charges#

The fee specification separates principal, relay service fees, gas and Fuyu Earn yield fees. Deposits have no protocol fee on principal. A relay may sponsor private sends and related operations, while public-amount operations can use its published service and gas schedule.

Quote against the policy published by the selected runtime. Development prices and sponsorship apply to that configuration; do not hard-code them for another deployment.

Calculate the fee in the client#

The app downloads the full schedule and calculates fees locally. This avoids revealing the private asset through an individual price request. The spend authorizes its fee and payee, so another submitter cannot redirect the payment.

Calculate in token base units with integer arithmetic. The fee conversion rounds required amounts upward as described in the published policy.

How a private payment reaches its recipient
How a private payment reaches its recipient

Who pays gas?#

PathGas payer
Direct deposit from a walletThe funding wallet
Relayed private operationThe relay hot wallet, under its sponsorship or fee policy
Ordinary external transfer to a PortalThe external wallet or exchange
Sponsored Portal setup and collectionThe service operator
Permissionless completion from your walletYour submitting wallet
Direct recovery or withdrawalYour submitting wallet

If the relay schedule changes#

A saved proof can have a fee below a new relay schedule. The relay may refuse it even while the Pool could still execute that authorization. Check current relay acceptance before retrying.

Keep the saved authorization and reconcile its state first. Do not silently create a higher-fee proof from the same inputs while the original could execute.

Fees on shares and tickets#

Show share or ticket units separately from their estimated underlying value. Yield fees follow the vault's accounting; they do not change the asset quantity recorded in an existing private note.

Example yield rates and ETH prices in the repository illustrate its policy calculations. Use current deployment policy and price sources for actual quotes, and avoid presenting the examples as promised returns.