Raw schema
{
"type": "object",
"properties": {
"from_chain": {
"description": "Source chain ID (e.g. 1 for Ethereum)",
"type": "integer",
"format": "uint64",
"minimum": 0
},
"to_chain": {
"description": "Destination chain ID (e.g. 137 for Polygon)",
"type": "integer",
"format": "uint64",
"minimum": 0
},
"from_token": {
"description": "Source token address (e.g. '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' for USDC)",
"type": "string"
},
"to_token": {
"description": "Destination token address",
"type": "string"
},
"from_amount": {
"description": "Amount in smallest unit (wei for ETH, base units for ERC-20)",
"type": "string"
},
"from_address": {
"description": "Sender wallet address (0x...)",
"type": "string"
},
"slippage": {
"description": "Slippage tolerance as decimal (default 0.03 = 3%)",
"type": [
"number",
"null"
],
"format": "double"
}
},
"required": [
"from_chain",
"to_chain",
"from_token",
"to_token",
"from_amount",
"from_address"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "GetQuoteParams"
}