submit
Submit a gasless swap
Headers
0x-api-key
Visit dashboard.0x.org to get your API Key
0x-version
API version
Request
This endpoint expects an object.
chainId
Chain ID. See [here](https://0x.org/docs/developer-resources/supported-chains) for the list of supported chains
trade
The trade object from the quote endpoint including its signature
approval
The gasless approval object from the quote endpoint including its signature
Response
Successful response
tradeHash
The hash for the trade according to [EIP-712](https://eips.ethereum.org/EIPS/eip-712)
type
The transaction type determined by the trade route. This is currently just settler_metatransaction and could expand to more types in the future
Allowed values:
zid
The unique ZeroEx identifier of the request