diff --git a/graphenej/src/main/java/cy/agorise/graphenej/AssetAmount.java b/graphenej/src/main/java/cy/agorise/graphenej/AssetAmount.java index 6ac3a7a..37d087a 100644 --- a/graphenej/src/main/java/cy/agorise/graphenej/AssetAmount.java +++ b/graphenej/src/main/java/cy/agorise/graphenej/AssetAmount.java @@ -191,6 +191,11 @@ public class AssetAmount implements ByteSerializable, JsonSerializable { return jsonAmount; } + @Override + public String toString() { + return String.format("(asset=%s, amount=%s)", asset.getObjectId(), amount.toString(10)); + } + /** * Custom serializer used to translate this object into the JSON-formatted entry we need for a transaction. */