routing.gas_optimizer
Cross-Chain Gas & Calldata Optimal Router: Computes optimal gas-efficient calldata routing, slippage limits, and priority fees for Base & Solana DeFi transactions. (Price: $0.045 USDC via x402 on Base/Solana)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"fromToken": "<fromToken>",
"toToken": "<toToken>",
"amount": "<amount>"
},
"name": "routing.gas_optimizer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action type (swap, transfer, approve, mint). | |
| amount | Yes | Transaction amount. | |
| toToken | Yes | Destination token symbol. | |
| fromToken | Yes | Origin token symbol. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Detailed result, report, diff, or analysis output | |
| status | Yes | Execution status of the micro-service (success/error) | |
| timestamp | No | Unix timestamp of execution | |
| monetization | No |