MCP tool · write 1 credit

thorchain_rujira_range_order_summary_by_pair

Aggregated open-CCL stats per Rujira FIN v3 trade pair (count, unique owners, total value_usd, total invested). Optional owner_address narrows to one wallet.

JSON-RPC call

Paste this body into your MCP client's `tools/call` request. The `id` field is the JSON-RPC message correlator (caller-chosen, not a record identifier — set it to anything; the server echoes it back).

tools/call body
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "thorchain_rujira_range_order_summary_by_pair",
    "arguments": {
      "owner_address": "<owner_address>"
    }
  }
}

Arguments

Name Type Required Description
owner_address string optional Filter to orders whose owner_address_str matches.

Copy-paste prompt samples

Drop one of these into Claude Code, n8n, or any MCP client. Your AI agent should pick this tool to answer.

Which Rujira pairs have the most CCL liquidity right now?
Summarise open Rujira range orders by pair.
How many unique wallets have CCL on the BTC/RUNE Rujira pair?
Show the total USD value invested per Rujira FIN pair for owner thor1abc...xyz.

Example response

Illustrative shape — actual values vary.

response shape
{
  "items": [
    {
      "trade_contract": {
        "contract_id": 12,
        "pair_name": "BTC/RUNE",
        "base_symbol": "BTC",
        "quote_symbol": "RUNE"
      },
      "position_count": 124,
      "unique_owners": 38,
      "total_value_usd": "4521234.56",
      "total_invested": "4500000.00"
    }
  ]
}

Possible errors

VALIDATION
Returned when the arguments fail the typed schema.
NOT_FOUND
Returned when the requested resource does not exist in our DB.
RATE_LIMIT
Returned when your token's credit budget is exhausted.