Overview
The gasless relay is the internal vault account or external third-party service that provides transaction fees for all gasless transactions. You must configure one of these options to use the gasless service. This article describes setting up the Fireblocks gasless service in any workspace.
Use a local relay if you have no restrictions against holding base assets (for example, ETH or MATIC), and you want to manage transaction fees from a single vault account for all other supported addresses in this workspace. In this setup, you are responsible for managing the balance in the relay vault account that funds transaction fees.
Configuring a local relay consumer
- Navigate to Settings > General > Gasless transactions fueling and then select Configure.
- Select Local relay. From the drop-down menu, select a vault account. Asset wallets in this vault account will fund transaction fees for all supported transactions. This includes both vault accounts and Embedded Wallets (EW). Once gasless transactions are configured with a relay, select your preferences for both vaults and EW:
- On by default: Gasless transactions are enabled when available but may be disabled per transaction.
- Off by default: Gasless transactions are disabled but may be enabled per transaction.
- Forbidden: Gasless transactions are disabled.
Determining if a Transfer request will be routed to the gasless relay
If this is the first time you are using the Gasless or Gas Station features, you must also define a Policy rule in the relay workspace. Make sure you allow the “Gasless-Orchestrator” to initiate a contract call. A Signer cannot be the initiator, it must be a User or a Co-signer.