getReadProof method
Returns proof of storage entries at a specific block's state.
Implementation
Future<ReadProof> getReadProof(List<StorageKey> keys, {BlockHash? at}) async {
final List<dynamic> params = [
keys.map((key) => '0x${hex.encode(key)}').toList()
];
if (at != null) {
params.add('0x${hex.encode(at)}');
}
final response = await _provider.send('state_getReadProof', params);
return ReadProof.fromJson(response.result);
}