Skip to main content
Version: 2.0

Get native balance by wallet

GEThttps://deep-index.moralis.io/api/v2/: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": "0x057Ec652A4F150f7FF94f089A38008f49a0DF88e"
});

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