diff --git a/docs/build/rpc-api/daemon-rpc-api/get_asset_info.md b/docs/build/rpc-api/daemon-rpc-api/get_asset_info.md index d7bee4f..440d373 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_asset_info.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_asset_info.md @@ -30,6 +30,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hidden_supply": false, "meta_info": "Stable and private", "owner": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8", + "owner_eth_pub_key": "", "ticker": "ZABC", "total_max_supply": 1000000000000000000 }, @@ -46,6 +47,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hidden_supply": This field is reserved for future use and will be documented later. "meta_info": Any other information associated with the asset in free form. "owner": Owner's key, used only for EMIT and UPDATE validation, can be changed by transferring asset ownership. + "owner_eth_pub_key": [Optional] Owner's key in the case when ETH signature is used. "ticker": Ticker associated with the asset. "total_max_supply": Maximum possible supply for a given asset, cannot be changed after deployment. "status": Status of the call. diff --git a/docs/build/rpc-api/daemon-rpc-api/get_assets_list.md b/docs/build/rpc-api/daemon-rpc-api/get_assets_list.md index b74d5fc..20f6f66 100644 --- a/docs/build/rpc-api/daemon-rpc-api/get_assets_list.md +++ b/docs/build/rpc-api/daemon-rpc-api/get_assets_list.md @@ -33,6 +33,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hidden_supply": false, "meta_info": "Stable and private", "owner": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8", + "owner_eth_pub_key": "", "ticker": "ZABC", "total_max_supply": 1000000000000000000 }], @@ -50,6 +51,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hidden_supply": This field is reserved for future use and will be documented later. "meta_info": Any other information associated with the asset in free form. "owner": Owner's key, used only for EMIT and UPDATE validation, can be changed by transferring asset ownership. + "owner_eth_pub_key": [Optional] Owner's key in the case when ETH signature is used. "ticker": Ticker associated with the asset. "total_max_supply": Maximum possible supply for a given asset, cannot be changed after deployment. "status": Status code of operation, OK if success diff --git a/docs/build/rpc-api/wallet-rpc-api/assets_whitelist_add.md b/docs/build/rpc-api/wallet-rpc-api/assets_whitelist_add.md index 1972d1a..41eb64b 100644 --- a/docs/build/rpc-api/wallet-rpc-api/assets_whitelist_add.md +++ b/docs/build/rpc-api/wallet-rpc-api/assets_whitelist_add.md @@ -30,6 +30,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hidden_supply": false, "meta_info": "Stable and private", "owner": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8", + "owner_eth_pub_key": "", "ticker": "ZABC", "total_max_supply": 1000000000000000000 }, @@ -46,6 +47,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hidden_supply": This field is reserved for future use and will be documented later. "meta_info": Any other information associated with the asset in free form. "owner": Owner's key, used only for EMIT and UPDATE validation, can be changed by transferring asset ownership. + "owner_eth_pub_key": [Optional] Owner's key in the case when ETH signature is used. "ticker": Ticker associated with the asset. "total_max_supply": Maximum possible supply for a given asset, cannot be changed after deployment. "status": Status of the asset diff --git a/docs/build/rpc-api/wallet-rpc-api/assets_whitelist_get.md b/docs/build/rpc-api/wallet-rpc-api/assets_whitelist_get.md index 5924de1..3563829 100644 --- a/docs/build/rpc-api/wallet-rpc-api/assets_whitelist_get.md +++ b/docs/build/rpc-api/wallet-rpc-api/assets_whitelist_get.md @@ -29,6 +29,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hidden_supply": false, "meta_info": "Stable and private", "owner": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8", + "owner_eth_pub_key": "", "ticker": "ZABC", "total_max_supply": 1000000000000000000 }], @@ -40,6 +41,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hidden_supply": false, "meta_info": "Stable and private", "owner": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8", + "owner_eth_pub_key": "", "ticker": "ZABC", "total_max_supply": 1000000000000000000 }], @@ -51,6 +53,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hidden_supply": false, "meta_info": "Stable and private", "owner": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8", + "owner_eth_pub_key": "", "ticker": "ZABC", "total_max_supply": 1000000000000000000 }] @@ -67,6 +70,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hidden_supply": This field is reserved for future use and will be documented later. "meta_info": Any other information associated with the asset in free form. "owner": Owner's key, used only for EMIT and UPDATE validation, can be changed by transferring asset ownership. + "owner_eth_pub_key": [Optional] Owner's key in the case when ETH signature is used. "ticker": Ticker associated with the asset. "total_max_supply": Maximum possible supply for a given asset, cannot be changed after deployment. "local_whitelist": Local whitelist, assets that hase been added to this wallet file manually(!) @@ -77,6 +81,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hidden_supply": This field is reserved for future use and will be documented later. "meta_info": Any other information associated with the asset in free form. "owner": Owner's key, used only for EMIT and UPDATE validation, can be changed by transferring asset ownership. + "owner_eth_pub_key": [Optional] Owner's key in the case when ETH signature is used. "ticker": Ticker associated with the asset. "total_max_supply": Maximum possible supply for a given asset, cannot be changed after deployment. "own_assets": Own assets, the ones that is under control of this wallet @@ -87,6 +92,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hidden_supply": This field is reserved for future use and will be documented later. "meta_info": Any other information associated with the asset in free form. "owner": Owner's key, used only for EMIT and UPDATE validation, can be changed by transferring asset ownership. + "owner_eth_pub_key": [Optional] Owner's key in the case when ETH signature is used. "ticker": Ticker associated with the asset. "total_max_supply": Maximum possible supply for a given asset, cannot be changed after deployment. diff --git a/docs/build/rpc-api/wallet-rpc-api/burn_asset.md b/docs/build/rpc-api/wallet-rpc-api/burn_asset.md index 9a8330b..cbab48a 100644 --- a/docs/build/rpc-api/wallet-rpc-api/burn_asset.md +++ b/docs/build/rpc-api/wallet-rpc-api/burn_asset.md @@ -9,7 +9,16 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "method": "burn_asset", "params": { "asset_id": "40fa6db923728b38962718c61b4dc3af1acaa1967479c73703e260dc3609c58d", - "burn_amount": 10000000 + "burn_amount": 10000000, + "native_amount": 0, + "point_tx_to_address": "ZxBvJDuQjMG9R2j4WnYUhBYNrwZPwuyXrC7FHdVmWqaESgowDvgfWtiXeNGu8Px9B24pkmjsA39fzSSiEQG1ekB225ZnrMTBp", + "service_entries": [{ + "body": "dcfd7e055a6a3043ea3541a571a57a63e25dcc64e4a270f14fa9a58ac5dbec85dcfd7e055a6a3043ea3541a571a57a63e25dcc64e4a270f14fa9a58ac5dbec85", + "flags": 0, + "instruction": "K", + "security": "d8f6e37f28a632c06b0b3466db1b9d2d1b36a580ee35edfd971dc1423bc412a5", + "service_id": "C" + }] } } ``` @@ -17,6 +26,14 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` ``` "asset_id": Id of the asset to burn "burn_amount": Amount to burn + "native_amount": Optional, if we need this transaction to be seen by particular wallet + "point_tx_to_address": Optional, if we need this transaction to be seen by particular wallet + "service_entries": Optional, if we need to include service entries for burn transaction + "body": Hex-encoded body of the attachment + "flags": Flags that help wallet to automatically process some properties of the attachment(combination of TX_SERVICE_ATTACHMENT_ENCRYPT_BODY=1, TX_SERVICE_ATTACHMENT_DEFLATE_BODY=2, TX_SERVICE_ATTACHMENT_ENCRYPT_BODY_ISOLATE_AUDITABLE=4,TX_SERVICE_ATTACHMENT_ENCRYPT_ADD_PROOF=8 ) + "instruction": Instruction that make sence for this particular service + "security": Hex-encoded public key of the owner, optional + "service_id": Service ID, identificator that diferent one service from another ``` ### Response: diff --git a/docs/build/rpc-api/wallet-rpc-api/deploy_asset.md b/docs/build/rpc-api/wallet-rpc-api/deploy_asset.md index 1e5d8b0..a579c2c 100644 --- a/docs/build/rpc-api/wallet-rpc-api/deploy_asset.md +++ b/docs/build/rpc-api/wallet-rpc-api/deploy_asset.md @@ -15,6 +15,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hidden_supply": false, "meta_info": "Stable and private", "owner": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8", + "owner_eth_pub_key": "", "ticker": "ZABC", "total_max_supply": 1000000000000000000 }, @@ -36,6 +37,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hidden_supply": This field is reserved for future use and will be documented later. "meta_info": Any other information associated with the asset in free form. "owner": Owner's key, used only for EMIT and UPDATE validation, can be changed by transferring asset ownership. + "owner_eth_pub_key": [Optional] Owner's key in the case when ETH signature is used. "ticker": Ticker associated with the asset. "total_max_supply": Maximum possible supply for a given asset, cannot be changed after deployment. "destinations": Addresses where to receive emitted coins. Asset id in the destinations is irreleant and can be omitted. diff --git a/docs/build/rpc-api/wallet-rpc-api/get_recent_txs_and_info.md b/docs/build/rpc-api/wallet-rpc-api/get_recent_txs_and_info.md index c130580..8d2030d 100644 --- a/docs/build/rpc-api/wallet-rpc-api/get_recent_txs_and_info.md +++ b/docs/build/rpc-api/wallet-rpc-api/get_recent_txs_and_info.md @@ -43,6 +43,12 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` }, "total_transfers": 1, "transfers": [{ + "ado": { + "operation_type": 1, + "opt_amount_commitment": "5688b56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8", + "opt_asset_id": "cc4e69455e63f4a581257382191de6856c2156630b3fba0db4bdd73ffcfb36b6", + "version": 2 + }, "amount": 1000000000000, "comment": "Comment here", "contract": [{ @@ -109,6 +115,11 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "unlocked_balance": Unlocked balance oof native coins "total_transfers": Total number of transfers in the tx history "transfers": Transfers history array + "ado": "Asset Descriptor Operation" if it was present in transaction + "operation_type": Asset operation type identifier + "opt_amount_commitment": (optional) Asset operation amount commitment (register/emit/burn). + "opt_asset_id": (optional) ID of an asset (emit/burn/update). + "version": Asset operation type struct version "amount": Native coins amount "comment": Some human-readable comment "contract": Escrow contract if it's part of transaction diff --git a/docs/build/rpc-api/wallet-rpc-api/get_recent_txs_and_info2.md b/docs/build/rpc-api/wallet-rpc-api/get_recent_txs_and_info2.md index 27e5606..13e8e25 100644 --- a/docs/build/rpc-api/wallet-rpc-api/get_recent_txs_and_info2.md +++ b/docs/build/rpc-api/wallet-rpc-api/get_recent_txs_and_info2.md @@ -43,6 +43,12 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` }, "total_transfers": 1, "transfers": [{ + "ado": { + "operation_type": 1, + "opt_amount_commitment": "5688b56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8", + "opt_asset_id": "cc4e69455e63f4a581257382191de6856c2156630b3fba0db4bdd73ffcfb36b6", + "version": 2 + }, "comment": "Comment here", "contract": [{ "cancel_expiration_time": 0, @@ -107,6 +113,11 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "unlocked_balance": Unlocked balance oof native coins "total_transfers": Total transfers "transfers": Transfers + "ado": "Asset Descriptor Operation" if it was present in transaction + "operation_type": Asset operation type identifier + "opt_amount_commitment": (optional) Asset operation amount commitment (register/emit/burn). + "opt_asset_id": (optional) ID of an asset (emit/burn/update). + "version": Asset operation type struct version "comment": Some human-readable comment "contract": Escrow contract if it's part of transaction "employed_entries": Mark entries from transaction that was connected to this wallet diff --git a/docs/build/rpc-api/wallet-rpc-api/getbalance.md b/docs/build/rpc-api/wallet-rpc-api/getbalance.md index 6993da2..08ebb54 100644 --- a/docs/build/rpc-api/wallet-rpc-api/getbalance.md +++ b/docs/build/rpc-api/wallet-rpc-api/getbalance.md @@ -31,6 +31,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hidden_supply": false, "meta_info": "Stable and private", "owner": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8", + "owner_eth_pub_key": "", "ticker": "ZABC", "total_max_supply": 1000000000000000000 }, @@ -55,6 +56,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hidden_supply": This field is reserved for future use and will be documented later. "meta_info": Any other information associated with the asset in free form. "owner": Owner's key, used only for EMIT and UPDATE validation, can be changed by transferring asset ownership. + "owner_eth_pub_key": [Optional] Owner's key in the case when ETH signature is used. "ticker": Ticker associated with the asset. "total_max_supply": Maximum possible supply for a given asset, cannot be changed after deployment. "awaiting_in": Unconfirmed amount for receive diff --git a/docs/build/rpc-api/wallet-rpc-api/mw_get_wallets.md b/docs/build/rpc-api/wallet-rpc-api/mw_get_wallets.md index b66cd51..b33ae70 100644 --- a/docs/build/rpc-api/wallet-rpc-api/mw_get_wallets.md +++ b/docs/build/rpc-api/wallet-rpc-api/mw_get_wallets.md @@ -34,6 +34,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hidden_supply": false, "meta_info": "Stable and private", "owner": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8", + "owner_eth_pub_key": "", "ticker": "ZABC", "total_max_supply": 1000000000000000000 }, @@ -67,6 +68,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hidden_supply": This field is reserved for future use and will be documented later. "meta_info": Any other information associated with the asset in free form. "owner": Owner's key, used only for EMIT and UPDATE validation, can be changed by transferring asset ownership. + "owner_eth_pub_key": [Optional] Owner's key in the case when ETH signature is used. "ticker": Ticker associated with the asset. "total_max_supply": Maximum possible supply for a given asset, cannot be changed after deployment. "awaiting_in": Unconfirmed amount for receive diff --git a/docs/build/rpc-api/wallet-rpc-api/search_for_transactions.md b/docs/build/rpc-api/wallet-rpc-api/search_for_transactions.md index b8fc3f1..e801386 100644 --- a/docs/build/rpc-api/wallet-rpc-api/search_for_transactions.md +++ b/docs/build/rpc-api/wallet-rpc-api/search_for_transactions.md @@ -36,6 +36,12 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "jsonrpc": "2.0", "result": { "in": [{ + "ado": { + "operation_type": 1, + "opt_amount_commitment": "5688b56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8", + "opt_asset_id": "cc4e69455e63f4a581257382191de6856c2156630b3fba0db4bdd73ffcfb36b6", + "version": 2 + }, "amount": 1000000000000, "comment": "Comment here", "contract": [{ @@ -89,6 +95,12 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "unlock_time": 0 }], "out": [{ + "ado": { + "operation_type": 1, + "opt_amount_commitment": "5688b56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8", + "opt_asset_id": "cc4e69455e63f4a581257382191de6856c2156630b3fba0db4bdd73ffcfb36b6", + "version": 2 + }, "amount": 1000000000000, "comment": "Comment here", "contract": [{ @@ -142,6 +154,12 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "unlock_time": 0 }], "pool": [{ + "ado": { + "operation_type": 1, + "opt_amount_commitment": "5688b56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8", + "opt_asset_id": "cc4e69455e63f4a581257382191de6856c2156630b3fba0db4bdd73ffcfb36b6", + "version": 2 + }, "amount": 1000000000000, "comment": "Comment here", "contract": [{ @@ -200,6 +218,11 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` ### Response description: ``` "in": List of incoming transactions. + "ado": "Asset Descriptor Operation" if it was present in transaction + "operation_type": Asset operation type identifier + "opt_amount_commitment": (optional) Asset operation amount commitment (register/emit/burn). + "opt_asset_id": (optional) ID of an asset (emit/burn/update). + "version": Asset operation type struct version "amount": Native coins amount "comment": Some human-readable comment "contract": Escrow contract if it's part of transaction @@ -231,6 +254,11 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12,GUI_TX_TYPE_HTLC_DEPOSIT=13,GUI_TX_TYPE_HTLC_REDEEM=14 "unlock_time": Unlock time of this transfer (if present) "out": List of outgoing transactions. + "ado": "Asset Descriptor Operation" if it was present in transaction + "operation_type": Asset operation type identifier + "opt_amount_commitment": (optional) Asset operation amount commitment (register/emit/burn). + "opt_asset_id": (optional) ID of an asset (emit/burn/update). + "version": Asset operation type struct version "amount": Native coins amount "comment": Some human-readable comment "contract": Escrow contract if it's part of transaction @@ -262,6 +290,11 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12,GUI_TX_TYPE_HTLC_DEPOSIT=13,GUI_TX_TYPE_HTLC_REDEEM=14 "unlock_time": Unlock time of this transfer (if present) "pool": List of pool transactions. + "ado": "Asset Descriptor Operation" if it was present in transaction + "operation_type": Asset operation type identifier + "opt_amount_commitment": (optional) Asset operation amount commitment (register/emit/burn). + "opt_asset_id": (optional) ID of an asset (emit/burn/update). + "version": Asset operation type struct version "amount": Native coins amount "comment": Some human-readable comment "contract": Escrow contract if it's part of transaction diff --git a/docs/build/rpc-api/wallet-rpc-api/search_for_transactions2.md b/docs/build/rpc-api/wallet-rpc-api/search_for_transactions2.md index 089a36b..a58c519 100644 --- a/docs/build/rpc-api/wallet-rpc-api/search_for_transactions2.md +++ b/docs/build/rpc-api/wallet-rpc-api/search_for_transactions2.md @@ -36,6 +36,12 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "jsonrpc": "2.0", "result": { "in": [{ + "ado": { + "operation_type": 1, + "opt_amount_commitment": "5688b56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8", + "opt_asset_id": "cc4e69455e63f4a581257382191de6856c2156630b3fba0db4bdd73ffcfb36b6", + "version": 2 + }, "comment": "Comment here", "contract": [{ "cancel_expiration_time": 0, @@ -87,6 +93,12 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "unlock_time": 0 }], "out": [{ + "ado": { + "operation_type": 1, + "opt_amount_commitment": "5688b56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8", + "opt_asset_id": "cc4e69455e63f4a581257382191de6856c2156630b3fba0db4bdd73ffcfb36b6", + "version": 2 + }, "comment": "Comment here", "contract": [{ "cancel_expiration_time": 0, @@ -138,6 +150,12 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "unlock_time": 0 }], "pool": [{ + "ado": { + "operation_type": 1, + "opt_amount_commitment": "5688b56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8", + "opt_asset_id": "cc4e69455e63f4a581257382191de6856c2156630b3fba0db4bdd73ffcfb36b6", + "version": 2 + }, "comment": "Comment here", "contract": [{ "cancel_expiration_time": 0, @@ -194,6 +212,11 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` ### Response description: ``` "in": List of incoming transactions. + "ado": "Asset Descriptor Operation" if it was present in transaction + "operation_type": Asset operation type identifier + "opt_amount_commitment": (optional) Asset operation amount commitment (register/emit/burn). + "opt_asset_id": (optional) ID of an asset (emit/burn/update). + "version": Asset operation type struct version "comment": Some human-readable comment "contract": Escrow contract if it's part of transaction "employed_entries": Mark entries from transaction that was connected to this wallet @@ -223,6 +246,11 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12,GUI_TX_TYPE_HTLC_DEPOSIT=13,GUI_TX_TYPE_HTLC_REDEEM=14 "unlock_time": Unlock time of this transfer (if present) "out": List of outgoing transactions. + "ado": "Asset Descriptor Operation" if it was present in transaction + "operation_type": Asset operation type identifier + "opt_amount_commitment": (optional) Asset operation amount commitment (register/emit/burn). + "opt_asset_id": (optional) ID of an asset (emit/burn/update). + "version": Asset operation type struct version "comment": Some human-readable comment "contract": Escrow contract if it's part of transaction "employed_entries": Mark entries from transaction that was connected to this wallet @@ -252,6 +280,11 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12,GUI_TX_TYPE_HTLC_DEPOSIT=13,GUI_TX_TYPE_HTLC_REDEEM=14 "unlock_time": Unlock time of this transfer (if present) "pool": List of pool transactions. + "ado": "Asset Descriptor Operation" if it was present in transaction + "operation_type": Asset operation type identifier + "opt_amount_commitment": (optional) Asset operation amount commitment (register/emit/burn). + "opt_asset_id": (optional) ID of an asset (emit/burn/update). + "version": Asset operation type struct version "comment": Some human-readable comment "contract": Escrow contract if it's part of transaction "employed_entries": Mark entries from transaction that was connected to this wallet diff --git a/docs/build/rpc-api/wallet-rpc-api/update_asset.md b/docs/build/rpc-api/wallet-rpc-api/update_asset.md index aa57da7..ef817cb 100644 --- a/docs/build/rpc-api/wallet-rpc-api/update_asset.md +++ b/docs/build/rpc-api/wallet-rpc-api/update_asset.md @@ -15,6 +15,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hidden_supply": false, "meta_info": "Stable and private", "owner": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8", + "owner_eth_pub_key": "", "ticker": "ZABC", "total_max_supply": 1000000000000000000 }, @@ -31,6 +32,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc``` "hidden_supply": This field is reserved for future use and will be documented later. "meta_info": Any other information associated with the asset in free form. "owner": Owner's key, used only for EMIT and UPDATE validation, can be changed by transferring asset ownership. + "owner_eth_pub_key": [Optional] Owner's key in the case when ETH signature is used. "ticker": Ticker associated with the asset. "total_max_supply": Maximum possible supply for a given asset, cannot be changed after deployment. "asset_id": Id of the asset to update