Skip to content

Commit

Permalink
[Confluence Documentation] Update message AddAssetQuantity and Subtra…
Browse files Browse the repository at this point in the history
…ctAssetQuantity with extra optional parameter (#4032)

* Add new protobuf parameters

Signed-off-by: dominious1 <[email protected]>
  • Loading branch information
dominious1 authored Feb 2, 2024
1 parent ffed6b0 commit 2e315d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/source/develop/api/commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Schema
message AddAssetQuantity {
string asset_id = 1;
string amount = 2;
optional string description = 3;
}
.. note::
Expand All @@ -37,6 +38,7 @@ Structure

"Asset ID", "id of the asset", "<asset_name>#<domain_id>", "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
^^^^^^^^^^
Expand Down Expand Up @@ -793,6 +795,7 @@ Schema
message SubtractAssetQuantity {
string asset_id = 1;
string amount = 2;
optional string description = 3;
}
.. note::
Expand All @@ -808,6 +811,7 @@ Structure

"Asset ID", "id of the asset", "<asset_name>#<domain_id>", "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
^^^^^^^^^^
Expand Down

0 comments on commit 2e315d3

Please sign in to comment.