Polkadot Apps
    Preparing search index...

    Interface SubmittableTransaction

    Structural type for any transaction object that supports Observable-based sign-submit-and-watch. Works with raw PAPI transactions and Ink SDK resolved transactions.

    interface SubmittableTransaction {
        decodedCall?: unknown;
        signSubmitAndWatch: (
            signer: PolkadotSigner,
            options?: { mortality?: { mortal: boolean; period: number } },
        ) => {
            subscribe: (
                handlers: {
                    error: (error: Error) => void;
                    next: (event: TxEvent) => void;
                },
            ) => { unsubscribe: () => void };
        };
        waited?: Promise<SubmittableTransaction>;
    }
    Index

    Properties

    decodedCall?: unknown

    The decoded call data. Present on PAPI transactions.

    signSubmitAndWatch: (
        signer: PolkadotSigner,
        options?: { mortality?: { mortal: boolean; period: number } },
    ) => {
        subscribe: (
            handlers: {
                error: (error: Error) => void;
                next: (event: TxEvent) => void;
            },
        ) => { unsubscribe: () => void };
    }
    waited?: Promise<SubmittableTransaction>

    Present on Ink SDK AsyncTransaction wrappers.