# Blockscout — List cross-chain messages.

List Blockscout Arbitrum-family cross-chain messages 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 message identifier, origination transaction hash, reported origination timestamp, completion transaction reference, and reported message lifecycle status for bridge explorers, and message inspection.

Documentation: https://openany.si/blockscout/blockscout-list-cross-chain-messages/49ea1194-6fb3-42b2-b083-e49621f2059a/
API ID: 49ea1194-6fb3-42b2-b083-e49621f2059a
Provider: blockscout
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockscout/{chain_id}/api/v2/arbitrum/messages/{direction}
Page update time: 2026-12-03T02:49:19.660Z
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
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:19.233Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Blockscout Arbitrum Cross-Chain Messages API

Pass chain\_id and direction: from-rollup means Rollup to Parent chain, while to-rollup means Parent chain to Rollup. items contains messages with origination references, status and available completion references. Continue with id and items\_count.

## What You Can Build

- **Bridge explorers**: Display message direction and lifecycle context.
- **Message inspection**: Retain origination and completion references as separate steps.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `items[].id` | Message identifier |
| `items[].origination_transaction_hash` | Origination transaction hash |
| `items[].origination_timestamp` | Reported origination timestamp |
| `items[].completion_transaction_hash` | Completion transaction reference when available |
| `items[].status` | Reported message lifecycle status |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Blockscout — List cross-chain messages. 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": {
        "direction": {
          "type": "string",
          "description": "Message direction: `from-rollup` for Rollup to Parent chain, `to-rollup` for Parent chain to Rollup.",
          "enum": [
            "from-rollup",
            "to-rollup"
          ]
        },
        "chain_id": {
          "type": "string",
          "description": "The ID of the blockchain"
        }
      },
      "required": [
        "direction",
        "chain_id"
      ]
    },
    "query": {
      "type": "object",
      "properties": {
        "items_count": {
          "type": "integer",
          "description": "Number of items per page",
          "minimum": 1
        },
        "id": {
          "type": "integer",
          "description": "ID 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": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "completion_transaction_hash": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "origination_address_hash": {
            "type": "string"
          },
          "origination_timestamp": {
            "type": "string"
          },
          "origination_transaction_block_number": {
            "type": "integer"
          },
          "origination_transaction_hash": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        }
      }
    },
    "next_page_params": {
      "type": "object",
      "properties": {
        "id": {
          "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/messages/from-rollup' \
  -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
{
  "items": [
    {
      "completion_transaction_hash": "<completion_transaction_hash>",
      "id": 0,
      "origination_address_hash": "<origination_address_hash>",
      "origination_timestamp": "<origination_timestamp>",
      "origination_transaction_block_number": 0,
      "origination_transaction_hash": "<origination_transaction_hash>",
      "status": "initiated"
    }
  ],
  "next_page_params": {
    "id": 123
  }
}
```

## 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.

## Common questions
### Which direction values are supported?
Use from-rollup for Rollup to Parent chain or to-rollup for Parent chain to Rollup.

### Does initiated mean completed?
No. Preserve the returned lifecycle status and any completion reference separately.

### Can I switch direction while keeping the same cursor?
Keep continuation state with the chosen chain and direction rather than reusing it across selections.

### Does this endpoint send a cross-chain message?
No. It reads indexed message records.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

## Available implementations
- blockscout: https://openany.si/blockscout/blockscout-list-cross-chain-messages/49ea1194-6fb3-42b2-b083-e49621f2059a/

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