ForceX

Chain

Litecoin MWEB block

get_chain_mweb_block · Chain · 6 credits

Use this when the user asks about MWEB extension-block activity in a specific block. MWEB (extension-block) detail for a block height. 6 credits base (sole-source MWEB indexing); start without includes — the base fits the Free cap of 6, either include is paid tier. Includes: outputs (+2), peg_links (+2). Live keys (paid + Free-live) reach any historical height; on a legacy fx_test_ key, requesting any include makes a height below the recent scan window return 402 (legacy-key limitation only).

Page Sections

Request

Send a tools/call request to the MCP endpoint /xtract/mcp:

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_chain_mweb_block",
    "arguments": {
      "chain": "litecoin",
      "height": 3134589
    }
  }
}

Parameters

NameTypeRequiredDescription
chainstring — one of: litecoinyesBlockchain network. Currently litecoin.
heightinteger | stringyesBlock height.
includearray of string — one of: outputs, peg_linksnoOptional expansions. Each expansion adds credits.
Full input schema
{
  "additionalProperties": false,
  "properties": {
    "chain": {
      "description": "Blockchain network. Currently `litecoin`.",
      "enum": [
        "litecoin"
      ],
      "type": "string"
    },
    "height": {
      "description": "Block height.",
      "minimum": 0,
      "type": [
        "integer",
        "string"
      ]
    },
    "include": {
      "description": "Optional expansions. Each expansion adds credits.",
      "items": {
        "enum": [
          "outputs",
          "peg_links"
        ],
        "type": "string"
      },
      "maxItems": 32,
      "type": "array",
      "x-include-costs": {
        "outputs": 2,
        "peg_links": 2
      }
    }
  },
  "required": [
    "chain",
    "height"
  ],
  "type": "object"
}

Response

The outputSchema is the CLOSED model contract for structuredContent (top-level additionalProperties: false), answer-first fixed key order: source, tool, endpoint, request (echoed arguments), answer (authoritative result summary — answer from this and data), data (the complete result), included/included_digest (full expansion rows + a compact digest, when paid include expansions were served), units, answerable_fields, warnings, citations (complete visible citation array), usage (per-call cost truth), validation, and pagination (cursor/has_more/effective_limit/requested_limit). The single content block is a short plain-text answer card mirroring the same facts (header, Answer, Units, Warnings, Usage, Source). Errors return a plain-text error card and attach NO structuredContent. See How to cite ForceX MCP results.

Full output schema
{
  "additionalProperties": false,
  "description": "Answer-first model contract: source, tool, endpoint, request, answer, data, included?, included_digest?, units, answerable_fields, warnings, citations, usage, validation, pagination?. Errors attach NO structuredContent (plain-text error card in content).",
  "properties": {
    "answer": {
      "description": "Authoritative result summary — answer from this and `data`.",
      "type": "string"
    },
    "answerable_fields": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "citations": {
      "items": {
        "additionalProperties": true,
        "description": "Visible citation (optional keys null-elided).",
        "properties": {
          "docs_url": {
            "type": "string"
          },
          "endpoint": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "tool": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "source",
          "tool",
          "endpoint",
          "docs_url"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "data": {
      "additionalProperties": true,
      "properties": {
        "block_height": {
          "type": "integer"
        },
        "hogex_txid": {
          "type": "string"
        },
        "mweb_output_count": {
          "type": "integer"
        },
        "net_flow_atomic_units": {
          "type": "integer"
        },
        "pegin_atomic_units": {
          "type": "integer"
        },
        "pegout_atomic_units": {
          "type": "integer"
        },
        "total_fee_value_atomic_units": {
          "type": "integer"
        }
      },
      "type": "object"
    },
    "endpoint": {
      "type": "string"
    },
    "included": {
      "type": [
        "object",
        "null"
      ]
    },
    "included_digest": {
      "description": "Compact per-expansion digest (counts/truncation/sums); full rows stay in `included`.",
      "type": "object"
    },
    "pagination": {
      "type": [
        "object",
        "null"
      ]
    },
    "request": {
      "type": "object"
    },
    "source": {
      "type": "string"
    },
    "tool": {
      "type": "string"
    },
    "units": {
      "type": "object"
    },
    "usage": {
      "additionalProperties": true,
      "description": "Per-call cost truth; cost_note only when the charge exceeds the Free cap.",
      "properties": {
        "base_credit_cost": {
          "type": "integer"
        },
        "credit_cost": {
          "type": [
            "integer",
            "null"
          ]
        },
        "include_credit_costs": {
          "type": "object"
        },
        "rate_limit": {
          "type": [
            "object",
            "null"
          ]
        }
      },
      "required": [
        "credit_cost",
        "base_credit_cost",
        "include_credit_costs"
      ],
      "type": "object"
    },
    "validation": {
      "additionalProperties": false,
      "description": "Validation state; not_applicable_reason when not chain-scope.",
      "properties": {
        "lag_blocks": {
          "type": [
            "integer",
            "null"
          ]
        },
        "not_applicable_reason": {
          "type": "string"
        },
        "scope": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "type": [
            "string",
            "null"
          ]
        },
        "validated_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "validated_height": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "status"
      ],
      "type": "object"
    },
    "warnings": {
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "source",
    "tool",
    "endpoint",
    "request",
    "answer",
    "data",
    "units",
    "answerable_fields",
    "warnings",
    "citations",
    "usage",
    "validation"
  ],
  "title": "Litecoin MWEB block result",
  "type": "object"
}

Notes

  • Cost: 6 credits. Costs and tier limits match the wrapped Xtract REST endpoint — see get_developer_limits.
  • Wrapped REST endpoint: /xtract/docs/reference/chain-mweb-block/ — the full parameter, response, and methodology reference.
  • Data-retrieval tool: it never creates blockchain transactions, signs messages, publishes content, or changes third-party state (openWorldHint=false, destructiveHint=false). Successful calls consume Xtract credits and record usage on your ForceX account, so readOnlyHint=false.