dex-find-routes
Discover available swap routes between two tokens within MantraChain DEX pools by specifying network name and token denominations.
Instructions
Find available swap routes between two tokens - must first check two tokens are available in the DEX pools by using dex-get-pools
Input Schema
Name | Required | Description | Default |
---|---|---|---|
networkName | Yes | Name of the network to use | |
tokenInDenom | Yes | Denomination of the token to swap from | |
tokenOutDenom | Yes | Denomination of the token to swap to |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"networkName": {
"description": "Name of the network to use",
"type": "string"
},
"tokenInDenom": {
"description": "Denomination of the token to swap from",
"type": "string"
},
"tokenOutDenom": {
"description": "Denomination of the token to swap to",
"type": "string"
}
},
"required": [
"networkName",
"tokenInDenom",
"tokenOutDenom"
],
"type": "object"
}