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

    Type Alias ApiPerpetualsPlaceStopOrdersBody

    ApiPerpetualsPlaceStopOrdersBody: {
        gasCoinArg?: TransactionObjectArgument;
        isSponsoredTx?: boolean;
        sponsor?: PerpetualsSponsorConfig;
        stopOrders: Omit<PerpetualsStopOrderData, "objectId" | "orderState">[];
        txKind?: SerializedTransaction;
        walletAddress: SuiAddress;
    } & (
        | { accountCapId?: ObjectId; accountId: PerpetualsAccountId }
        | { vaultId: ObjectId }
    )

    Request body for placing stop orders via the API.

    Type Declaration

    • OptionalgasCoinArg?: TransactionObjectArgument

      Optional gas coin argument used when extending the transaction.

    • OptionalisSponsoredTx?: boolean

      Whether the transaction is sponsored rather than paid directly by the wallet.

    • Optionalsponsor?: PerpetualsSponsorConfig

      Optional transaction sponsorship configuration.

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

      Stop orders to create or update.

    • OptionaltxKind?: SerializedTransaction

      Serialized transaction kind sent to the service.

    • walletAddress: SuiAddress

      Wallet address used to identify the signer or owner.