0xd0e30db0 (the deposit() function selector), so you can copy-paste and run immediately.
Prerequisites
- An Enso API key (get one here)
1. Simulate a Transaction
Send your transaction to the simulate endpoint to get predicted output amounts and gas consumption.simulationId is a UUID you’ll use in the next step to validate the transaction before signing.
2. Validate Before Signing
Before signing the transaction, send it with thesimulationId to confirm nothing has changed.
3. Sign and Submit
Once validated, sign and submit the transaction using any web3 library.Updated
