Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import com.cobo.custody.api.client.domain.account.*;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;

public class MPCTransaction {
@JsonProperty(value = "cobo_id")
private String coboId;
Expand Down Expand Up @@ -86,6 +88,12 @@ public class MPCTransaction {

private String remark;

@JsonProperty(value = "max_fee")
private BigDecimal maxFee;

@JsonProperty(value = "max_priority_fee")
private BigDecimal maxPriorityFee;

@Override
public String toString() {
return "MPCTransaction{" +
Expand Down Expand Up @@ -119,9 +127,27 @@ public String toString() {
", memo='" + memo + '\'' +
", isGasStationTx=" + isGasStationTx +
", remark='" + remark + '\'' +
", maxFee=" + maxFee +
", maxPriorityFee='" + maxPriorityFee + '\'' +
'}';
}

public BigDecimal getMaxFee() {
return maxFee;
}

public void setMaxFee(BigDecimal maxFee) {
this.maxFee = maxFee;
}

public BigDecimal getMaxPriorityFee() {
return maxPriorityFee;
}

public void setMaxPriorityFee(BigDecimal maxPriorityFee) {
this.maxPriorityFee = maxPriorityFee;
}

public Boolean getGasStationTx() {
return isGasStationTx;
}
Expand Down