Skip to content

getMaxBatchable

getMaxBatchable(tx): Promise<number>

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

Parameters

tx: SubmittableExtrinsic

The extrinsic to be checked.

Returns

Promise<number>

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

Source

network/src/chain/Chain.ts:120