getBlockByHeight method

Future getBlockByHeight (int height, { bool json: false })

Implementation

Future<dynamic> getBlockByHeight(int height, {bool json = false}) async {
  var data = {
    'Action': 'getblockbyheight',
    'Version': '1.0.0',
    'Height': height.toString(),
    'Raw': json ? '0' : '1'
  };
  return send(data);
}