XRPL liquidity stress
xrpl_metrics_liquidity_stressHow stressed a registry stablecoin's liquidity is against its peg default: a score from 0 to 100, its band and the four weighted components behind it. When to use: To score, from the XRP Ledger's own order books, AMM pool and issuer account, how stressed a registry stablecoin's liquidity is against its peg default, as one score with its band and the components behind it. Prefer another tool: To read the peg deviation of each price route (use /v1/xrpl/metrics/peg), or to check that an issued currency is the canonical registry coin and read its issuer posture (use /v1/xrpl/stablecoin/{asset}); for an asset outside the registry, which this route refuses, read its order book (/v1/xrpl/orderbook) or its AMM pool (/v1/xrpl/amm/{a}/{b}). Example: xrpl_metrics_liquidity_stress {"asset":"524C555344000000000000000000000000000000.rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5De"} Paid: 0.04356 USDC or 0.0363 EURC per call on Solana mainnet, VAT included. With prepaid credits, debit per call: 0.03 EUR-denominated units (approx 33 calls per bundle) or 0.036 USD-denominated units (approx 22 calls per bundle).
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": {
"asset": "<asset>"
},
"name": "xrpl_metrics_liquidity_stress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | XRPL stablecoin of the registry whose liquidity stress is measured against its peg default, by its canonical code and issuer: `XRP`, or `CODE.issuer`: `CODE` is a 3-character standard code or 40 hexadecimal digits, and `issuer` is a classic XRPL address. Standard codes are case-sensitive: `usd` and `USD` are different tokens, so send the exact code. A standard code uses letters, digits or `?!@#$%^&*<>(){}[]|` and is never `XRP`; percent-encode the symbols in a URL (for example `%3F` for `?`). A 40-hex code is read in any case, and the 40-hex form of a standard code means that code. |