eth_getBlockByHash

Provides details about a block specified by its hash

Parameters

  • hash: (string) [Required] A string representing the hash (32 bytes) of a block.

  • transaction details flag: (boolean) [Required] If set to true, returns the full transaction objects, if false returns only the hashes of the transactions.


Returns

A hexadecimal of the current balance in the account at the given address. The balance is in wei.


Example

Request

curl -X POST https://testnet.1money.network \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0","method": "eth_getBalance", "params": ["0xc09170007dda54cF92009BFF0dE90c06F603a1ff", "latest"], "id": 1}'

Response

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

Last updated