# Blockscout — Get batch by AnyTrust data hash.

Find Blockscout Arbitrum-family batches by AnyTrust data hash via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Blockscout, pass parameters such as Set, and retrieve structured data including anyTrust data hash, reported signer records, and reported commitment-transaction status for da reference tools, and batch investigation, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/market/apis/blockscout/blockscout-get-batch-by-anytrust-data-hash/?offering=8a181f5c-4943-4906-b45f-924b137d6afe
API ID: 8a181f5c-4943-4906-b45f-924b137d6afe
Provider: blockscout
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockscout/{chain_id}/api/v2/arbitrum/batches/da/anytrust/{data_hash}
Page update time: 2026-12-03T02:49:17.688Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:49:17.024Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Blockscout — Get batch by AnyTrust data hash. request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {
        "data_hash": {
          "type": "string",
          "description": "AnyTrust data hash."
        },
        "chain_id": {
          "type": "string",
          "description": "The ID of the blockchain"
        }
      },
      "required": [
        "data_hash",
        "chain_id"
      ]
    },
    "query": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "When set to `all`, returns a paginated list of all batches for this data hash.",
          "enum": [
            "all"
          ]
        },
        "items_count": {
          "type": "integer",
          "description": "Number of items per page",
          "minimum": 1
        },
        "number": {
          "type": "integer",
          "description": "Number for paging"
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "after_acc_hash": {
      "type": "string"
    },
    "before_acc_hash": {
      "type": "string"
    },
    "commitment_transaction": {
      "type": "object",
      "properties": {
        "block_number": {
          "type": "integer"
        },
        "hash": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "timestamp": {
          "type": "string"
        }
      }
    },
    "data_availability": {
      "type": "object",
      "properties": {
        "batch_data_container": {
          "type": "string"
        },
        "bls_signature": {
          "type": "string"
        },
        "data_hash": {
          "type": "string"
        },
        "signers": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "key": {
                "type": "string"
              },
              "trusted": {
                "type": "boolean"
              }
            }
          }
        },
        "timeout": {
          "type": "string"
        }
      }
    },
    "end_block_number": {
      "type": "integer"
    },
    "number": {
      "type": "integer"
    },
    "start_block_number": {
      "type": "integer"
    },
    "transactions_count": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Schema template · Schema template (not executed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/blockscout/%3Cchain_id%3E/api/v2/arbitrum/batches/da/anytrust/%3Cdata_hash%3E' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Response template · not a real response · Documented HTTP 200
```json
{
  "after_acc_hash": "<after_acc_hash>",
  "before_acc_hash": "<before_acc_hash>",
  "commitment_transaction": {
    "block_number": 0,
    "hash": "<hash>",
    "status": "unfinalized",
    "timestamp": "<timestamp>"
  },
  "data_availability": {
    "batch_data_container": "in_anytrust",
    "bls_signature": "<bls_signature>",
    "data_hash": "<data_hash>",
    "signers": [
      {
        "key": "<key>",
        "trusted": false
      }
    ],
    "timeout": "<timeout>"
  },
  "end_block_number": 0,
  "number": 0,
  "start_block_number": 0,
  "transactions_count": 0
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- blockscout: https://openany.si/market/apis/blockscout/blockscout-get-batch-by-anytrust-data-hash/?offering=8a181f5c-4943-4906-b45f-924b137d6afe

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
