Skip to content

Commit 64b38d2

Browse files
Regen changes for Deltas endpoints (#590)
1 parent 216f970 commit 64b38d2

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

src/main/java/com/algorand/algosdk/v2/client/algod/GetLedgerStateDelta.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public class GetLedgerStateDelta extends Query {
2121
*/
2222
public GetLedgerStateDelta(Client client, Long round) {
2323
super(client, new HttpMethod("get"));
24+
addQuery("format", "msgpack");
2425
this.round = round;
2526
}
2627

src/main/java/com/algorand/algosdk/v2/client/algod/GetLedgerStateDeltaForTransactionGroup.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public class GetLedgerStateDeltaForTransactionGroup extends Query {
2121
*/
2222
public GetLedgerStateDeltaForTransactionGroup(Client client, String id) {
2323
super(client, new HttpMethod("get"));
24+
addQuery("format", "msgpack");
2425
this.id = id;
2526
}
2627

src/main/java/com/algorand/algosdk/v2/client/algod/GetTransactionGroupLedgerStateDeltasForRound.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public class GetTransactionGroupLedgerStateDeltasForRound extends Query {
2121
*/
2222
public GetTransactionGroupLedgerStateDeltasForRound(Client client, Long round) {
2323
super(client, new HttpMethod("get"));
24+
addQuery("format", "msgpack");
2425
this.round = round;
2526
}
2627

src/main/java/com/algorand/algosdk/v2/client/model/TransactionAssetTransfer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class TransactionAssetTransfer extends PathResponse {
2626
public Long assetId;
2727

2828
/**
29-
* Number of assets transfered to the close-to account as part of the transaction.
29+
* Number of assets transferred to the close-to account as part of the transaction.
3030
*/
3131
@JsonProperty("close-amount")
3232
public java.math.BigInteger closeAmount;

0 commit comments

Comments
 (0)