cURL
curl --request GET \ --url https://solana-gateway.moralis.io/account/{network}/{address}/balance \ --header 'X-Api-Key: <api-key>'
{ "solana": "<string>", "lamports": "<string>" }
Gets native balance owned by the given address
The network to query
mainnet
devnet
The address to query
"kXB7FfzdrfZpAZEW3TZcp8a8CwQbsowa6BdfAHZ4gVs"