MsgSetDynamicStoreValue

Sets a numeric value for a specific address in a dynamic store.

Proto Definition

message MsgSetDynamicStoreValue {
  string creator = 1; // Address setting the value (must be store creator)
  string storeId = 2; // ID of the dynamic store
  string address = 3; // Address to set the value for
  string value = 4; // Numeric value to set
}

message MsgSetDynamicStoreValueResponse {}

Usage Example

# CLI command
bitbadgeschaind tx badges set-dynamic-store-value [store-id] [address] [value] --from creator-key

JSON Example

{
  "creator": "bb1...",
  "storeId": "1",
  "address": "bb1...",
  "value": "100"
}

Last updated