Get account by alias, id, or evm address
Changed onReturn the account transactions and balance information given an account alias, an account id, or an evm address. The information will be limited to at most 1000 token balances for the account as outlined in HIP-367. When the timestamp parameter is supplied, we will return transactions and account state for the relevant timestamp query. Balance information will be accurate to within 15 minutes of the provided timestamp query. Historical ethereum nonce information is currently not available and may not be the exact value at a provided timestamp.
Request
- Base URL(relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/accounts/{idOrAliasOrEvmAddress}
- Authnone declared
Path parameters
Account alias or account id or evm address
Query parameters
The maximum number of items to return
The order in which items are listed
The consensus timestamp as a Unix timestamp in seconds.nanoseconds format with an optional comparison operator. See unixtimestamp.com for a simple way to convert a date to the 'seconds' part of the Unix time.
If provided and set to false transactions will not be included in the response
Response
OK
Example response
{
"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,
"delegation_address": "0x019b8ee526333d9cbbbc35fff0309794dfa73451",
"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"
}Changes
- warning
added the new
CLPRCLOSECHANNELenum value to the///response property for the response status - warning
added the new
CLPRCOMPLETECHANNELenum value to the///response property for the response status - warning
added the new
CLPRCOMPLETECONNECTORenum value to the///response property for the response status - warning
added the new
CLPRDEREGISTERCONNECTORenum value to the///response property for the response status - warning
added the new
CLPRREDACTMESSAGEenum value to the///response property for the response status - warning
added the new
CLPRREGISTERCHANNELenum value to the///response property for the response status - warning
added the new
CLPRREGISTERCONNECTORenum value to the///response property for the response status - warning
added the new
CLPRSUBMITBUNDLEenum value to the///response property for the response status - warning
added the new
CLPRUPDATELEDGERCONFIGURATIONenum value to the///response property for the response status - info
added the new enum value
CLPRCLOSECHANNELto thequeryrequest parametertransactiontype - info
added the new enum value
CLPRCOMPLETECHANNELto thequeryrequest parametertransactiontype - info
added the new enum value
CLPRCOMPLETECONNECTORto thequeryrequest parametertransactiontype - info
added the new enum value
CLPRDEREGISTERCONNECTORto thequeryrequest parametertransactiontype - info
added the new enum value
CLPRREDACTMESSAGEto thequeryrequest parametertransactiontype - info
added the new enum value
CLPRREGISTERCHANNELto thequeryrequest parametertransactiontype - info
added the new enum value
CLPRREGISTERCONNECTORto thequeryrequest parametertransactiontype - info
added the new enum value
CLPRSUBMITBUNDLEto thequeryrequest parametertransactiontype - info
added the new enum value
CLPRUPDATELEDGERCONFIGURATIONto thequeryrequest parametertransactiontype
- warning
- info
added the required property
////to the response with the status
- info