Gasless orders
These endpoints facilitate you the creation of gasless orders, to be conducted on our system.
List of endpoints
1. Create Gasless Order
Endpoint: POST /v1/gasless/create
Description: Initiates a new gasless order by submitting the necessary trade details along with the user's signature.
Request Body:
Response:
2. Retrieve Typed Data for Signing
Endpoint: POST /v1/gasless/typed-data
Description: Generates the structured data that the user needs to sign, ensuring the integrity and authorization of the gasless transaction.
Request Body:
Response:
3. Cancel Gasless Order
Endpoint: POST /v1/gasless/cancel
Description: Allows the user to cancel a previously created gasless order, provided it hasn't been processed yet.
Request Body:
Response:
4. Check Gasless Order Status
Endpoint: GET /v1/gasless/status/{orderId}
Description: Retrieves the current status of a specific gasless order, enabling users to monitor its progress.
Path Parameter:
orderId
: Unique identifier of the order whose status is being queried.
Response:
5. Estimate Gas for Gasless Transaction
Endpoint: POST /v1/gasless/estimate
Description: Provides an estimation of the gas costs associated with a proposed gasless transaction, aiding in understanding potential fees.
Request Body:
Response:
These endpoints facilitate the creation, management, and monitoring of gasless orders, streamlining the trading process by covering gas fees on behalf of the user.
Last updated
Was this helpful?