Description Usage Arguments Value See Also Examples
eth_getBalance
returns the balance of the account of the given address.
1 | eth_getBalance(address = NULL, number = "latest")
|
address |
Address - Address to check the balance. |
number |
Integer|Tag - Block number, or the string 'latest', 'earliest' or 'pending'. |
Integer - Current balance in wei.
Other eth functions: eth_accounts
,
eth_blockNumber
, eth_call
,
eth_coinbase
,
eth_estimateGas
,
eth_gasPrice
,
eth_getBlockByHash
,
eth_getBlockByNumber
,
eth_getBlockTransactionCountByHash
,
eth_getBlockTransactionCountByNumber
,
eth_getCode
,
eth_getFilterChanges
,
eth_getFilterLogs
,
eth_getLogs
, eth_getProof
,
eth_getStorageAt
,
eth_getTransactionByBlockHashAndIndex
,
eth_getTransactionByBlockNumberAndIndex
,
eth_getTransactionByHash
,
eth_getTransactionCount
,
eth_getTransactionReceipt
,
eth_getUncleByBlockHashAndIndex
,
eth_getUncleByBlockNumberAndIndex
,
eth_getUncleCountByBlockHash
,
eth_getUncleCountByBlockNumber
,
eth_getWork
, eth_hashrate
,
eth_mining
,
eth_newBlockFilter
,
eth_newFilter
,
eth_newPendingTransactionFilter
,
eth_protocolVersion
,
eth_sendRawTransaction
,
eth_sendTransaction
,
eth_sign
, eth_submitHashrate
,
eth_submitWork
, eth_syncing
,
eth_uninstallFilter
, gethr
,
personal_sendTransaction
1 2 3 4 | eth_getBalance()
eth_getBalance('0xb117a8bc3ecf2c3f006b89da6826e49b4193977a')
eth_getBalance('0xb117a8bc3ecf2c3f006b89da6826e49b4193977a', 'earliest')
eth_getBalance('0xb117a8bc3ecf2c3f006b89da6826e49b4193977a', 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.