Performing Trades
Last updated
Last updated
Carbon DeFi orders are built as an individual concentrated pools of one directional liquidity. Given that, when trading on carbon DeFi, you would need to indicate the orders you would like to use in order to fulfill your trade.
The SDK uses it's trade-matching algorithm to generate trade routes through Carbon DeFi strategies.
Initialize the SDK with the .
Sync strategy data by calling .
Generate a trade route using .
Generate a trade transaction, using either:
or
Sign and submit the unsigned transaction to the blockchain.