MCP tool ·
write
2 credits
thornode_lastblock
Fetch THORChain per-chain latest observed/signed heights. Pass-through of GET /thorchain/lastblock. Returns one entry per connected chain (THOR, BTC, ETH, BSC, ...) with last_observed_in, last_signed_out, and thorchain height.
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": "thornode_lastblock",
"arguments": {}
}
}
Arguments
This tool takes no arguments.
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.
What was the latest THORChain block observed for BTC?
Show me the per-chain last_observed_in / last_signed_out heights right now.
Get the THORChain lastblock state across every connected L1.
Example response
Illustrative shape — actual values vary.
response shape
[
{
"chain": "BTC",
"last_observed_in": 870321,
"last_signed_out": 870320,
"thorchain": 19543210
},
{
"chain": "ETH",
"last_observed_in": 21456789,
"last_signed_out": 21456788,
"thorchain": 19543210
}
]
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.
-
UPSTREAM - Returned when the upstream HTTP call fails (relayer tools only).