getStorage
Gets a storage entry from the specified contract.
Parameters
1. hash (required)
UInt160
The script hash of the contract.
2. key (required)
Base64Encoded
The storage key encoded as base64.
Returns
Promise<Base64Encoded>
The raw storage value encoded as base64.
Errors
Code
Name
Description
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.
Example
Request
Response
最后更新于