Quote a flash loan
flash_quoteGet a fee quote for flash-borrowing any token on Ethereum, Base, Arbitrum, or Sepolia. Specify chain, token, and amount to receive the borrowing cost.
Instructions
Fee quote for flash-borrowing a given amount of a token (symbol or address) on a chain.
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": {
"chain": "<chain>",
"token": "<token>",
"amount": "<amount>"
},
"name": "flash_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | ||
| token | Yes | Token symbol (e.g. "WETH") or 0x address | |
| amount | Yes | Human amount to borrow, e.g. "250" |