aftermath-ts-sdk - v3.3.3
    Preparing search index...

    Interface SdkPerpetualsPlaceStopOrdersInputs

    SDK-level inputs for placing one or more stop orders.

    This is a client-facing type that wraps the on-chain format.

    interface SdkPerpetualsPlaceStopOrdersInputs {
        gasCoinArg?: TransactionObjectArgument;
        isSponsoredTx?: boolean;
        sponsor?: PerpetualsSponsorConfig;
        stopOrders: Omit<PerpetualsStopOrderData, "objectId" | "orderState">[];
        tx?: Transaction;
    }
    Index
    gasCoinArg?: TransactionObjectArgument

    Optional gas coin for sponsored or custom gas usage.

    isSponsoredTx?: boolean

    Whether the transaction is expected to be sponsored by the API.

    Optional gas pool sponsorship configuration.

    stopOrders: Omit<PerpetualsStopOrderData, "objectId" | "orderState">[]

    Stop orders to place (without objectId, which is created on-chain).

    tx?: Transaction

    Optional transaction to embed the call in.