The method performs a lookup in the smart contract state database for the supplied smart contract address and key. The value associated with the given key, deserialized for the specified data type, is returned.
If the key does not exist or deserialization fails, the method returns the default value for the specified type.
/api/SmartContracts/storage
The address of the smart contract.
The key for the piece of stored data to retrieve.
The stored data type.
Bool
, Byte
, Char
, String
, UInt
, Int
, ULong
, Long
, Address
, ByteArray
No body