Return balance from a provided block
GEThttps://api.fuse.io/api/v0/explorer/?module=account&action=eth_get_balance
Return balance from a provided block
Request
Query Parameters
module stringrequired
Possible values: [account
]
action stringrequired
Possible values: [eth_get_balance
]
apiKey stringrequired
Example: pk_1234567890
address stringrequired
string containing the address hash.
block string
Block number as a string, or latest
, earliest
or pending
. Latest is the latest balance in a consensus block. Earliest is the first recorded balance for the address. Pending is the latest balance in a consensus or nonconsensus block.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
id integer
jsonrpc string
result string
{
"id": 0,
"jsonrpc": "string",
"result": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://api.fuse.io/api/v0/explorer' \
-H 'Accept: application/json'
ResponseClear