getAllowance method

Future getAllowance (String asset, Address from, Address to)

Implementation

Future<dynamic> getAllowance(String asset, Address from, Address to) async {
  var data = {
    'Action': 'getallowance',
    'Version': '1.0.0',
    'Asset': asset,
    'From': await from.toBase58(),
    'To': await to.toBase58()
  };
  return send(data);
}