USDC, they must also hold a small amount of the native tokens of the blockchains used to pay the gas fees. This creates friction because you must constantly top up all your wallets in order for them to stay functional.
The Fee Sponsor enables you to sponsor gasless transactions for your custodial wallets via the Transfer API. This allows you to manage a small set of fee sponsor wallets with native tokens and use them to pay gas fees for other wallets.
To sponsor a transfer,
- Designate a Dfns wallet as the fee sponsor. See below for supported networks.
- Fund the fee sponsor wallet with some native tokens.
- Specify the
feeSponsorIdwhen creating a transfer request. Note that the sponsor and sponsoree wallets must be for the same network.
The fee sponsor feature only works for custodial wallets. Delegated wallets are not supported for now.
Supported networks
Not all networks support this feature. You can create fee sponsors for the following supported networks.| Mainnets | Testnets |
|---|---|
ArbitrumOne 1 | ArbitrumSepolia |
Base 1 | BaseSepolia |
Berachain 1 | BerachainBepolia |
Bsc 1 | BscTestnet |
Ethereum 1 | EthereumSepolia, EthereumHoodi |
Optimism 1 | OptimismSepolia |
Polygon 1 | PolygonAmoy |
Solana | SolanaDevnet |
Stellar | StellarTestnet |
Getting Started
Footnotes
- ⚠️ BETA The EVM fee sponsor is currently in beta. The implementation leverages EIP-7702 that turns your EOA into a smart contract account. When you use this feature, the on chain account of the sponsoree wallet will become a smart contract. You can view the source code of the smart contract we use here. ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7
