Returns the balance of given account address in wei. The API credit value for this method is 90

  1. Parameters

  • address string*REQUIRED

    The address (20 bytes) to check for balance

  • blockNumber/tag string*REQUIRED

    The block number in hexadecimal format or the string latest, earliest, pending, safe or finalized (safe and finalized tags are only supported on Ethereum, Gnosis, Arbitrum, Arbitrum Nova and Avalanche C-chain), see the default block parameter description in the official Ethereum documentation

curl https://Krypc-End Point URL/ \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"method":"eth_getBalance","params":["0x8D97689C9818892B700e27F316cc3E41e17fBeb9", "latest"],"id":1,"jsonrpc":"2.0"}'
  1. Returns

    1. Results-The ETH balance of the specified address in hexadecimal value, measured in wei

Last updated