diff --git a/graphenej/src/main/java/cy/agorise/graphenej/Transaction.java b/graphenej/src/main/java/cy/agorise/graphenej/Transaction.java index acf5412..e4fceed 100644 --- a/graphenej/src/main/java/cy/agorise/graphenej/Transaction.java +++ b/graphenej/src/main/java/cy/agorise/graphenej/Transaction.java @@ -100,13 +100,21 @@ public class Transaction implements ByteSerializable, JsonSerializable { } /** - * Updates the block data + * Block data getter * @param blockData New block data */ public void setBlockData(BlockData blockData){ this.blockData = blockData; } + /** + * Block data setter + * @return BlockData instance + */ + public BlockData getBlockData(){ + return this.blockData; + } + /** * Updates the fees for all operations in this transaction. * @param fees: New fees to apply