Balance

Get the current account balance of the client

get
Get Account Balance

https://hedera-serverless-consensus.vercel.app/api/account/balance
This endpoint allows you to get the account balance of the client
Request
Response
Request
Headers
x-api-key
required
string
The value set as API_SECRET_KEY in the client's environment.
Response
200: OK
Account balance response
{
"data": {
"balance": "10000"
}
}
401: Unauthorized
Will ask to include a api-key, if invalid will return with "Unable to validate with the supplied 'x-api-key'"
{
"reason": "Please set \"x-api-key\" in your header"
}