Historical
Reading transactions using Etherspot
Getting started
Fetching historical transactions
const transactions = await sdk.getTransactions();
console.log('Transactions:', transactions);Fetching a single transaction
const singleTransaction = await sdk.getTransaction({
hash: null, // Replace null with your transaction hash
});
console.log('Transaction:', singleTransaction);🎉 Finished!
Last updated
Was this helpful?