AccountBalancePairResponse.fromJson constructor

AccountBalancePairResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AccountBalancePairResponse.fromJson(Map<String, dynamic> json) {
  return AccountBalancePairResponse(
      address: SolAddress.uncheckCurve(json["address"]),
      lamports: BigintUtils.parse(json["lamports"]));
}