Skip to content

GetDynamicStoreValue returns the boolean stored for one address in a dynamic store.

Returns the boolean value for one address in a dynamic store.

Example

bash
bb query tokenization dynamic-store-value 1 bb1py4mfpg6uf59qkyzg0nmau322c5873eeysp5ue
bash
curl https://lcd.bitbadges.io/bitbadges/bitbadgeschain/tokenization/get_dynamic_store_value/1/bb1py4mfpg6uf59qkyzg0nmau322c5873eeysp5ue

Request

FieldTypeDescription
storeIdstringStore ID.
addressstringAddress to look up.

Response

json
{
  "value": { "storeId": "1", "address": "bb1py4mfpg6uf59qkyzg0nmau322c5873eeysp5ue", "value": true }
}
FieldTypeDescription
storeIdUintStore ID.
addressstringAddress.
valueboolStored value, or the store's defaultValue when no entry exists.

Behavior

  • This query returns the per-address value only. It does not apply the globalEnabled kill switch; check GetDynamicStore for that.

Edit this page on GitHub