SDK Examples
History balance of a wallet
Retrieve the history balance of a wallet.
import { Mobula } from "mobula-api-sdk";
const mobula = new Mobula("YOUR_API_KEY_HERE");
mobula
.fetchWalletHistoryBalance({
wallet: "0x77A89C51f106D6cD547542a3A83FE73cB4459135",
})
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error("Error:", error);
});
Parameters
wallet
: stringfrom
: numberto
: numberrequestOptions
: RequestOptions
Was this page helpful?