v1

latestOpenAPI 3.0.02026-07-17224996.6 KB
Accounts

Get account balance by Address and BlockHeight.

Get an account's balance by the provided address and block height.

get/accounts/{address}/balance

Path parameters

addressstring hexadecimal required

The 8-byte address of an account.

The address of the account.

Query parameters

string uint64
OR
'final' | 'sealed'

The block height at which to query for the account details. "sealed" is used by default.

expandstring[]

A comma-separated list indicating which properties of the content to expand.

selectstring[]

A comma-separated list indicating which properties of the content to return.

agreeing_executors_countstring uint64

A minimum number of execution receipts for the execution result.

required_executor_idsIdentifier[]

A set of execution node IDs, one of which must have produced the execution result.

include_executor_metadataboolean

Specifies whether or not to include the executor metadata in the response.

Response

OK

balancestring uint64 required

Flow balance of the account.

Example response

{
  "metadata": {
    "executor_metadata": {
      "execution_result_id": null,
      "executor_ids": [
        null,
        null
      ]
    }
  },
  "balance": "balance"
}