get_gasless_quote
Obtain a gasless token swap quote with executable EIP-712 signature data for DeFi trades across multiple blockchains. Supports defined slippage and token pairs.
Instructions
Get executable quote for a gasless token swap with EIP-712 signature data
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 (required for gasless quotes, uses USER_ADDRESS from env if not provided) |
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 (required for gasless quotes, uses USER_ADDRESS from env if not provided)",
"type": "string"
}
},
"required": [
"chainId",
"buyToken",
"sellToken",
"sellAmount"
],
"type": "object"
}