getRefundTxParams method

SenderArguments getRefundTxParams({
  1. BigInt? gasAmount,
  2. BigInt? queryId,
  3. Cell? leftMaybePayload,
  4. Cell? rightMaybePayload,
})

Implementation

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

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