From d04db70de44ddcb5cf53339cc2df6d628352fcf8 Mon Sep 17 00:00:00 2001 From: zano build machine Date: Sun, 16 Jun 2024 20:45:36 +0300 Subject: [PATCH] Auto generated doc --- .../rpc-api/wallet-rpc-api/update_alias.md | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 docs/build/rpc-api/wallet-rpc-api/update_alias.md diff --git a/docs/build/rpc-api/wallet-rpc-api/update_alias.md b/docs/build/rpc-api/wallet-rpc-api/update_alias.md new file mode 100644 index 0000000..063581b --- /dev/null +++ b/docs/build/rpc-api/wallet-rpc-api/update_alias.md @@ -0,0 +1,43 @@ +Update an alias details/transwer alias ownership + +URL: ```http:://127.0.0.1:11211/json_rpc``` +### Request: +```json +{ + "id": 0, + "jsonrpc": "2.0", + "method": "update_alias", + "params": { + "al": { + "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" +} +} +} +``` +### Request description: +``` + "al": Alias details + "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). + +``` +### Response: +```json +{ + "id": 0, + "jsonrpc": "2.0", + "result": { + "tx_id": "97d91442f8f3c22683585eaa60b53757d49bf046a96269cef45c1bc9ff7300cc" +} +} +``` +### Response description: +``` + "tx_id": If success - transactions that performs registration(alias becomes available after few confirmations) + +```