GET /trade/v1/{chainId}/approval/transaction
It generates the data needed for calling the contract in order to allow Unizen DEX Aggregator to spend funds.
Last updated
Was this helpful?
It generates the data needed for calling the contract in order to allow Unizen DEX Aggregator to spend funds.
Last updated
Was this helpful?
/v1/{chainId}/approval/transaction
The chain ID of the chain to approve token
1
1
, 137
, 56
, 43114
, 250
, 10
, 42161
, 8453
Token address you want to exchange
0xc52c326331e9ce41f04484d3b5e5648158028804
The number of tokens that the Unizen DEX Aggregator contract is allowed to spend. If not specified, it will be allowed to spend an infinite amount of tokens.
100000000000
Contract version, return from quote endpoint
v1
v1
, v2
, v3