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 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.
Finding your fee sponsor ID:
feeSponsorId is the ID of the fee sponsor entity (format fs-...), not the sponsor wallet’s ID or address. It is returned when you create a fee sponsor, and you can look it up later via List Fee Sponsors / Get Fee Sponsor, or in the dashboard under Settings → Fee Sponsorship (each sponsor shows a Sponsor ID you can copy). Passing a wallet address or wallet ID is rejected.End user access
By default, only service accounts and organization users (CustomerEmployee) can use a fee sponsor when creating transfers. If you want your end users (EndUser) to use a fee sponsor when making transfers from their delegated wallets, set allowEndUser: true when creating the fee sponsor.
allowEndUser: true and an EndUser tries to use the fee sponsor, they will receive a 401 Unauthorized error.
The sponsoree wallet (the wallet being sponsored) must be an org-managed or delegated wallet in DFNS. External wallets cannot be sponsored.
A wallet that is registered as a fee sponsor cannot itself be sponsored. To move funds out of a fee sponsor wallet, send the transfer without a
feeSponsorId so the wallet pays its own gas from its native balance.Supported networks
Not all networks support this feature. You can create fee sponsors for the following supported networks.Not all networks support fee sponsorship. For TRON, you can achieve a similar result using native resource delegation.