Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Hook for POST, PUT, and DELETE API requests such as creating or cancelling orders.
useQuery
usePrivateQuery
GET
POST
PUT
DELETE
useMutation
import { useMutation } from "@orderly.network/hooks"; const [createOrder, { data, error, isMutating }] = useMutation<OrderEntity, any>("/v1/order");