get_gasless_price
Retrieve indicative prices for gasless token swaps, enabling cost-efficient trades across multiple blockchains without gas fees. Essential for DeFi trading agents.
Instructions
Get indicative price for a gasless token swap (no gas fees required)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
buyToken | Yes | Contract address of token to buy | |
chainId | Yes | Blockchain ID (e.g., 8453 for Base) | |
sellAmount | Yes | Amount of sellToken in base units | |
sellToken | Yes | Contract address of token to sell | |
slippageBps | No | Maximum acceptable slippage in basis points (optional, min: 30) | |
taker | No | Address executing the trade (optional) |
Input Schema (JSON Schema)
{
"properties": {
"buyToken": {
"description": "Contract address of token to buy",
"type": "string"
},
"chainId": {
"description": "Blockchain ID (e.g., 8453 for Base)",
"type": "integer"
},
"sellAmount": {
"description": "Amount of sellToken in base units",
"type": "string"
},
"sellToken": {
"description": "Contract address of token to sell",
"type": "string"
},
"slippageBps": {
"description": "Maximum acceptable slippage in basis points (optional, min: 30)",
"type": "integer"
},
"taker": {
"description": "Address executing the trade (optional)",
"type": "string"
}
},
"required": [
"chainId",
"buyToken",
"sellToken",
"sellAmount"
],
"type": "object"
}