TipBody.forWithdrawalCreate constructor

TipBody.forWithdrawalCreate({
  1. required String addressId,
  2. required String amount,
  3. required String traceId,
  4. String? fee,
  5. String? memo,
})

Implementation

factory TipBody.forWithdrawalCreate({
  required String addressId,
  required String amount,
  required String traceId,
  String? fee,
  String? memo,
}) {
  final body =
      '$_kTIPWithdrawalCreate$addressId$amount${fee ?? ''}$traceId${memo ?? ''}';
  return TipBody._private(body.sha256());
}