getStorage
Reads the raw value in smart contract storage.
Input Arguments
Parameter
Description
scriptHash: string
Script hash of the smart contract to invoke a read on
key: string
Key of the storage value to retrieve from the contract
network?: string
Network to submit this request to. If omitted, will default to network the wallet is currently set to
Success Response
Parameter
Description
result: string
The raw value that's stored in the contract
Error Response
Parameter
Description
type: string
The type of error which has occured
description: string
A description of the error which has occured
data: string
Any raw data associated with the error
Example
Request
Response
最后更新于