Order book liquidity profile of a token/XRP pair.
dex_liquidity_profileOrder book liquidity profile of a token/XRP pair. Use when: You need depth near the mid, the spread, the bid/ask imbalance and where the liquidity walls are. Price: 0.003 RLUSD per call, or the equivalent in XRP, paid on the XRP Ledger with x402 (the first call returns the payment requirements).
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": {
"pair": "<pair>"
},
"name": "dex_liquidity_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | ||
| depth | No | ||
| network | Yes | ||
| product | Yes | ||
| ask_bands | No | ||
| bid_bands | No | ||
| data_as_of | Yes | ||
| disclaimer | Yes | ||
| spread_bps | Yes | ||
| imbalance_x | No | ||
| bid_ask_ratio | No | ||
| pressure_code | No | ||
| source_ledger | No | ||
| mid_xrp_per_token | Yes | ||
| first_ask_wall_pct | No | ||
| first_bid_wall_pct | No |