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

    Type Alias ApiPerpetualsEditTwapOrdersBody

    ApiPerpetualsEditTwapOrdersBody: {
        newTwapOrders: Record<ObjectId, PerpetualsTwapOrderEdit>;
        sponsor?: PerpetualsSponsorConfig;
        txKind?: SerializedTransaction;
        walletAddress: SuiAddress;
    } & (
        | { accountCapId?: ObjectId; accountId: PerpetualsAccountId }
        | { vaultId: ObjectId }
    )

    Request body for editing existing TWAP orders via the API.

    newTwapOrders maps each TWAP order object id to the edit to apply.

    Type Declaration