THORChain MCP
Read-only THORChain data: pools, network, nodes, vaults, transactions, Midgard history.
我該用這個嗎
品質與安全性
發現項目(14)
- MEDIUM在 get_stable_reserve 中
- MEDIUM在 get_stable_reserve_contributor 中
- LOW在 get_affiliate_earnings 中
- LOW在 get_affiliate_history 中
- LOW在 get_cometbft_tx 中
- LOW在 get_constants 中
- LOW在 get_derived_pool 中
- LOW在 get_known_pools 中
- LOW在 get_mimir 中
- LOW在 get_pool_slip 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"thorchain-mcp": {
"url": "https://mcp.thorchain.org/mcp"
}
}
}遠端端點
https://mcp.thorchain.org/mcpstreamable-http它能做什麼
工具清單
工具(126)
🟢check_reference_memo(asset, amount)
Pre-flight check for memoless transactions. Returns what reference would be extracted from the amount and whether it's available for registration.
輸入結構描述
{
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "The asset (e.g. BTC.BTC)"
},
"amount": {
"type": "string",
"description": "The transaction amount in base units"
}
},
"required": [
"asset",
"amount"
],
"additionalProperties": false
}🟢get_affiliate_earnings
Returns affiliate earnings including fees collected by thorname.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_affiliate_history(interval, from, to, count)
Returns historical affiliate swap data including volumes and thorname breakdown over time.
輸入結構描述
{
"type": "object",
"properties": {
"interval": {
"type": "string",
"description": "Time interval: 5min hour day week month quarter year"
},
"from": {
"type": "integer",
"description": "Start timestamp (Unix seconds)"
},
"to": {
"type": "integer",
"description": "End timestamp (Unix seconds)"
},
"count": {
"type": "integer",
"description": "Number of intervals to return"
}
},
"additionalProperties": false
}🟢get_affiliate_stats
Returns affiliate statistics including volumes, counts, and fees by thorname.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_ban(address)
Returns the ban status for a node address. Shows if the node is banned, at what block height, and which nodes signed the ban. Bans are used to remove malicious or misbehaving nodes.
輸入結構描述
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "The node address to check ban status for (thor1...)"
}
},
"required": [
"address"
],
"additionalProperties": false
}🟢get_block(height)
Returns verbose details of a THORChain block including header info, transactions, and block events. If no height is specified, returns the latest block. Shows block hash, chain ID, height, time, validator info, and all transactions with their results.
輸入結構描述
{
"type": "object",
"properties": {
"height": {
"type": [
"null",
"integer"
],
"description": "Optional block height. If not provided returns the latest block."
}
},
"additionalProperties": false
}🟢get_bonds(address)
Returns bond details for an address including associated nodes and total bonded amount.
輸入結構描述
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Address to get bond details for"
}
},
"required": [
"address"
],
"additionalProperties": false
}🟢get_churns
Returns churn event history with dates and block heights.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_cometbft_block(height)
Returns block data at the specified height including header, transactions, and commit signatures. Provides canonical blockchain data.
輸入結構描述
{
"type": "object",
"properties": {
"height": {
"type": "integer",
"description": "Block height to query. If omitted or 0, returns the latest block."
}
},
"additionalProperties": false
}🟢get_cometbft_block_results(height)
Returns the results of executing transactions in a block, including ABCI events and validator updates. Useful for inspecting transaction outcomes.
輸入結構描述
{
"type": "object",
"properties": {
"height": {
"type": "integer",
"description": "Block height to query. If omitted or 0, returns results for the latest block."
}
},
"additionalProperties": false
}🟢get_cometbft_consensus_params(height)
Returns CometBFT consensus parameters (block size, evidence, validator params) at a height.
輸入結構描述
{
"type": "object",
"properties": {
"height": {
"type": "integer",
"description": "Block height (0 or omitted for latest)"
}
},
"additionalProperties": false
}🟢get_cometbft_consensus_state
Returns the current consensus round state including height/round/step, proposal block hash, and vote information. Useful for debugging consensus issues.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_cometbft_net_info
Returns network information including listening status, connected peers, and peer details. Useful for monitoring P2P network health.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_cometbft_status
Returns the CometBFT node status including node info, sync status, and validator information. Provides canonical consensus-level data about the blockchain.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_cometbft_tx(hash, prove)
Returns a transaction by its hash including tx result, height, and optional proof of inclusion. Provides canonical transaction data from the consensus layer.
輸入結構描述
{
"type": "object",
"properties": {
"hash": {
"type": "string",
"description": "Transaction hash (without 0x prefix)."
},
"prove": {
"type": "boolean",
"description": "Include proof of transaction inclusion."
}
},
"required": [
"hash"
],
"additionalProperties": false
}🟢get_cometbft_validators(height, page, per_page)
Returns the validator set at the specified height including addresses, public keys, and voting power. This is canonical consensus data about who can produce blocks.
輸入結構描述
{
"type": "object",
"properties": {
"height": {
"type": "integer",
"description": "Block height to query. If omitted or 0, returns the current validator set."
},
"page": {
"type": "integer",
"description": "Page number for pagination (1-indexed). Default is 1."
},
"per_page": {
"type": "integer",
"description": "Number of validators per page. Default is 30, max is 100."
}
},
"additionalProperties": false
}🟢get_constants
Returns protocol constants including integer, boolean, and string configuration values that govern THORChain behavior.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_cosmos_account(address)
Returns account information for a THORChain address including account number, sequence (nonce), and public key if available.
輸入結構描述
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "THORChain address (thor1...)"
}
},
"required": [
"address"
],
"additionalProperties": false
}🟢get_cosmos_balances(address)
Returns account balances for a THORChain address. Shows all coin denominations held by the account.
輸入結構描述
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "THORChain address (thor1...)"
}
},
"required": [
"address"
],
"additionalProperties": false
}🟢get_cosmos_block(height)
Returns a block at the specified height from the Cosmos SDK blockchain including header, transactions, and commit data.
輸入結構描述
{
"type": "object",
"properties": {
"height": {
"type": "integer",
"description": "Block height to query"
}
},
"required": [
"height"
],
"additionalProperties": false
}🟢get_cosmos_delegations(delegator_addr)
Returns all delegations for a delegator address. Shows which validators the address has delegated to and the amounts.
輸入結構描述
{
"type": "object",
"properties": {
"delegator_addr": {
"type": "string",
"description": "Delegator address (thor1...)"
}
},
"required": [
"delegator_addr"
],
"additionalProperties": false
}🟢get_cosmos_latest_block
Returns the latest block from the Cosmos SDK blockchain including header, transactions, and commit data.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_cosmos_node_info
Returns Cosmos SDK node information including network, version, protocol versions, and application version. Uses the gRPC-gateway REST API for canonical data.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_cosmos_rewards(delegator_addr)
Returns delegation rewards for a delegator address. Shows rewards from each validator and total accumulated rewards.
輸入結構描述
{
"type": "object",
"properties": {
"delegator_addr": {
"type": "string",
"description": "Delegator address (thor1...)"
}
},
"required": [
"delegator_addr"
],
"additionalProperties": false
}🟢get_cosmos_supply
Returns the total token supply including all coin denominations. Shows the circulating supply of RUNE and other tokens.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_cosmos_syncing
Returns whether the node is currently syncing with the blockchain. A syncing node may have stale data.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_cosmos_tx(hash)
Returns a transaction by hash from the Cosmos SDK blockchain. Includes transaction body, auth info, and execution result.
輸入結構描述
{
"type": "object",
"properties": {
"hash": {
"type": "string",
"description": "Transaction hash"
}
},
"required": [
"hash"
],
"additionalProperties": false
}🟢get_cosmos_validators(status)
Returns the list of staking validators. Includes operator address, status, tokens, delegator shares, commission rates, and description.
輸入結構描述
{
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "Filter by validator status: BOND_STATUS_BONDED, BOND_STATUS_UNBONDING, or BOND_STATUS_UNBONDED. Leave empty for all."
}
},
"additionalProperties": false
}🟢get_depth_history(asset, interval, from, to, count)
Returns historical depth data for a pool including asset depth, RUNE depth, asset price, and liquidity units over time intervals.
輸入結構描述
{
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "Pool asset identifier (e.g. BTC.BTC)"
},
"interval": {
"type": "string",
"description": "Time interval: 5min hour day week month quarter year"
},
"from": {
"type": "integer",
"description": "Start timestamp (Unix seconds)"
},
"to": {
"type": "integer",
"description": "End timestamp (Unix seconds)"
},
"count": {
"type": "integer",
"description": "Number of intervals to return"
}
},
"required": [
"asset"
],
"additionalProperties": false
}🟢get_derived_pool(asset)
Returns one derived (virtual) pool's depths and status.
輸入結構描述
{
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "The derived asset (e.g. THOR.BTC)"
}
},
"required": [
"asset"
],
"additionalProperties": false
}🟢get_dynamic_l1_fees
Returns per-THORName dynamic L1 minimum swap-fee floors (ADR-026). Each entry shows the enrolled THORName, trading pair, current dynamic fee floor in basis points, whitelist state (1=Active, 2=Monitor), last active epoch, and latest fee revenue in TOR.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_earnings_history(interval, from, to, count)
Returns historical earnings data including liquidity fees, block rewards, and bonding/liquidity earnings over time intervals.
輸入結構描述
{
"type": "object",
"properties": {
"interval": {
"type": "string",
"description": "Time interval: 5min hour day week month quarter year"
},
"from": {
"type": "integer",
"description": "Start timestamp (Unix seconds)"
},
"to": {
"type": "integer",
"description": "End timestamp (Unix seconds)"
},
"count": {
"type": "integer",
"description": "Number of intervals to return"
}
},
"additionalProperties": false
}🟢get_holders
Returns top RUNE holders with their balances.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_inbound_addresses
Returns vault addresses for depositing assets into THORChain. Each chain has its own inbound address along with gas rates and halted status.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_invariant(invariant)
Runs a specific protocol invariant check and returns the result. Shows whether the invariant is broken and any informative messages about the check. Use this to verify protocol consistency and detect potential issues.
輸入結構描述
{
"type": "object",
"properties": {
"invariant": {
"type": "string",
"description": "The invariant name to check (e.g. 'asgard', 'bond', 'pools', 'thorchain')"
}
},
"required": [
"invariant"
],
"additionalProperties": false
}🟢get_keygen(height, pubkey)
Returns keygen information for a specific block height and pubkey. Shows details of the key generation ceremony including the keygen block, member nodes, and signature. Use this to investigate vault creation events.
輸入結構描述
{
"type": "object",
"properties": {
"height": {
"type": "integer",
"description": "The block height of the keygen ceremony"
},
"pubkey": {
"type": "string",
"description": "The pubkey of one of the keygen block members"
}
},
"required": [
"height",
"pubkey"
],
"additionalProperties": false
}🟢get_keygen_metric(pubkey)
Returns keygen timing metrics for a specific vault public key.
輸入結構描述
{
"type": "object",
"properties": {
"pubkey": {
"type": "string",
"description": "The vault public key (thorpub...)"
}
},
"required": [
"pubkey"
],
"additionalProperties": false
}🟢get_keysign(height)
Returns keysign information for a specific block height. Shows transactions that were scheduled to be signed at that height, including outbound transaction details. Use this to investigate signing operations at a particular block.
輸入結構描述
{
"type": "object",
"properties": {
"height": {
"type": "integer",
"description": "The block height to get keysign information for"
}
},
"required": [
"height"
],
"additionalProperties": false
}🟢get_keysign_pubkey(height, pubkey)
Returns keysign information for a specific block height and vault pubkey. Shows transactions signed by a particular vault at that height. Use this to investigate a specific vault's signing activity.
輸入結構描述
{
"type": "object",
"properties": {
"height": {
"type": "integer",
"description": "The block height to get keysign information for"
},
"pubkey": {
"type": "string",
"description": "The vault pubkey to filter keysign information"
}
},
"required": [
"height",
"pubkey"
],
"additionalProperties": false
}🟢get_known_pools
Returns known pools with their status (available, staged, suspended).
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_lastblock
Returns the last observed and signed block heights for all chains. Useful for monitoring chain sync status and detecting chain halts.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_lastblock_chain(chain)
Returns the last observed and signed block heights for a specific chain. Useful for monitoring a particular chain's sync status.
輸入結構描述
{
"type": "object",
"properties": {
"chain": {
"type": "string",
"description": "The chain to get last block for (e.g. BTC, ETH, THOR)"
}
},
"required": [
"chain"
],
"additionalProperties": false
}🟢get_limit_swaps(offset, limit, source_asset, target_asset, sender, ...)
Returns the limit swaps queue containing pending limit orders. Each entry includes swap details, ratio, age, and expiry information. Supports filtering by source/target asset, sender, and pagination. Limit orders only work when AdvSwapQueueEnabled is true.
輸入結構描述
{
"type": "object",
"properties": {
"offset": {
"type": "integer",
"description": "Number of items to skip (default: 0)"
},
"limit": {
"type": "integer",
"description": "Number of items to return (default: 100, max: 1000)"
},
"source_asset": {
"type": "string",
"description": "Filter by source asset (e.g. BTC.BTC)"
},
"target_asset": {
"type": "string",
"description": "Filter by target asset (e.g. ETH.ETH)"
},
"sender": {
"type": "string",
"description": "Filter by sender address"
},
"sort_by": {
"type": "string",
"description": "Sort field: ratio, age, amount, or created_height (default: ratio)"
},
"sort_order": {
"type": "string",
"description": "Sort order: asc or desc (default: asc)"
}
},
"additionalProperties": false
}🟢get_limit_swaps_summary(source_asset, target_asset)
Returns a summary of the limit swaps queue including total count, total USD value, breakdown by asset pair, oldest swap age, and average age. Useful for getting an overview of pending limit orders without retrieving all individual swaps.
輸入結構描述
{
"type": "object",
"properties": {
"source_asset": {
"type": "string",
"description": "Filter by source asset (e.g. BTC.BTC)"
},
"target_asset": {
"type": "string",
"description": "Filter by target asset (e.g. ETH.ETH)"
}
},
"additionalProperties": false
}🟢get_liquidity_history(interval, from, to, count)
Returns historical liquidity change data including add/withdraw counts, volumes, and net liquidity over time intervals.
輸入結構描述
{
"type": "object",
"properties": {
"interval": {
"type": "string",
"description": "Time interval: 5min hour day week month quarter year"
},
"from": {
"type": "integer",
"description": "Start timestamp (Unix seconds)"
},
"to": {
"type": "integer",
"description": "End timestamp (Unix seconds)"
},
"count": {
"type": "integer",
"description": "Number of intervals to return"
}
},
"additionalProperties": false
}🟢get_lp_position(asset, address)
Returns liquidity provider position information for a specific address in a pool. Includes units, pending asset/rune, and last add/withdraw heights.
輸入結構描述
{
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "The pool asset (e.g. 'BTC.BTC' or 'ETH.ETH')"
},
"address": {
"type": "string",
"description": "The LP address to lookup"
}
},
"required": [
"asset",
"address"
],
"additionalProperties": false
}🟢get_members
Returns list of all liquidity provider addresses.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_midgard_balance(address)
Returns balance for an address from Midgard analytics.
輸入結構描述
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Address to get balance for"
}
},
"required": [
"address"
],
"additionalProperties": false
}🟢get_midgard_member(address)
Returns liquidity provider positions for an address including pool participation, units, and deposit/withdraw history.
輸入結構描述
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "THORChain address (thor1...) or external chain address"
}
},
"required": [
"address"
],
"additionalProperties": false
}🟢get_midgard_nodes
Returns node information including addresses and public keys from Midgard analytics.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_midgard_stats
Returns global network statistics including swap counts, volumes, liquidity metrics, and RUNE price.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_mimir
Returns THORChain protocol configuration parameters (Mimir values). These are key-value pairs that control protocol behavior like fees, limits, and feature flags.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_mimir_admin
Returns the admin mimir configuration. These are protocol parameters set directly by THORChain admins (the dev team) rather than through node voting. Admin overrides take precedence over node votes.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_mimir_key(key)
Returns the effective value for a specific mimir key. This shows the final resolved value after considering admin overrides and node voting consensus. Use this to check the current value of any individual protocol parameter.
輸入結構描述
{
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "The mimir key to look up (e.g. CHURNINTERVAL, HALTTRADING, etc.)"
}
},
"required": [
"key"
],
"additionalProperties": false
}🟢get_mimir_node(address)
Returns the mimir settings voted by a specific node. Shows a map of mimir keys to their voted values for the given node address. Use this to see what protocol parameters a specific node operator is voting for.
輸入結構描述
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "The node address to get mimir votes for (thor1...)"
}
},
"required": [
"address"
],
"additionalProperties": false
}🟢get_network_info
Returns THORChain network statistics and health information including bond metrics, pool data, and node counts.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_network_summary
Compact THORChain network status for agents: node counts, bonding/liquidity APY, reserve, pooled RUNE, next churn height, vault migration flag. Prefer this over get_network_info, which returns large per-node bond arrays.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_node(address)
Returns detailed information for a specific validator node including bond, status, version, and performance metrics. Bond providers include their Bond Yield configuration (bps share of rewards paid out automatically and its payout_target) when one is set.
輸入結構描述
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "The node address (thor1...)"
}
},
"required": [
"address"
],
"additionalProperties": false
}🟢get_oracle_price(symbol)
Returns the oracle price for a specific asset symbol. The price is returned in USD and is used for protocol calculations and limit order pricing.
輸入結構描述
{
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "The asset symbol to get the price for (e.g. BTC, ETH, RUNE)"
}
},
"required": [
"symbol"
],
"additionalProperties": false
}🟢get_oracle_prices
Returns all oracle prices for supported assets. Oracle prices are used for determining asset values in the protocol and for pricing limit orders. Returns an array of price objects containing symbol (e.g., BTC, ETH) and price in USD.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_outbound_fee_asset(asset)
Returns outbound fee information for a specific asset including the fee amount, surplus/deficit tracking, and dynamic multiplier.
輸入結構描述
{
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "The asset to get outbound fee for (e.g. BTC.BTC)"
}
},
"required": [
"asset"
],
"additionalProperties": false
}🟢get_outbound_fees
Returns outbound fee information for all assets including the fee amount, surplus/deficit tracking, and dynamic multiplier. Use this to estimate transaction costs.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_outbound_queue
Returns the outbound queue containing signed transactions waiting to be broadcast to external chains. Each entry includes the destination chain, address, coin amount, and gas information. These transactions have been signed and are awaiting confirmation.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_pool(asset)
Returns detailed information for a specific liquidity pool by asset identifier.
輸入結構描述
{
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "The asset identifier (e.g. BTC.BTC or ETH.ETH)"
}
},
"required": [
"asset"
],
"additionalProperties": false
}🟢get_pool_slip(asset)
Returns slip data for one pool, including current slip and rollup statistics.
輸入結構描述
{
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "The pool asset (e.g. BTC.BTC)"
}
},
"required": [
"asset"
],
"additionalProperties": false
}🟢get_pool_stats(asset)
Returns detailed analytics and statistics for a specific liquidity pool including volume, fees, APY, and historical metrics.
輸入結構描述
{
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "The asset identifier (e.g. BTC.BTC or ETH.ETH)"
}
},
"required": [
"asset"
],
"additionalProperties": false
}🟢get_queue
Returns queue statistics including pending swap count, outbound transaction count, internal queue size, and scheduled outbound value. Use this to understand network congestion.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_ragnarok
Returns whether the chain is in Ragnarok (emergency shutdown mode). Ragnarok is triggered when the network needs to return all funds to users. A true value indicates the network is shutting down.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_reference_memo(asset, reference)
Returns the memoless transaction memo for a given asset and reference number. Memoless transactions use the amount to encode the reference which maps to a pre-registered memo.
輸入結構描述
{
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "The asset (e.g. BTC.BTC)"
},
"reference": {
"type": "string",
"description": "The reference number"
}
},
"required": [
"asset",
"reference"
],
"additionalProperties": false
}🟢get_reference_memo_by_hash(hash)
Returns the memoless transaction memo for a given reference hash. Use this to look up the registered memo for a memoless transaction.
輸入結構描述
{
"type": "object",
"properties": {
"hash": {
"type": "string",
"description": "The transaction hash"
}
},
"required": [
"hash"
],
"additionalProperties": false
}🟢get_rune_history(interval, from, to, count)
Returns historical RUNE data including price over time intervals.
輸入結構描述
{
"type": "object",
"properties": {
"interval": {
"type": "string",
"description": "Time interval: 5min hour day week month quarter year"
},
"from": {
"type": "integer",
"description": "Start timestamp (Unix seconds)"
},
"to": {
"type": "integer",
"description": "End timestamp (Unix seconds)"
},
"count": {
"type": "integer",
"description": "Number of intervals to return"
}
},
"additionalProperties": false
}🟢get_rune_pool
Returns the RUNEPool state: protocol-owned liquidity, provider shares, reserve position, deposit limits, and pending deposits/withdrawals.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_rune_price_history(interval, from, to, count)
Returns historical RUNE price data in USD over time intervals.
輸入結構描述
{
"type": "object",
"properties": {
"interval": {
"type": "string",
"description": "Time interval: 5min hour day week month quarter year"
},
"from": {
"type": "integer",
"description": "Start timestamp (Unix seconds)"
},
"to": {
"type": "integer",
"description": "End timestamp (Unix seconds)"
},
"count": {
"type": "integer",
"description": "Number of intervals to return"
}
},
"additionalProperties": false
}🟢get_rune_provider(address)
Returns one RUNEPool provider's position: deposited RUNE, units, and PnL.
輸入結構描述
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "The provider's THORChain address (thor1...)"
}
},
"required": [
"address"
],
"additionalProperties": false
}🟢get_runepool_member(address)
Returns Midgard's analytics view of a RUNEPool member: deposit/withdraw history and current units.
輸入結構描述
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "The member's THORChain address (thor1...)"
}
},
"required": [
"address"
],
"additionalProperties": false
}🟢get_scheduled_queue
Returns the scheduled outbound queue containing transactions waiting to be signed and broadcast. Each entry includes the destination chain, address, coin amount, gas rate, and associated memo. Transactions are scheduled based on outbound delay.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_stable_reserve
Returns the Stable Reserve module status: RUNE balance, depeg tolerance, POL share, per-asset inventory with health flags and oracle prices, and active deployment swaps. Requires THORNode v3.20+; earlier networks answer 501 Not Implemented.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_stable_reserve_contributor(asset, address)
Returns a contributor's Stable Reserve credit for a given stable asset and address. Requires THORNode v3.20+; earlier networks answer 501 Not Implemented.
輸入結構描述
{
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "The stable asset (e.g. ETH.USDC-0XA0B8...)"
},
"address": {
"type": "string",
"description": "The contributor's L1 address"
}
},
"required": [
"asset",
"address"
],
"additionalProperties": false
}🟢get_streaming_swap(hash)
Returns details of a specific streaming swap by transaction hash, including progress (count/quantity), amounts swapped (in/out), and any failed sub-swaps.
輸入結構描述
{
"type": "object",
"properties": {
"hash": {
"type": "string",
"description": "The inbound transaction hash of the streaming swap"
}
},
"required": [
"hash"
],
"additionalProperties": false
}🟢get_swap_details(tx_id)
Returns detailed information about a specific swap including its current state. Shows the full swap message with source/target assets, amounts, destination, affiliate info, and the swap's status and queue type. Use this to track the progress of a specific swap transaction.
輸入結構描述
{
"type": "object",
"properties": {
"tx_id": {
"type": "string",
"description": "The transaction ID of the swap to look up"
}
},
"required": [
"tx_id"
],
"additionalProperties": false
}🟢get_swap_history(interval, from, to, count)
Returns historical swap data including swap counts, volumes, fees, and average slip over time intervals.
輸入結構描述
{
"type": "object",
"properties": {
"interval": {
"type": "string",
"description": "Time interval: 5min hour day week month quarter year"
},
"from": {
"type": "integer",
"description": "Start timestamp (Unix seconds)"
},
"to": {
"type": "integer",
"description": "End timestamp (Unix seconds)"
},
"count": {
"type": "integer",
"description": "Number of intervals to return"
}
},
"additionalProperties": false
}🟢get_swap_queue
Returns the current swap queue containing pending swaps waiting to be executed. Each entry includes source/target assets, amounts, destination addresses, and swap state. Use this to monitor swap processing and identify stuck transactions.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_swapper_clout(address)
Returns an address's swapper clout: accumulated fee-based score that reduces outbound delays for trusted swappers.
輸入結構描述
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "The swapper's address (any chain)"
}
},
"required": [
"address"
],
"additionalProperties": false
}🟢get_tcy_claimer(address)
Returns TCY (ThorCoin Yeet) claimer information for a specific address. Takes the claimer's L1 address (e.g. 0x..., bc1..., ltc1...) as listed by list_tcy_claimers and returns the claims (one per asset). Use this to check an individual's TCY claims.
輸入結構描述
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "The THORChain address to get TCY claimer info for (thor1...)"
}
},
"required": [
"address"
],
"additionalProperties": false
}🟢get_tcy_distribution(address)
Returns TCY distribution for an address.
輸入結構描述
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Address to get TCY distribution for"
}
},
"required": [
"address"
],
"additionalProperties": false
}🟢get_tcy_staker(address)
Returns TCY (ThorCoin Yeet) staker information for a specific address. Shows the staked amount for the given THORChain address. Use this to check an individual's TCY staking position.
輸入結構描述
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "The THORChain address to get TCY staker info for (thor1...)"
}
},
"required": [
"address"
],
"additionalProperties": false
}🟢get_thorname(name)
Returns THORName registration information including owner, expiry, and registered chain addresses. THORNames are human-readable aliases for blockchain addresses.
輸入結構描述
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The THORName to lookup (e.g. 't' or 'thorswap')"
}
},
"required": [
"name"
],
"additionalProperties": false
}🟢get_thorname_owner(address)
Returns THORNames owned by an address.
輸入結構描述
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Owner address to get THORNames for"
}
},
"required": [
"address"
],
"additionalProperties": false
}🟢get_trade_account(address)
Returns all trade account positions for a specific address. Each account includes the asset, units, owner, and last activity heights.
輸入結構描述
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "The address to lookup trade accounts for"
}
},
"required": [
"address"
],
"additionalProperties": false
}🟢get_trade_unit(asset)
Returns trade unit information for a specific asset. Trade units represent the total units and depth of a trade asset pool.
輸入結構描述
{
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "The trade asset to lookup (e.g. 'BTC~BTC' or 'ETH~ETH')"
}
},
"required": [
"asset"
],
"additionalProperties": false
}🟢get_tss_metrics
Returns TSS keygen and keysign timing metrics across the validator set.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_tvl_history(interval, from, to, count)
Returns historical Total Value Locked (TVL) data including pooled value, bonded value, and total locked value over time intervals.
輸入結構描述
{
"type": "object",
"properties": {
"interval": {
"type": "string",
"description": "Time interval: 5min hour day week month quarter year"
},
"from": {
"type": "integer",
"description": "Start timestamp (Unix seconds)"
},
"to": {
"type": "integer",
"description": "End timestamp (Unix seconds)"
},
"count": {
"type": "integer",
"description": "Number of intervals to return"
}
},
"additionalProperties": false
}🟢get_tx(hash)
Returns transaction details for a given hash including observed transaction data, status, and processing stages.
輸入結構描述
{
"type": "object",
"properties": {
"hash": {
"type": "string",
"description": "The transaction hash (inbound or outbound)"
}
},
"required": [
"hash"
],
"additionalProperties": false
}🟢get_tx_details(hash)
Returns comprehensive transaction details including observed transactions, actions taken, outbound transactions, consensus and finalized heights, and whether the vault was updated or the transaction reverted. Use this for deep transaction analysis.
輸入結構描述
{
"type": "object",
"properties": {
"hash": {
"type": "string",
"description": "The transaction hash (inbound or outbound) to get detailed information for"
}
},
"required": [
"hash"
],
"additionalProperties": false
}🟢get_tx_stages(hash)
Returns detailed processing stages of an inbound transaction including observation counts, confirmation status, swap status (with streaming progress if applicable), outbound delay, and signing status.
輸入結構描述
{
"type": "object",
"properties": {
"hash": {
"type": "string",
"description": "The inbound transaction hash to check processing stages for"
}
},
"required": [
"hash"
],
"additionalProperties": false
}🟢get_tx_status(hash)
Returns comprehensive transaction status including processing stages, planned outbound transactions, and completed outbound transactions. Use this to track swap progress.
輸入結構描述
{
"type": "object",
"properties": {
"hash": {
"type": "string",
"description": "The inbound transaction hash to check status for"
}
},
"required": [
"hash"
],
"additionalProperties": false
}🟢get_upgrade_proposal(name)
Returns a specific upgrade proposal by name including target block height and upgrade information.
輸入結構描述
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The upgrade proposal name (e.g. 'v3.137.0')"
}
},
"required": [
"name"
],
"additionalProperties": false
}🟢get_upgrade_votes(name)
Returns all node votes for a specific upgrade proposal. Each vote shows the node address and whether they approved. Use this to track upgrade consensus.
輸入結構描述
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The upgrade proposal name to get votes for (e.g. 'v3.137.0')"
}
},
"required": [
"name"
],
"additionalProperties": false
}🟢get_vault(pubkey)
Returns a specific vault by its public key including coin balances, status, membership, routers, and chain addresses.
輸入結構描述
{
"type": "object",
"properties": {
"pubkey": {
"type": "string",
"description": "The vault public key (thorpub1...)"
}
},
"required": [
"pubkey"
],
"additionalProperties": false
}🟢get_vault_pubkeys
Returns all vault public keys organized by type: Asgard (active network vaults), Yggdrasil (node vaults), and inactive vaults. Includes router addresses and membership information.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_vault_solvency
Returns aggregate vault solvency showing over-solvent or under-solvent amounts per asset. Positive amounts indicate over-solvency (more assets than expected), negative amounts indicate under-solvency. Critical for monitoring vault health.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_version
Returns network version information including current version, next required version for nodes, and the querier version.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢get_votes
Returns governance votes including parameter proposals and node votes.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢list_asgard_vaults(limit, offset)
Returns current Asgard vaults with their pubkeys, coin balances, status, membership, and chain addresses. Asgard vaults are the main network vaults that hold user funds. Supports pagination with limit and offset parameters.
輸入結構描述
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"description": "Maximum number of results to return (default 100, max 1000)"
},
"offset": {
"type": "integer",
"description": "Number of results to skip for pagination"
}
},
"additionalProperties": false
}🟢list_derived_pools
Lists all derived (virtual) pools with their depths and status.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢list_invariants
Returns the list of available protocol invariants that can be checked. Invariants are consistency checks that verify the protocol's internal state is valid. Common invariants include 'asgard', 'bond', 'pools', 'thorchain', etc.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢list_liquidity_providers(asset)
Returns all liquidity providers for a specific pool. Each entry includes the LP's units, pending amounts, deposit values, and addresses. Use this to analyze pool participation.
輸入結構描述
{
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "The pool asset (e.g. 'BTC.BTC' or 'ETH.ETH')"
}
},
"required": [
"asset"
],
"additionalProperties": false
}🟢list_mimir_node_votes
Returns all node operator votes on mimir settings. Each vote shows the mimir key, the voted value, and the node address that cast the vote. Use this to track node consensus on protocol parameter changes.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢list_nodes(limit, offset)
Returns all registered validator nodes with their status, bond amounts, and operational information. Each bond provider may carry a Bond Yield configuration (bps share of rewards paid out automatically and its payout_target); the fields are absent on nodes without one. Supports pagination with limit and offset parameters.
輸入結構描述
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"description": "Maximum number of results to return (default 100, max 1000)"
},
"offset": {
"type": "integer",
"description": "Number of results to skip for pagination"
}
},
"additionalProperties": false
}🟢list_pool_slips
Returns pool slip information for all Layer 1 pools. Pool slip measures trading activity and depth pressure. Shows current slip, rollup counts, and long-term rollup medians used for fee calculations and pool health monitoring.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢list_pools(limit, offset)
Returns all active liquidity pools on THORChain with their balances, units, and status. Supports pagination with limit and offset parameters.
輸入結構描述
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"description": "Maximum number of results to return (default 100, max 1000)"
},
"offset": {
"type": "integer",
"description": "Number of results to skip for pagination"
}
},
"additionalProperties": false
}🟢list_rune_providers
Lists all RUNEPool providers with their deposited RUNE and units.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢list_streaming_swaps(limit, offset)
Returns all active streaming swaps. Streaming swaps split large trades into smaller chunks executed over multiple blocks to minimize slippage. Supports pagination with limit and offset parameters.
輸入結構描述
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"description": "Maximum number of results to return (default 100, max 1000)"
},
"offset": {
"type": "integer",
"description": "Number of results to skip for pagination"
}
},
"additionalProperties": false
}🟢list_tcy_claimers
Returns all TCY (ThorCoin Yeet) claimers. Shows summary information for all addresses that have claimed in the TCY program.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢list_tcy_stakers
Returns all TCY (ThorCoin Yeet) stakers. Shows summary information for all addresses that have staked in the TCY program.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢list_trade_accounts(asset)
Returns all trade accounts for a specific trade asset. Each account includes the asset, units, owner address, and activity history.
輸入結構描述
{
"type": "object",
"properties": {
"asset": {
"type": "string",
"description": "The trade asset to list accounts for (e.g. 'BTC~BTC' or 'ETH~ETH')"
}
},
"required": [
"asset"
],
"additionalProperties": false
}🟢list_trade_units
Returns all trade units across all trade assets. Each unit includes the asset, total units, and depth.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢list_upgrade_proposals
Returns all pending network upgrade proposals. Each proposal includes the upgrade name, target block height, and upgrade info. Use this to monitor upcoming network changes.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢lookup_thorname(name)
Returns THORName details including chain addresses, expiry, and owner.
輸入結構描述
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "THORName to look up"
}
},
"required": [
"name"
],
"additionalProperties": false
}🟢ping
Health check endpoint. Returns 'pong' if the THORNode is responding. Use this to verify connectivity to the node.
輸入結構描述
{
"type": "object",
"additionalProperties": false
}🟢prepare_swap(from_asset, to_asset, amount, destination, max_slippage_bps, ...)
Build a ready-to-execute THORChain swap. Returns the exact vault address to send to, the memo, the source chain, the expected output and guaranteed minimum, the estimated time, and an expiry. Use this when the user wants to actually perform a swap, not just price it (for pricing only, use quote_swap). The returned instruction is what a wallet signs and broadcasts; this tool itself never moves funds.
輸入結構描述
{
"type": "object",
"properties": {
"from_asset": {
"type": "string",
"description": "The source asset to swap from (e.g. BTC.BTC)"
},
"to_asset": {
"type": "string",
"description": "The target asset to swap to (e.g. ETH.ETH)"
},
"amount": {
"type": "integer",
"description": "Amount to swap in THORChain base units (1e8; e.g. 50000000 = 0.5 BTC)"
},
"destination": {
"type": "string",
"description": "The address on the destination chain that will receive the swap output. Required to execute a swap."
},
"max_slippage_bps": {
"type": "integer",
"description": "Maximum acceptable slippage in basis points; sets the min-received limit baked into the memo (default 300 = 3%). Range 1-10000."
},
"affiliate": {
"type": "string",
"description": "Optional affiliate address or THORName that collects a fee"
},
"affiliate_bps": {
"type": "integer",
"description": "Optional affiliate fee in basis points (0-1000; protocol caps total affiliate fees at 1000 bps)"
}
},
"required": [
"from_asset",
"to_asset",
"amount",
"destination"
],
"additionalProperties": false
}🟢quote_limit(from_asset, to_asset, amount, target_out, destination, ...)
Get a limit order quote with expected output, expiry time, and a generated memo for executing the limit order. Limit orders execute when the target price is reached.
輸入結構描述
{
"type": "object",
"properties": {
"from_asset": {
"type": "string",
"description": "The source asset (e.g. BTC.BTC)"
},
"to_asset": {
"type": "string",
"description": "The target asset (e.g. ETH.ETH)"
},
"amount": {
"type": "integer",
"description": "The amount in base units (1e8 for most assets)"
},
"target_out": {
"type": "integer",
"description": "The limit price: minimum acceptable output amount in base units (1e8). The order executes only at this price or better"
},
"destination": {
"type": "string",
"description": "The destination address for the swap output"
},
"refund_address": {
"type": "string",
"description": "The refund address if the swap fails"
},
"custom_ttl": {
"type": "integer",
"description": "Custom TTL in blocks for the limit order"
},
"streaming_quantity": {
"type": "integer",
"description": "Number of sub-swaps for streaming"
},
"affiliate": {
"type": "string",
"description": "The affiliate address or THORName"
},
"affiliate_bps": {
"type": "integer",
"description": "The affiliate fee in basis points (0-1000; protocol caps total affiliate fees at 1000 bps)"
}
},
"required": [
"from_asset",
"to_asset",
"amount",
"target_out"
],
"additionalProperties": false
}🟢quote_swap(from_asset, to_asset, amount, destination, affiliate, ...)
Calculate how much output you would receive when swapping one asset for another. Use this tool to answer questions like 'how much ETH would I get for 100 RUNE?' Returns expected output amount, fees, slippage, estimated time, and a memo for executing the swap.
輸入結構描述
{
"type": "object",
"properties": {
"from_asset": {
"type": "string",
"description": "The source asset (e.g. BTC.BTC)"
},
"to_asset": {
"type": "string",
"description": "The target asset (e.g. ETH.ETH)"
},
"amount": {
"type": "integer",
"description": "The amount in base units (1e8 for most assets)"
},
"destination": {
"type": "string",
"description": "The destination address for the swap output"
},
"affiliate": {
"type": "string",
"description": "The affiliate address or THORName"
},
"affiliate_bps": {
"type": "integer",
"description": "The affiliate fee in basis points (0-1000; protocol caps total affiliate fees at 1000 bps)"
}
},
"required": [
"from_asset",
"to_asset",
"amount"
],
"additionalProperties": false
}🟢reverse_lookup_thorname(address)
Returns THORNames associated with an address.
輸入結構描述
{
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Address to look up THORNames for"
}
},
"required": [
"address"
],
"additionalProperties": false
}🟢search_cometbft_tx(query, page, per_page, order_by, prove)
Searches for transactions matching the query. Supports queries like 'tx.height=1000', 'message.action="send"', or composite queries. Returns matching transactions with optional proofs.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query (e.g. tx.height=1000 or message.action='send')."
},
"page": {
"type": "integer",
"description": "Page number (1-indexed). Default is 1."
},
"per_page": {
"type": "integer",
"description": "Results per page. Default is 30, max is 100."
},
"order_by": {
"type": "string",
"description": "Result ordering: 'asc' or 'desc'. Default is 'asc'."
},
"prove": {
"type": "boolean",
"description": "Include proof for each transaction."
}
},
"required": [
"query"
],
"additionalProperties": false
}🟢search_cosmos_txs(events, order_by, page, limit)
Searches for transactions matching the query events. Supports filtering by message type, sender, recipient, and other event attributes.
輸入結構描述
{
"type": "object",
"properties": {
"events": {
"type": [
"null",
"array"
],
"items": {
"type": "string"
},
"description": "Query events to filter transactions (e.g. message.action='send'). Multiple events are ANDed."
},
"order_by": {
"type": "string",
"description": "Result ordering: ORDER_BY_ASC or ORDER_BY_DESC. Default is ORDER_BY_ASC."
},
"page": {
"type": "integer",
"description": "Page number (1-indexed). Default is 1."
},
"limit": {
"type": "integer",
"description": "Results per page. Default is 100."
}
},
"additionalProperties": false
}社群
證據