A Universe of
Blockchain Data

For agents. They pay for what they need. Nothing else. No signups. No commitments.

Live-discovered chainsOn-demand functionsx402
A universe of blockchain data
Built for agents

How it works

From question to verified data

Step 1 / ask

Ask what you want

Create new data or retrieve existing data.

Step 2 / get a quote

Get the price up front

Testril returns a detailed bill.

Step 3 / pay

Pay for the work

Select a complete x402 option and repeat the same request with payment attached. There is no separate payment call.

Step 4 / verify

Wonder where the data came from?

Ask for provenance. We'll tell you where the data came from and how we computed it.

Agent

Workflow

AgentRequests
TestrilResponds
materialize
{
  "tool": "materialize",
  "arguments": {
    "bound_function_id": "sha256:<id>",
    "from_block": 100,
    "to_block": 110
  }
}
response
{
  "isError": true,
  "structuredContent": {
    "x402Version": 2,
    "error": "payment_required",
    "resource": {
      "url": "mcp://tool/materialize",
      "mimeType": "application/json"
    },
    "accepts": [
      {
        "scheme": "batch-settlement",
        "network": "<OFFERED_NETWORK>",
        "asset": "<OFFERED_USDC_ADDRESS>",
        "payTo": "<OFFERED_RECEIVER>",
        "amount": "1200",
        "maxTimeoutSeconds": 3600,
        "extra": {
          "minDeposit": "10000"
        }
      }
    ]
  },
  "content": [
    {
      "type": "text",
      "text": "<PaymentRequired JSON>"
    },
    {
      "type": "text",
      "text": "{\"quote_id\":\"quote:<id>\",\"amount\":{\"atoms\":\"1200\",\"usd\":\"$0.0012\"},\"lines\":[{\"label\":\"materialize_blocks\",\"units\":10,\"unit_price\":{\"atoms\":\"120\",\"usd\":\"$0.00012\"},\"amount\":{\"atoms\":\"1200\",\"usd\":\"$0.0012\"}}]}"
    }
  ]
}

The problem

Agents don't need raw blockchain data

Agent pays too much

Raw blocks, logs, and traces create a huge context. Agents pay to ingest and then to reason over all that data.

APIs lack data coverage

If your question fits an existing endpoint, you're fine. If it doesn't, you're stuck. APIs were built for humans.

Data cannot be audited

Agents have to trust the data they work with. Without provenance they can't verify anything.

With Testril

93–99%*

fewer inference tokens per answer than an agent crunching raw data.

Live

chain and Function availability discovered from the connected service.

Source-backed

values can be checked against the Function contract and contributing block evidence.

* Range across internal benchmark queries: a Testril endpoint versus an agent computing the same result over raw indexed tables.

The architecture

Compute and store only what's needed

Index everything

Traditional Model

Compute and store everything, just in case.

  • Compute and storage used for data no ever asks for
  • Schemas are fixed at indexing time, so new questions need a new pipelines
  • Data interpretation falls to the agent, at inference prices
  • Data isn't auditable

Index on demand

Testril Model

Compute and store only the data agents ask for.

  • No data is indexed or stored unless it's needed
  • Data is organized by internal agents, as needed
  • Agents receive answers, not piles of data to analyze
  • Function definitions and source evidence stay attached to results

What becomes possible

Ask for the onchain measures the live catalog supports

Stablecoins

Flow analysis

Compare USDC and USDT volume across any block range and keep the numbers current.

Liquidity

DEX monitoring

Track pool changes, net liquidity, asset exposure, and protocol activity.

Wallets

User cohorts

Find wallets by behavior, value, or activity.

Risk

Exposure checks

See which wallets or protocols touched a given asset, pool, bridge, or contract.

Reporting

Metrics

Feed current, verifiable numbers into products, dashboards, and internal reports.

Research

The unexpected question

Ask the thing nobody built a dashboard for, and let Testril identify whether a catalog Function can answer it.

Who it's for

Built for agents.

SI agent teams

Give agents live and historical chain data without loading raw data into every request.

agentstoolsworkflows

dApps and protocols

Power custom metrics, alerts, liquidity views, and reporting from a single endpoint.

appsanalyticsmonitoring

Financial products

Use current, verifiable chain data for risk, research, and reporting.

riskresearchreporting

FAQ

Common questions

Is this an MCP server?+

Testril is an on-demand blockchain indexer exposed to agents through MCP. Its public tools cover discovery, binding, materialization, reads, provenance, and lifecycle operations.

Is this another blockchain indexer?+

Yes, in a sense. Traditional indexers prepare datasets before anyone asks. Testril starts with the question and computes on demand, so nothing is computed or stored until someone asks for it.

Why not just point an MCP at indexed data?+

Three reasons:

  1. Using raw data is expensive!
  2. APIs are pre-organized, but maybe not the way you need.
  3. Index and API data isn't auditable.
How does pricing work?+

You get a quote before anything runs. Pay to index and pay to query. If you index, you get paid any time someone queries your eligible coverage while its claim right earns. Payment networks and settlement options come from the quote returned by the connected service. No subscription required.

Can I get real-time data?+

You can prepay a future block window. Testril indexes the tail as the chain produces those blocks; check finality separately if your use case requires it.

How do I know the data isn't hallucinated?+

Each Function has a declared row contract, and the provenance tool expands the contributing block evidence behind a result.

Which chains are supported?+

Chain availability is deployment-specific. Ask the connected service for its configured chains before binding or paying.

How do I get paid for indexing data?+

An eligible materialization purchase receives a claim-right NFT on its payment network. Inspect the wallet's claim-right cards to see accounting, then claim an eligible NFT's rewards through MCP.