Skip to main content

get_alias_reward

Retrieves the cost of registering an alias on the blockchain.

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

Request:

{
"id": 0,
"jsonrpc": "2.0",
"method": "get_alias_reward",
"params": {
"alias": ""
}
}

Request description:

    "alias": The alias name for which the registration cost is being queried.

Response:

{
"id": 0,
"jsonrpc": "2.0",
"result": {
"reward": 0,
"status": "OK"
}
}

Response description:

    "reward": The registration cost for the specified alias.
"status": Status of the call.