Get an individual Account Key By Address and Index
Changed onGet an account data by provided address in latest "sealed" block or by provided block height.
Request
- Base URLhttps://rest-testnet.onflow.org/v1
- URLhttps://rest-testnet.onflow.org/v1/accounts/{address}/keys/{index}
- Authnone declared
Path parameters
The 8-byte address of an account.
The address of the account.
Index of the public key.
The index of the account key.
Query parameters
The block height to query for the account details at the "sealed" is used by default.
A comma-separated list indicating which properties of the content to expand.
A comma-separated list indicating which properties of the content to return.
A minimum number of execution receipts for the execution result.
A set of execution node IDs, one of which must have produced the execution result.
Specifies whether or not to include the executor metadata in the response.
Response
OK
Example response
{
"public_key": "public_key",
"sequence_number": "sequence_number",
"metadata": {
"executor_metadata": {
"execution_result_id": null,
"executor_ids": [
null,
null
]
}
},
"index": "index",
"weight": "weight",
"signing_algorithm": "BLSBLS12381",
"revoked": true,
"hashing_algorithm": "SHA2_256"
}Changes
- info
added the new optional
queryrequest parameteragreeing_executors_count - info
added the new optional
queryrequest parameterinclude_executor_metadata - info
added the new optional
queryrequest parameterrequired_executor_ids - info
added the optional property
to the response with the status
- info
- warning
deleted the
queryrequest parameteragreeing_executors_count - warning
deleted the
queryrequest parameterinclude_executor_metadata - warning
deleted the
queryrequest parameterrequired_executor_ids - warning
removed the optional property
from the response with the status
- warning