repackAddress function

Future<Address> repackAddress(
  1. Address address
)

Repack address and return json-encoded MsgAddressInt or throw error

Implementation

Future<Address> repackAddress(Address address) async {
  final addressString =
      jsonDecode(await createLib().repackAddress(address: address.address))
          as String;
  return Address(address: addressString);
}