UNPKG

@substrate/api-sidecar

Version:

REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.

18 lines (17 loc) 573 B
import type { DispatchError, PostDispatchInfo, XcmDryRunApiError } from '@polkadot/types/interfaces'; import { IAt } from './At'; export declare enum TransactionResultType { DispatchOutcome = "DispatchOutcome", DispatchError = "DispatchError" } export declare enum ValidityErrorType { Invalid = "InvalidTransaction", Unknown = "UnknownTransaction" } export interface ITransactionDryRun { at: IAt; result: { resultType: TransactionResultType | ValidityErrorType; result: PostDispatchInfo | XcmDryRunApiError | DispatchError; }; }