Pobieranie historii portfela
Pobierz pełną historię transakcji portfela na Chiliz Chain używając Moralis Wallet API, z przykładami kodu dla transakcji kredytowych i debetowych.
Czym jest historia portfela?
Jak to zrobić z 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);
}Jak to zrobić z Tatum
Jak to zrobić z thirdweb
Jak to zrobić z Nodit
Ostatnia aktualizacja
Czy to było pomocne?