Skip to main content
Version: 2.2

Get native balance by wallet

Don't have an API key yet?

Start using this API for your project today.

Get your free API key
GEThttps://deep-index.moralis.io/api/v2.2/:address/balance

Get the native balance for a specific wallet address.

PATH PARAMS
addressstringrequired
The address from which the native balance will be checked
QUERY PARAMS
chainstring
The chain to query
to_blocknumber
The block number from which the balances should be checked
Responses
API KEY
import Moralis from 'moralis';

try {
await Moralis.start({
apiKey: "YOUR_API_KEY"
});

const response = await Moralis.EvmApi.balance.getNativeBalance({
"chain": "0x1",
"address": "0xDC24316b9AE028F1497c275EB9192a3Ea0f67022"
});

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example
{
"balance": "1234567890"
}