GetDynamicStoreValue
GetDynamicStoreValue returns the boolean stored for one address in a dynamic store.
Returns the boolean value for one address in a dynamic store.
Example
bb query tokenization dynamic-store-value 1 bb1py4mfpg6uf59qkyzg0nmau322c5873eeysp5uecurl https://lcd.bitbadges.io/bitbadges/bitbadgeschain/tokenization/get_dynamic_store_value/1/bb1py4mfpg6uf59qkyzg0nmau322c5873eeysp5ueRequest
| Field | Type | Description |
|---|---|---|
storeId | string | Store ID. |
address | string | Address to look up. |
Response
{
"value": { "storeId": "1", "address": "bb1py4mfpg6uf59qkyzg0nmau322c5873eeysp5ue", "value": true }
}| Field | Type | Description |
|---|---|---|
storeId | Uint | Store ID. |
address | string | Address. |
value | bool | Stored value, or the store's defaultValue when no entry exists. |
Behavior
- This query returns the per-address value only. It does not apply the
globalEnabledkill switch; check GetDynamicStore for that.