KIP-247 Gasless Transaction — pay gas fees with ERC-20 tokens on Kaia without holding any KAIA. Use when developers ask about gasless UX, token-based gas payment, or onboarding users who only have bridged stablecoins.
Users who bridge assets to Kaia often have USDT/USDC but zero KAIA for gas. KIP-247 solves this at the protocol level.
This is NOT ERC-4337. No bundlers, no UserOperations. The block proposer handles everything natively.
swapForGas(token, amountIn, minAmountOut, amountRepay, deadline)0x7802) — transfers KAIA to userAll atomic. All in one block. User never needs to acquire KAIA first.
| Network | Address |
|---|---|
| Mainnet | 0xCf658F786bf4AC62D66d70Dd26B5c1395dA22c63 |
| Kairos | 0x4b41783732810b731569E4d944F59372F411BEa2 |
function swapForGas(
address token, // whitelisted ERC-20
uint256 amountIn, // tokens to swap
uint256 minAmountOut, // minimum KAIA output
uint256 amountRepay, // exact amount to repay proposer
uint256 deadline // tx deadline
) external;
function getSupportedTokens() external view returns (address[] memory);
function getAmountIn(address token, uint amountOut) external view returns (uint amountIn);
amountRepay = V1 + V2 + V3
V1 = LendTx fee = SwapTx.GasPrice × 21000
V2 = ApproveTx fee (if approve tx exists)
V3 = SwapTx fee
The proposer is made whole. The user gets any surplus from the swap.
| Feature | Kaia KIP-247 | Ethereum ERC-4337 |
|---|---|---|
| Level | Protocol-native | Smart contract layer |
| Who pays | Block proposer lends, gets repaid | Paymaster contract |
| Complexity | 2 txs (approve + swap) | UserOperation + Bundler + Paymaster |
| Token support | Whitelisted ERC-20s | Paymaster-defined |
| User needs native token? | No | No |
| Requires special wallet? | No | Smart contract wallet |