Skip to content

getMaxBatchable

getMaxBatchable(tx): Promise<number>

Calculates the maximum number of the same extrinsics that can be batched into a block.

tx: SubmittableExtrinsic

The extrinsic to be checked.

Promise<number>

A promise that resolves to the maximum number of the same extrinsics that can be batched.

network/src/chain/Chain.ts:120