GET /trade/v1/{chainId}/swap/single
Generate transaction data for single-chain trade via Unizen DEX Aggregator
Last updated
Was this helpful?
Generate transaction data for single-chain trade via Unizen DEX Aggregator
Last updated
Was this helpful?
/v1/{chainId}/swap/single
The chain ID of the chain where the swap will be conducted
56
1
, 137
, 56
, 43114
, 250
, 10
, 42161
, 8453
The transactionData object obtained from the /quote API, parsed as a string.
{}
The native currency value for this transaction, obtained from the /quote API response.
0
The user's address that conducts the trade.
0xF0Fbf42C54Ac40dA016003baD35E5AefaC6E1CE1
The wallet address that will receive the funds.
0xF0Fbf42C54Ac40dA016003baD35E5AefaC6E1CE1
tradeType obtained from the /quote API response
0
0
, 1