Gas Sponsored Swaps
Last updated
Last updated
Gas sponsored swaps allow users to execute token swaps without needing to hold native blockchain currency for gas fees. This is typically done using smart contract accounts or signature-based transactions (e.g., CoWSwap) where transactions are executed on behalf of the user.
Blink's gas sponsored swap solution enables transactions directly from Externally Owned Accounts (EOAs) that lack sufficient native currency to cover gas fees.
Blink utilizes bundles to facilitate gas sponsored swaps for EOAs. When a user initiates a swap but lacks the required gas, a small amount of native currency is transferred to their address, allowing them to complete the transaction.
Blink detects when a user does not have enough native currency to execute a swap.
We simulate the transaction to determine the swap fee and notional USD value.
If the swap fee meets or exceeds the gas cost threshold, a small amount of native currency is transferred to the user's wallet.
The user executes the swap using the provided gas.
The wallet benefits from a seamless user experience and earns additional swap fee revenue.
Since transferring gas incurs a cost, Wallets can configure parameters to ensure gas is only transferred if the swap fee is greater than or equal to the gas cost. This helps optimize costs and ensures efficiency in gas allocation.
Let's run through the image above as an example.
A user wants to make a $100,000 USDC swap but does not have sufficient gas
The Wallet has an associated Swap Fee of 0.5%
This will result in $500 worth of revenue for the Wallet if the swap is executed
The gas fee to make this swap is $5 worth of the native currency
Since $500 > $5 (swap fee > gas cost) Blink will execute the gas sponsored swap for the user
The Wallet net revenue for this swap will be $495 after factoring in the cost of the gas
Improved User Experience: Users no longer need to manually acquire native currency to complete swaps, reducing friction and increasing transaction completion rates.
Additional Wallet Revenue: Gas sponsored swaps enhance swap volume, generating more fee revenue for the wallet.
Zero Tech Lift for Customers: Blink fully manages the gas sponsored swap process, requiring no additional integration effort from customers.
Custom UX Enhancements: Wallets can incorporate user-friendly features such as "We sponsored your gas" messaging to highlight the seamless experience.
To enable gas sponsored swaps, a "Gas Tank" account is funded with native currency. Blink handles all downstream gas transfers and transaction execution, ensuring a frictionless experience for both users and wallet providers.
No additional technical integration is required from customers.
Blink manages gas detection, fee validation, and gas transfer automatically.
Wallet providers can optionally add UX elements to highlight the gas sponsorship feature.
Blink's gasless swap solution simplifies user transactions, enhances the swapping experience, and increases revenue opportunities for wallets—all with zero integration effort required.