- Docs
- Api%2Freference%2Fsequencer%2FListBatches
List batches
Retrieve a paginated list of transaction batches processed by the sequencer. This endpoint provides access to batch information including status, signatures, and associated actions. Batches can be filtered by various criteria including action ID, batch ID, hash, status, signer, and creation timestamps.
Query Parameters
Filter resources by their unique identifier
Filter resources by the organization they belong to
Search term for autocomplete functionality
How many items to return at one time (max 100)
int64Pagination token for retrieving the next page of results
Sort order for the results (ascending or descending)
"asc" | "desc"Field name to sort the results by
Filter batches by sequencer ID
uint64Filter batches by action ID
Filter batches by batch ID
Filter batches by transaction hash
Filter batches by processing status
Filter batches by signer address
Filter batches created after this date and time
date-timeFilter batches created before this date and time
date-timeFilter batches created on or after this date and time
date-timeFilter batches created on or before this date and time
date-timeFilter batches modified after this date and time
date-timeFilter batches modified before this date and time
date-timeFilter batches modified on or after this date and time
date-timeFilter batches modified on or before this date and time
date-timeResponse Body
application/json
application/json
application/json
curl -X GET "https://api-testnet.dual.network/batches"{
"batches": [
{
"id": "string",
"sequence": 0,
"hash": "string",
"prev_hash": "string",
"integrity_root": "string",
"prev_integrity_root": "string",
"sender": "string",
"l2_tx_hash": "string",
"l2_finalization_tx_hash": "string",
"commitment": "string",
"actions_hash": "string",
"affected_actions": [
{
"id": "string",
"hash": "string",
"name": "string",
"alias": "string"
}
],
"actions_count": 0,
"total_fee": "string",
"total_fee_wei": "string",
"version": 0,
"ipfs_url": "string",
"status": "building",
"proof": {
"type": "string",
"value": "string",
"public_values": "string",
"vkey": "string",
"message": "string"
},
"proof_id": "string",
"error": "string",
"challenge_window_end": "2019-08-24T14:15:22Z",
"when_completed": "2019-08-24T14:15:22Z",
"when_modified": "2019-08-24T14:15:22Z",
"when_created": "2019-08-24T14:15:22Z"
}
],
"next": "string"
}{
"code": 0,
"message": "string",
"details": {}
}{
"code": 0,
"message": "string",
"details": {}
}