encodeInternalInput function

Future<String> encodeInternalInput({
  1. required String contractAbi,
  2. required String method,
  3. required TokensObject input,
})

Returns base64-encoded body that was encoded or throws error

Implementation

Future<String> encodeInternalInput({
  required String contractAbi,
  required String method,
  required TokensObject input,
}) {
  return createLib().encodeInternalInput(
    contractAbi: contractAbi,
    method: method,
    input: jsonEncode(input),
  );
}