Skip to main content

get_alias_by_address

Retrieves all aliases registered for a given address.

URL: http:://127.0.0.1:11211/json_rpc

Request:

{
"id": 0,
"jsonrpc": "2.0",
"method": "get_alias_by_address",
"params": ""
}

Request description:


Response:

{
"id": 0,
"jsonrpc": "2.0",
"result": {
"alias_info_list": [{
"address": "ZxCSpsGGeJsS8fwvQ4HktDU3qBeauoJTR6j73jAWWZxFXdF7XTbGm4YfS2kXJmAP4Rf5BVsSQ9iZ45XANXEYsrLN2L2W77dH7",
"alias": "zxdya6q6whzwqjkmtcsjpc3ku",
"comment": "Society is never gonna make any progress until we all learn to pretend to like each other.",
"tracking_key": "18bb94f69ed61b47b6556f3871b89dff8f9a6f4f798f706fd199b05ccf8ef20c"
}],
"status": "OK"
}
}

Response description:

    "alias_info_list": List of alias_rpc_details objects, each containing detailed information about each alias registered to the specified address.
"address": Address of the alias.
"alias": Alias itself, a brief shortcut for an address.
"comment": Arbitrary comment (optional).
"tracking_key": View secret key of the corresponding address (optional).
"status": Status of the call.