getRefundTxParams method

SenderArguments getRefundTxParams({
  1. BigInt? gasAmount,
  2. BigInt? queryId,
})

Implementation

SenderArguments getRefundTxParams({
  BigInt? gasAmount,
  BigInt? queryId,
}) {
  final to = this.address;
  final body = createRefundBody(queryId: queryId);
  final value = gasAmount ?? gasConstants.refund;

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