estimate()
Estimates all batches and transactions
Introduction
How to use
import {
useEtherspotTransactions,
} from '@etherspot/transaction-kit';
// Later in the main component function...
const { estimate } = useEtherspotTransactions();
// And when you're ready to perform the estimate...
estimate(); // This is also a Promise
// Now your transactions are ready to send!🎉 Congratulations!
Last updated
Was this helpful?