get_all_alias_details
Returns all registered aliases
Request
{
"jsonrpc": "2.0",
"id": 0,
"method": "get_all_alias_details"
}
Response
ㅤ
This request has been shortened for the sake of the example, a real response will return many more aliases.
{
"id": 0,
"jsonrpc": "2.0",
"result": {
"aliases": [
{
"address": "NiRCn8fKmvenQRNdoFFsDinWMfucfC5H9Abb71HjUFbPcEgaCk1fdjqSe4ZDskYgLQtRUFYDH1AqUAWDHjmu84hSG394mceDgb",
"alias": "@nirmata_example",
"comment": "Coolest username",
"tracking_key": ""
}
],
"status": "OK"
}
}
Response information
- aliases - array of objects; every alias currently registered in the blockchain. Fields of each item:
- address - string; address of a corresponding wallet.
- alias - string; alias name.
- comment - string; user-defined comment, made by alias owner (optional).
- tracking_key - string; hex-encoded secret view key (optional) of the wallet.
- status - string; call result.
OKif the list has been retrieved successfully, otherwise an error string.