getBlockByNumber method

Future<JSON> getBlockByNumber(
  1. int number
)

Implementation

Future<JSON> getBlockByNumber(int number) {
  return postCall<JSON>(
    "$baseURL/wallet/getblockbynum",
    data: {
      "num": number,
    },
  );
}