Skip to main content
GET
/
v2
/
arbitrum
/
batches
/
da
/
anytrust
/
{data_hash}
Get batch by AnyTrust data hash.
curl --request GET \
  --url http://localhost/api/v2/arbitrum/batches/da/anytrust/{data_hash}
{
  "after_acc_hash": "<string>",
  "before_acc_hash": "<string>",
  "commitment_transaction": {
    "block_number": 1,
    "hash": "<string>",
    "status": "unfinalized",
    "timestamp": "2023-11-07T05:31:56Z"
  },
  "data_availability": {
    "batch_data_container": "in_anytrust",
    "bls_signature": "<string>",
    "data_hash": "<string>",
    "signers": [
      {
        "key": "<string>",
        "trusted": true,
        "proof": "<string>"
      }
    ],
    "timeout": "<string>"
  },
  "end_block_number": 1,
  "number": 1,
  "start_block_number": 1,
  "transactions_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

data_hash
string
required

AnyTrust data hash.

Pattern: ^0x([A-Fa-f0-9]{64})$

Query Parameters

apikey
string

API key for rate limiting or for sensitive endpoints

key
string

Secret key for getting access to restricted resources

type
enum<string>

When set to all, returns a paginated list of all batches for this data hash.

Available options:
all
number
integer

Number for paging

items_count
integer

Number of items returned per page

Required range: 1 <= x <= 50

Response

Batch info, or paginated batch list when type=all.

Arbitrum batch with AnyTrust data availability.

after_acc_hash
string
required

Accumulator hash of the sequencer inbox after this batch was appended. Must equal before_acc_hash of the next batch.

Pattern: ^0x([A-Fa-f0-9]{64})$
before_acc_hash
string
required

Accumulator hash of the sequencer inbox before this batch was appended. Forms a hash chain: must equal after_acc_hash of the previous batch.

Pattern: ^0x([A-Fa-f0-9]{64})$
commitment_transaction
CommitmentTransaction · object
required

Parent chain transaction that committed the batch.

data_availability
Anytrust · object
required

AnyTrust data availability certificate.

end_block_number
integer
required

Last Rollup block included in the batch.

Required range: x >= 0
number
integer
required

Sequential identifier assigned to this batch by the sequencer.

Required range: x >= 0
start_block_number
integer
required

First Rollup block included in the batch.

Required range: x >= 0
transactions_count
integer
required

Number of transactions in the batch.

Required range: x >= 0