How to get the history of a wallet
What is the history of a wallet?
How to do it with Moralis
import Moralis from 'moralis';
try {
await Moralis.start({
apiKey: "YOUR_API_KEY"
});
const response = await Moralis.EvmApi.wallets.getWalletHistory({
"chain": "0x15b38", // This is for Chiliz Chain Mainnet.
// For Spicy Testnet, use "0x15b32".
"order": "DESC",
"address": "0xYourWalletAddress"
});
console.log(response.raw);
} catch (e) {
console.error(e);
}How to do it with Tatum
How to do it with thirdweb
How to do it with Nodit
Last updated
Was this helpful?