Gasless

submit

Submit a gasless swap

post/gasless/submit

Headers

0x-api-keystring required

Visit dashboard.0x.org to get your API Key

0x-versionstring required
Example:v2

API version

Request body

chainIdinteger required

Chain ID. See here for the list of supported chains

Response

Successful response

tradeHashstring required

The hash for the trade according to EIP-712

type'settler_metatransaction' | 'settler_intent' required

The transaction type determined by the trade route. This is currently just settler_metatransaction and could expand to more types in the future

zidstring required

The unique ZeroEx identifier of the request

Changes