Babylon will have a new RPC to query big map value according to this link http://tezos.gitlab.io/babylonnet/api/rpc.html#get-block-id-context-big-maps-big-map-id-script-expr
I tried using it with a new contract. I deployed this contract https://babylonnet.tzscan.io/KT1DT9YwHdSbZuVuZDjd1SMUcfXm57R5bE9v
If I understood correctly, the id of my big map should be
Knowing that my big map got initialized with a key
What is the correct way to get the value using either the cli or rpc?
I have tried:
tezos get element tz1bwsEWCwSEXdRvnJxvegQZKeX5dj6oKEys of big map 22
Both do not work. If I understand correctly, I will probably need to encode my key. I am unsure about what the required encoding is and can't seem to find an example that works.