diff --git a/documentation.swagger.json b/documentation.swagger.json index d6dd0d0..d60905e 100644 --- a/documentation.swagger.json +++ b/documentation.swagger.json @@ -1161,6 +1161,27 @@ } } }, + "modelRemoveAccountDatasetTransactionBody": { + "type": "object", + "properties": { + "Property": { + "type": "string", + "title": "Property name" + }, + "RecipientAccountAddress": { + "type": "string", + "title": "Account Address that got property of Dataset" + }, + "SetterAccountAddress": { + "type": "string", + "title": "Account Address that set Dataset" + }, + "Value": { + "type": "string", + "title": "Value of property" + } + } + }, "modelRemoveNodeRegistrationTransactionBody": { "type": "object", "properties": { @@ -1296,6 +1317,9 @@ "nodeRegistrationTransactionBody": { "$ref": "#/definitions/modelNodeRegistrationTransactionBody" }, + "removeAccountDatasetTransactionBody": { + "$ref": "#/definitions/modelRemoveAccountDatasetTransactionBody" + }, "removeNodeRegistrationTransactionBody": { "$ref": "#/definitions/modelRemoveNodeRegistrationTransactionBody" }, @@ -1368,19 +1392,5 @@ } } } - }, - "x-stream-definitions": { - "modelGetNodeHardwareResponse": { - "properties": { - "error": { - "$ref": "#/definitions/runtimeStreamError" - }, - "result": { - "$ref": "#/definitions/modelGetNodeHardwareResponse" - } - }, - "title": "Stream result of modelGetNodeHardwareResponse", - "type": "object" - } } } diff --git a/model/transaction.proto b/model/transaction.proto index 65a17a3..0a1ceb1 100644 --- a/model/transaction.proto +++ b/model/transaction.proto @@ -30,9 +30,9 @@ message Transaction { RemoveNodeRegistrationTransactionBody removeNodeRegistrationTransactionBody = 18; ClaimNodeRegistrationTransactionBody claimNodeRegistrationTransactionBody = 19; SetupAccountDatasetTransactionBody setupAccountDatasetTransactionBody = 20; - + RemoveAccountDatasetTransactionBody removeAccountDatasetTransactionBody = 21; } - bytes Signature = 21; + bytes Signature = 22; } message EmptyTransactionBody {} @@ -60,6 +60,10 @@ message UpdateNodeRegistrationTransactionBody { ProofOfOwnership Poown = 4; } +message RemoveNodeRegistrationTransactionBody { + bytes NodePublicKey = 1; +} + message SetupAccountDatasetTransactionBody { // Account Address that set Dataset string SetterAccountAddress = 1; @@ -73,8 +77,15 @@ message SetupAccountDatasetTransactionBody { uint64 MuchTime = 5 [jstype = JS_STRING]; } -message RemoveNodeRegistrationTransactionBody { - bytes NodePublicKey = 1; +message RemoveAccountDatasetTransactionBody { + // Account Address that set Dataset + string SetterAccountAddress = 1; + // Account Address that got property of Dataset + string RecipientAccountAddress = 2; + // Property name + string Property = 3; + // Value of property + string Value = 4; } message ClaimNodeRegistrationTransactionBody {