Polkadot Apps
    Preparing search index...

    Interface BatchApi

    Minimal structural type for a PAPI typed API with the Utility pallet.

    Structural so it works with any chain that has the Utility pallet, without importing chain-specific descriptors.

    interface BatchApi {
        tx: {
            Utility: {
                batch(args: { calls: unknown[] }): SubmittableTransaction;
                batch_all(args: { calls: unknown[] }): SubmittableTransaction;
                force_batch(args: { calls: unknown[] }): SubmittableTransaction;
            };
        };
    }
    Index

    Properties

    Properties

    tx: {
        Utility: {
            batch(args: { calls: unknown[] }): SubmittableTransaction;
            batch_all(args: { calls: unknown[] }): SubmittableTransaction;
            force_batch(args: { calls: unknown[] }): SubmittableTransaction;
        };
    }