Skip to content

getGasPerPubData

Returns the scaled gas per pubdata limit for the currently open batch.

Usage

example.ts
import { client } from './config'
 
const gasPerPubDataLimit = await client.getGasPerPubData();

Returns

Hex

Pubdata limit for the current batch.