PerpsClient.cancelOrders. The SDK-managed agent signs each cancellation; the user’s wallet is not prompted.
The examples on this page use Hyperliquid (
provider: 'hyperliquid'). Replace the provider value with any supported DEX from getProviders().cancelOrders
Use the
orderId returned from the placeOrder response to cancel orders.