Returns the balance of the account of given address.
POST/:network//eth_getBalance
Returns the balance of the account of given address.
Request
Path Parameters
network stringrequired
Default value: eth-mainnet
The blockchain network to connect to.
Example: eth-mainnet
Query Parameters
projectId stringrequired
Default value: 8ry9f6t9dct1se2hlagxnd9n2a
The id of your project. Can be found in your Histori dashboard.
Example: 8ry9f6t9dct1se2hlagxnd9n2a
- application/json
Body
id integer
jsonrpc string
method string
params undefined[]nullable
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Sample Response
Schema
id integer
jsonrpc string
result string
{
"id": 0,
"jsonrpc": "string",
"result": "string"
}
Real World response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0xba862b54effa"
}
Loading...