From feaa16d7b9a9feb17994ba1d8d310ea4ec70dda8 Mon Sep 17 00:00:00 2001 From: dominious1 <140593941+dominious1@users.noreply.github.com> Date: Fri, 3 Nov 2023 09:58:36 +0100 Subject: [PATCH] Update message AddAssetQuantity and SubtractAssetQuantity Updated in param's tables Update docs/source/develop/api/commands.rst Signed-off-by: dominious1 <140593941+dominious1@users.noreply.github.com> --- docs/source/develop/api/commands.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/source/develop/api/commands.rst b/docs/source/develop/api/commands.rst index 6eb2e860008..429242f6376 100644 --- a/docs/source/develop/api/commands.rst +++ b/docs/source/develop/api/commands.rst @@ -21,6 +21,7 @@ Schema message AddAssetQuantity { string asset_id = 1; string amount = 2; + optional string description = 3; } .. note:: @@ -37,6 +38,7 @@ Structure "Asset ID", "id of the asset", "#", "usd#morgan" "Amount", "positive amount of the asset to add", "> 0", "200.02" + "Description", "description of the transaction", "Max length of description (set in genesis block, by default is 100*1024)", "Mint assets" Validation ^^^^^^^^^^ @@ -793,6 +795,7 @@ Schema message SubtractAssetQuantity { string asset_id = 1; string amount = 2; + optional string description = 3; } .. note:: @@ -808,6 +811,7 @@ Structure "Asset ID", "id of the asset", "#", "usd#morgan" "Amount", "positive amount of the asset to subtract", "> 0", "200" + "Description", "description of the transaction", "Max length of description (set in genesis block, by default is 100*1024)", "Burn assets" Validation ^^^^^^^^^^