Type alias CalculationResult<T>

CalculationResult<T>: {
    error?: RubicSdkError;
    trade: CrossChainTrade<T>;
    tradeType: CrossChainTradeType;
} | {
    error: RubicSdkError;
    trade: null;
    tradeType: CrossChainTradeType;
}

Type Parameters

Generated using TypeDoc