Reading smart contract storage
It is easy to read any database field of any contract.
Read a single field
To read a single field execute the following command:
Make sure you replace $CONTRACT_ADDR
and $DB_SLOT
with the right values.
Read multiple fields
To read multiple fields execute the following command:
Make sure you replace $CONTRACT_ADDR
and $DB_SLOT{N}
variables with the right values. Also pay attention that DB_SLOT variable names are separated by a comma and there is no whitespace inbetween.
Last updated