Get Accounts
Returns a list of all account entity items on the network.
This method will use 20
Compute Units.
Returns a list of all account entity items on the network.
Query parameters
account.balancestringOptionalExample:
The optional balance value to compare against
{"summary":"--","value":""}
Pattern: ^((gte?|lte?|eq|ne)\:)?\d{1,10}$
account.idstringOptionalExample:
The ID of the account to return information for
{"summary":"--","value":""}
Pattern: ^((gte?|lte?|eq|ne)\:)?(\d{1,10}\.\d{1,10}\.)?\d{1,10}$
account.publickeystringOptionalExample:
The account's public key to compare against
3c3d546321ff6f63d701d2ec5c277095874e19f4a235bee1e6bb19258bf362be
balancebooleanOptionalDefault:
Whether to include balance information or not. If included, token balances are limited to at most 50 per account as outlined in HIP-367.
true
Example: true
limitinteger · int32 · min: 1 · max: 100OptionalDefault:
The maximum number of items to return
25
Example: 2
orderundefined · enumOptionalDefault:
The order in which items are listed
asc
Example: desc
Possible values: Responses
200
OK
application/json
400
Invalid parameter
application/json
get
GET /v1/YOUR_API_KEY/api/v1/accounts HTTP/1.1
Host: mainnet.hedera.validationcloud.io
Accept: */*
{
"accounts": [
{
"account": "0.0.8",
"alias": "HIQQEXWKW53RKN4W6XXC4Q232SYNZ3SZANVZZSUME5B5PRGXL663UAQA",
"auto_renew_period": null,
"balance": {
"timestamp": "0.000002345",
"balance": 80,
"tokens": [
{
"token_id": "0.0.200001",
"balance": 8
}
]
},
"created_timestamp": "1562591528.000123456",
"decline_reward": false,
"deleted": false,
"ethereum_nonce": 10,
"evm_address": "0xac384c53f03855fa1b3616052f8ba32c6c2a2fec",
"expiry_timestamp": null,
"key": null,
"max_automatic_token_associations": 200,
"memo": "entity memo",
"pending_reward": 100,
"receiver_sig_required": false,
"staked_account_id": null,
"staked_node_id": 3,
"stake_period_start": "172800000.000000000"
}
],
"links": {
"next": "/api/v1/transactions?timestamp=lt:1657598275.517984411"
}
}
Last updated
Was this helpful?