Polkadot Apps
    Preparing search index...

    Type Alias BatchableCall

    BatchableCall:
        | SubmittableTransaction
        | { decodedCall: unknown }
        | Record<string, unknown>

    A transaction or decoded call that can be included in a batch.

    Accepts:

    • A SubmittableTransaction (has .decodedCall)
    • An Ink SDK AsyncTransaction (has .waited that resolves to one with .decodedCall)
    • A raw decoded call object (passed through as Record<string, unknown>)

    The Record<string, unknown> variant is intentionally broad because PAPI decoded calls are chain-specific enum types that cannot be imported without chain descriptors. Runtime validation in resolveDecodedCall rejects null, undefined, and primitives.