Hooks
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
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!
import {
useEtherspotTransactions,
} from '@etherspot/transaction-kit';
// Later in the main component function...
const { send } = useEtherspotTransactions();
// And when you're ready to end your transaction(s)...
send(); // This is also a Promise
// Your transactions are now being sent to the blockchain
