v1

latestOpenAPI 3.0.02026-07-26541677.9 KB
Ethereum API

eth_getBalance

Returns the balance of the given address

post/eth_getBalance

Request body

jsonrpcstring required

JSON-RPC version

methodstring required

The method to call

idinteger required

Request identifier

Response

Returns the account balance

jsonrpcstring
idinteger
resultstring

The current balance in wei

Example response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x4563918244f40000"
}