aftermath-ts-sdk - v6.1.0
    Preparing search index...

    Type Alias ApiRouterAddTransactionForCompleteTradeRouteBodyDeprecated

    ApiRouterAddTransactionForCompleteTradeRouteBodyDeprecated: ApiRouterTransactionForCompleteTradeRouteBody & {
        coinInId?: TransactionObjectArgument;
        serializedTx: SerializedTransaction;
    }

    Body for the unversioned add-trade endpoint.

    Type Declaration

    • OptionalcoinInId?: TransactionObjectArgument

      An optional transaction object argument for the input coin. Omit it when the API should select the coin input.

    • serializedTx: SerializedTransaction

      The v1-JSON serialized transaction the router commands are added to.

    Use ApiRouterAddTransactionForCompleteTradeRouteBody. The unversioned endpoint cannot build transactions whose input coin is sourced from an address balance.