getAccount method

Future<JSON> getAccount({
  1. required String address,
  2. bool visible = true,
})

Implementation

Future<JSON> getAccount({required String address, bool visible = true}) {
  return postCall<JSON>(
    "$baseURL/wallet/getaccount",
    data: {
      "address": address,
      "visible": visible,
    },
  );
}