@substrate/asset-transfer-api - v0.7.1

    Interface TxResult<T>

    The TxResult is the result of constructing a transaction. T extends Format in the context of the options passed in for the Format the user expects.

    interface TxResult<T> {
        dest: string;
        direction: Direction | "local";
        format: Format | "local";
        forwardedXcmFees?: [VersionedXcm, XcmFeeInfo][];
        localXcmFees?: [VersionedXcm, XcmFeeInfo];
        method: Methods;
        origin: string;
        tx: ConstructedFormat<T>;
        xcmExecutionResult?: DispatchResultWithPostInfo | XcmDryRunApiError;
        xcmVersion: null | number;
    }

    Type Parameters

    • T
    Index

    Properties

    dest: string

    The destination specName of the transaction

    direction: Direction | "local"

    The direction of the cross chain transfer.

    format: Format | "local"

    The format type the tx is ouputted in.

    forwardedXcmFees?: [VersionedXcm, XcmFeeInfo][]

    List of forwarded xcms and the weights needed to execute them.

    localXcmFees?: [VersionedXcm, XcmFeeInfo]

    Weight needed to execute the local segment of a provided XCM.

    method: Methods

    The method used in the transaction.

    origin: string

    The origin specName of the transaction

    The constructed transaction.

    xcmExecutionResult?: DispatchResultWithPostInfo | XcmDryRunApiError

    The result of xcm execution.

    xcmVersion: null | number

    The xcm version that was used to construct the tx.

    MMNEPVFCICPMFPCPTTAAATR