Skip to content

getL1BatchDetails

Returns data pertaining to a given batch.

Usage

example.ts
import { client } from './config'
 
const batchDetails = await client.getL1BatchDetails({
  number: 1
});

Returns

GetL1BatchDetailsReturnType

Batch details.

Parameters

number

L1 Batch Number

  • Type number
const batchDetails = await client.getL1BatchDetails({
  number: 1
});