Can we do something similar to myMap.get(key, defaultValue = None)
of smartPy with Taquito?
An instruction like:
const myContract = await Tezos.contract.at(contractAddress);
const contractStorage = await myContract.storage();
const value = await contractStorage.myMap.get(key, defaultValue = 0)
Thnak you.