getWithdrawFeeTxParams method

Future<SenderArguments> getWithdrawFeeTxParams({
  1. BigInt? gasAmount,
  2. BigInt? queryId,
})

Implementation

Future<SenderArguments> getWithdrawFeeTxParams({
  BigInt? gasAmount,
  BigInt? queryId,
}) async {
  final to = this.address;

  final body = createWithdrawFeeBody(
    queryId: queryId,
  );

  final value = gasAmount ?? gasConstants.withdrawFee;

  return SenderArguments(value: value, to: to, body: body);
}