POST /v1/gasless/estimate

Endpoint to estimate gas for gasless order

post
Authorizations
HTTPRequired

[just text field] Please enter token in following format: Bearer

Body
addressstringRequired

Address of the sender

Example: 0xF0Fbf42C54Ac40dA016003baD35E5AefaC6E1CE1
tokenFromstringRequired

Address of the tokenFrom

Example: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
tokenTostringRequired

Address of the tokenTo

Example: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
chainFromnumberRequired

Chain of the tokenFrom

Example: 56
chainTonumberRequired

Chain of the tokenTo

Example: 56
amountstringRequired

Amount of tokens being traded

Example: 1000000000000000000
feestringRequired

Percentage of fee

Example: 0.005
amountOutMinstringRequired

Minimum amount obtained

Example: 1000000000000000000
swapCallstringRequired

Data of the call for the swap

Example: call data
signaturestringRequired

Signature of the user

Example: signature
deadlinenumberRequired

Timestamp of the deadline for the order

Example: 1727862265
Responses
200

Gas estimation for the gasless order

application/json
Responsenumber
post
/v1/gasless/estimate
200

Gas estimation for the gasless order

Last updated

Was this helpful?