Type Parameters

Implements

Constructors

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:
            | "Frozen"
            | "Blocked"
            | "Unsupported"
            | "BelowMinimum"
            | "FundsUnavailable"
            | "OnlyProvider"
            | "CannotCreate"
            | "UnknownAsset"
            | "CannotCreateHold"
            | "NotExpendable";
    }
    | {
        type: "Arithmetic";
        value: "Overflow" | "Underflow" | "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: E[]
status: TxStatus
txHash: `0x${string}`
txIndex?: number

Methods

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