Interface ISubmittableResult<EventRecord>

interface ISubmittableResult<EventRecord> {
    dispatchError?:
        | {
            type: "CannotLookup";
        }
        | {
            type: "Other";
        }
        | {
            type: "BadOrigin";
        }
        | {
            type: "Module";
            value: {
                error: `0x${string}`;
                index: number;
            };
        }
        | {
            type: "ConsumerRemaining";
        }
        | {
            type: "NoProviders";
        }
        | {
            type: "TooManyConsumers";
        }
        | {
            type: "Token";
            value:
                | "FundsUnavailable"
                | "OnlyProvider"
                | "BelowMinimum"
                | "CannotCreate"
                | "UnknownAsset"
                | "Frozen"
                | "Unsupported"
                | "CannotCreateHold"
                | "NotExpendable"
                | "Blocked";
        }
        | {
            type: "Arithmetic";
            value: "Underflow" | "Overflow" | "DivisionByZero";
        }
        | {
            type: "Transactional";
            value: "LimitReached" | "NoLayer";
        }
        | {
            type: "Exhausted";
        }
        | {
            type: "Corruption";
        }
        | {
            type: "Unavailable";
        }
        | {
            type: "RootNotAllowed";
        };
    dispatchInfo?: {
        class: "Normal" | "Operational" | "Mandatory";
        paysFee: "Yes" | "No";
        weight: {
            proofSize: bigint;
            refTime: bigint;
        };
    };
    events: EventRecord[];
    status: TxStatus;
    txHash: `0x${string}`;
    txIndex?: number;
}

Type Parameters

Implemented by

    Properties

    dispatchError?:
        | {
            type: "CannotLookup";
        }
        | {
            type: "Other";
        }
        | {
            type: "BadOrigin";
        }
        | {
            type: "Module";
            value: {
                error: `0x${string}`;
                index: number;
            };
        }
        | {
            type: "ConsumerRemaining";
        }
        | {
            type: "NoProviders";
        }
        | {
            type: "TooManyConsumers";
        }
        | {
            type: "Token";
            value:
                | "FundsUnavailable"
                | "OnlyProvider"
                | "BelowMinimum"
                | "CannotCreate"
                | "UnknownAsset"
                | "Frozen"
                | "Unsupported"
                | "CannotCreateHold"
                | "NotExpendable"
                | "Blocked";
        }
        | {
            type: "Arithmetic";
            value: "Underflow" | "Overflow" | "DivisionByZero";
        }
        | {
            type: "Transactional";
            value: "LimitReached" | "NoLayer";
        }
        | {
            type: "Exhausted";
        }
        | {
            type: "Corruption";
        }
        | {
            type: "Unavailable";
        }
        | {
            type: "RootNotAllowed";
        }
    dispatchInfo?: {
        class: "Normal" | "Operational" | "Mandatory";
        paysFee: "Yes" | "No";
        weight: {
            proofSize: bigint;
            refTime: bigint;
        };
    }
    events: EventRecord[]
    status: TxStatus
    txHash: `0x${string}`
    txIndex?: number