swap_with_velvet_and_enso

Documentation for eth_defi.velvet.enso.swap_with_velvet_and_enso function.

swap_with_velvet_and_enso(chain_id, portfolio_address, owner_address, token_in, token_out, swap_amount, slippage, remaining_tokens, api_url='https://intents.velvet.capital/api/v1', gas_safety_margin=500000, retries=5)

Set up a Enzo + Velvet swap tx.

Parameters
Returns

Constructor transsaction payload.

Return type

dict