xrpl_orderbook
Query live XRPL DEX order book offers for a currency pair at the validated ledger.
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": {
"taker_pays": "<taker_pays>",
"taker_gets": "<taker_gets>"
},
"name": "xrpl_orderbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| taker_gets | Yes | Issue object, e.g. {"currency":"USD","issuer":"r..."} | |
| taker_pays | Yes | Issue object, e.g. {"currency":"XRP"} or {"currency":"USD","issuer":"r..."} |