From b4c0d441c0570c4b2cbc56637e8dc40d35550e0e Mon Sep 17 00:00:00 2001 From: Heorhii Azarov Date: Fri, 30 Aug 2024 17:59:54 +0300 Subject: [PATCH] Update rpc docs --- wallet/wallet-rpc-daemon/docs/RPC.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/wallet/wallet-rpc-daemon/docs/RPC.md b/wallet/wallet-rpc-daemon/docs/RPC.md index 047a5b6d3..ad77a706a 100644 --- a/wallet/wallet-rpc-daemon/docs/RPC.md +++ b/wallet/wallet-rpc-daemon/docs/RPC.md @@ -955,6 +955,28 @@ Returns: { "tx_id": hex string } ``` +### Method `token_change_metadata_uri` + +Change the metadata URI of a token + + +Parameters: +``` +{ + "account": number, + "token_id": bech32 string, + "metadata_uri": hex string, + "options": { "in_top_x_mb": EITHER OF + 1) number + 2) null }, +} +``` + +Returns: +``` +{ "tx_id": hex string } +``` + ### Method `token_mint` Given a token that is already issued, mint new tokens and increase the total supply