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

    Type Alias ApiPerpetualsCancelTwapOrdersBody

    ApiPerpetualsCancelTwapOrdersBody: {
        sponsor?: PerpetualsSponsorConfig;
        twapOrderIds: ObjectId[];
        txKind?: SerializedTransaction;
        walletAddress: SuiAddress;
    } & (
        | { accountCapId?: ObjectId; accountId: PerpetualsAccountId }
        | { vaultId: ObjectId }
    )

    Request body for canceling TWAP orders identified by object IDs, for an account or vault.

    Type Declaration

    • Optionalsponsor?: PerpetualsSponsorConfig

      Optional transaction sponsorship configuration.

    • twapOrderIds: ObjectId[]

      TWAP order object IDs to cancel.

    • OptionaltxKind?: SerializedTransaction

      Serialized transaction kind sent to the service.

    • walletAddress: SuiAddress

      Wallet address used to identify the signer or owner.