Skip to content

Commit

Permalink
add max fee amount
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangcongcobo committed Jul 18, 2024
1 parent c0df807 commit 600ad0a
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ public class MPCFee {

@JsonProperty(value = "fee")
private BigDecimal fee;
@JsonProperty(value = "max_fee_amount")
private String maxFeeAmount;

public MPCCoin getFeeCoinDetail() {
return feeCoinDetail;
Expand Down Expand Up @@ -58,6 +60,14 @@ public void setFee(BigDecimal fee) {
this.fee = fee;
}

public String getMaxFeeAmount() {
return maxFeeAmount;
}

public void setMaxFeeAmount(String maxFeeAmount) {
this.maxFeeAmount = maxFeeAmount;
}

@Override
public String toString() {
return "{" +
Expand All @@ -66,6 +76,7 @@ public String toString() {
", gasLimit='" + gasLimit + '\'' +
", feeUsed='" + feeUsed + '\'' +
", fee='" + fee + '\'' +
". maxFeeAmount='" + maxFeeAmount + '\'' +
'}';
}
}

0 comments on commit 600ad0a

Please sign in to comment.