getBlockInformation method
Implementation
Future<BlockInformation> getBlockInformation({
String blockNumber = 'latest',
bool isContainFullObj = true,
}) {
return makeRPCCall<Map<String, dynamic>>(
'eth_getBlockByNumber',
[blockNumber, isContainFullObj],
).then((json) => BlockInformation.fromJson(json));
}