GET /trade/v1/{chainId}/swap/single
Generate transaction data for single-chain trade via Unizen DEX Aggregator
Authorizations
HTTPRequired
[just text field] Please enter token in following format: Bearer
Path parameters
chainIdnumber · enumRequiredExample:
The chain ID of the chain where the swap will be conducted
56Possible values: Body
transactionDatastringRequiredExample:
The transactionData object obtained from the /quote API, parsed as a string.
{}nativeValuestringRequiredExample:
The native currency value for this transaction, obtained from the /quote API response.
0accountstringRequiredExample:
The user's address that conducts the trade.
0xF0Fbf42C54Ac40dA016003baD35E5AefaC6E1CE1receiverstringOptionalExample:
The wallet address that will receive the funds.
0xF0Fbf42C54Ac40dA016003baD35E5AefaC6E1CE1tradeTypenumber · enumRequiredExample:
tradeType obtained from the /quote API response
0Possible values: Responses
200
Generate transaction data for single-chain trade
application/json
post
/v1/{chainId}/swap/single200
Generate transaction data for single-chain trade
Last updated
Was this helpful?