Gets a storage entry from the specified contract.
UInt160
The script hash of the contract.
Base64Encoded
The storage key encoded as base64.
Promise<Base64Encoded>
The raw storage value encoded as base64.
10002
INVALID
One or more inputs are invalid.
10003
NOTFOUND
The storage entry does not exist.
10008
RPC_ERROR
The RPC server returned an error.
最后更新于 1个月前
const value = await provider.getStorage( "0x99042d380f2b754175717bb932a911bc0bb0ad7d", "aGVsbG8=", );
"d29ybGQ="