Contract calls
Execute any contracts calls at the end of Squid Route
With this feature you will be able to execute any number of arbitrary contract calls at the end of the Squid Route. Let's suppose that you want to bridge USDC.e from Avalanche and receive USDC on Ethereum, from that point you want to purchase an NFT or swap to other token not supported by default with Squid, this feature enable infinite possibilities.
To achieve this we will provide some guidance and example on how to encode the data and generate the array of objects (calls) to fetch the API and receive the appropriate encoded data to be executed.
Last modified 4mo ago