swap_quote
Retrieve accurate swap quotes for crypto trades by specifying input/output tokens, amounts, and slippage. Designed for seamless integration with Armor Crypto MCP's blockchain operations and trading strategies.
Instructions
Retrieve a swap quote. Be sure to add slippage!
Expects a SwapQuoteRequestContainer, returns a list of SwapQuoteResponse.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
swap_quote_requests | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"SwapQuoteRequest": {
"properties": {
"from_wallet": {
"description": "The name of the wallet that input_token is in.",
"title": "From Wallet",
"type": "string"
},
"input_amount": {
"description": "input amount to swap",
"title": "Input Amount",
"type": "number"
},
"input_token": {
"description": "public mint address of input token. To get the address from a token symbol use `get_token_details`",
"title": "Input Token",
"type": "string"
},
"output_token": {
"description": "public mint address of output token. To get the address from a token symbol use `get_token_details`",
"title": "Output Token",
"type": "string"
},
"slippage": {
"default": "slippage percentage. To estimate slippage based on liquidity see `get_token_details` for the input_token_symbol. 1.0 for high liquidity and near 20.0 for lower liquidity.",
"title": "Slippage",
"type": "number"
}
},
"required": [
"from_wallet",
"input_token",
"output_token",
"input_amount"
],
"title": "SwapQuoteRequest",
"type": "object"
},
"SwapQuoteRequestContainer": {
"properties": {
"swap_quote_requests": {
"items": {
"$ref": "#/$defs/SwapQuoteRequest"
},
"title": "Swap Quote Requests",
"type": "array"
}
},
"required": [
"swap_quote_requests"
],
"title": "SwapQuoteRequestContainer",
"type": "object"
}
},
"properties": {
"swap_quote_requests": {
"$ref": "#/$defs/SwapQuoteRequestContainer"
}
},
"required": [
"swap_quote_requests"
],
"title": "swap_quoteArguments",
"type": "object"
}