get_pair_limits_and_fees
Inspects on-chain minimum deposit floors, maximum pool caps, network miner fees, and liquidity reserve depth for any supported pair without calculating conversion amounts.
USAGE GUIDELINES:
USE WHEN: Determining whether a planned transaction meets provider thresholds, verifying miner fees, or checking pool liquidity before prompting user for an amount.
DO NOT USE: Calculating live conversion quantities or generating order links (use 'get_swap_quote').
PARAMETER DYNAMICS & EDGE CASES:
Distinct Asset Rule: 'from' and 'to' must represent distinct blockchain networks; identical inputs (e.g., BTC to BTC) are rejected with a structured error object.
Directional Asymmetry: Minimum deposit floors and pool reserves for asset A-to-B differ from B-to-A due to destination blockchain miner fee structures ('network_fee') and independent pool balances.
Ticker Matching: Input symbols are case-insensitive. Specify 'USDT' for TRC20 routing or 'USDTERC' for Ethereum mainnet settlement. Unlisted tickers return an error referring to 'list_supported_currencies'.
BEHAVIOR, TIMEOUTS & CACHING:
Strictly read-only with zero state changes.
Edge-cached for 30 seconds.
Returns JSON error object if pair is unsupported or liquidity feed is unreachable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Outbound asset symbol determining the destination network miner fee ('network_fee') deducted at settlement. Must differ from 'from'. | |
| from | Yes | Inbound asset symbol defining the source blockchain protocol and deposit reserve requirements. Must differ from 'to'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| rate | No | ||
| provider | No | ||
| rate_type | No | ||
| max_amount | No | ||
| min_amount | No | ||
| updated_at | No | ||
| network_fee | No | ||
| pool_reserve | No | ||
| quote_validity_seconds | No |