POST /v1/gasless/create
Authorizations
Body
addressstringRequiredExample: 
Address of the sender
0xF0Fbf42C54Ac40dA016003baD35E5AefaC6E1CE1tokenFromstringRequiredExample: 
Address of the tokenFrom
0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2tokenTostringRequiredExample: 
Address of the tokenTo
0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2chainFromnumberRequiredExample: 
Chain of the tokenFrom
56chainTonumberRequiredExample: 
Chain of the tokenTo
56amountstringRequiredExample: 
Amount of tokens being traded
1000000000000000000feestringRequiredExample: 
Percentage of fee
0.005amountOutMinstringRequiredExample: 
Minimum amount obtained
1000000000000000000swapCallstringRequiredExample: 
Data of the call for the swap
call datasignaturestringRequiredExample: 
Signature of the user
signaturedeadlinenumberRequiredExample: 
Timestamp of the deadline for the order
1727862265Responses
200
Result of the gasless order creation
No content
post
/v1/gasless/createPOST /trade/v1/gasless/create HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 347
{
  "address": "0xF0Fbf42C54Ac40dA016003baD35E5AefaC6E1CE1",
  "tokenFrom": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
  "tokenTo": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
  "chainFrom": 56,
  "chainTo": 56,
  "amount": "1000000000000000000",
  "fee": "0.005",
  "amountOutMin": "1000000000000000000",
  "swapCall": "call data",
  "signature": "signature",
  "deadline": 1727862265
}200
Result of the gasless order creation
No content
Last updated
Was this helpful?