ucai_sponsor_gas
Sponsor gas costs for users' smart contract transactions via x402, enabling them to transact without holding network tokens. Works across EVM chains.
Instructions
Sponsor gas for a user's smart contract transaction. The AI agent pays for gas using x402 payment. Fee: 0.10% of gas cost + gas cost in USD.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abi | Yes | Contract ABI | |
| args | Yes | Function arguments | |
| network | No | The blockchain network to use | arbitrum |
| maxGasUsd | No | Maximum gas in USD to sponsor (default: $5) | |
| userAddress | Yes | User's wallet address | |
| functionName | Yes | Function to call | |
| contractAddress | Yes | Target contract address |