Skip to main content
GET
/
v2
/
arbitrum
/
messages
/
{direction}
/
count
Get cross-chain messages count.
curl --request GET \
  --url http://localhost/api/v2/arbitrum/messages/{direction}/count
1

Documentation Index

Fetch the complete documentation index at: https://docs.blockscout.com/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

direction
enum<string>
required

Message direction: from-rollup for Rollup to Parent chain, to-rollup for Parent chain to Rollup.

Available options:
from-rollup,
to-rollup

Query Parameters

apikey
string

API key for rate limiting or for sensitive endpoints

key
string

Secret key for getting access to restricted resources

Response

Total count of cross-chain messages for the specified direction.

The response is of type integer.

Required range: x >= 0