1
vote
Size of Big_map or Big_map is empty?
You can use this RPC endpoint to retrieve big_map size in bytes:
/chains/main/blocks/${level}/context/raw/json/big_maps/index/${big_map_id}/total_bytes
1
vote
Accepted
Size of Big_map or Big_map is empty?
No, it's not possible due to the way bigmaps are stored on-chain, so you can't know it by asking a node or within a smart contract, but indexers generally keep track of how many entries there are in a ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
smart-contracts × 311smartpy × 88
michelson × 45
tezos-client × 32
ligo × 28
liquidity × 27
taquito × 21
contract × 20
storage × 19
error × 11
deploy × 11
fa1.2 × 10
node × 9
baking × 9
bigmap × 9
transactions × 7
rpc × 7
eztz × 7
dapps × 7
fa2 × 7
blockchain × 6
testing × 6
conseil × 6
nft × 6
wallets × 5