getstate 方法
通过 root hash,合约 hash 和 storage key 查询 state。
此方法由插件提供,需要安装 StateService 和 RpcServer 插件才可以调用。
参数说明
-
roothash:state root 的 root hash。
-
scripthash:合约 hash。
-
key:存储区 key 值,使用 Base64 编码格式。
调用示例
请求正文:
响应正文:
通过 root hash,合约 hash 和 storage key 查询 state。
此方法由插件提供,需要安装 StateService 和 RpcServer 插件才可以调用。
roothash:state root 的 root hash。
scripthash:合约 hash。
key:存储区 key 值,使用 Base64 编码格式。
请求正文:
响应正文: