v2.64.0
What's Changed
Summary
This release introduces enhanced transaction size inspection APIs, enabling developers to measure transaction sizes with and without signatures. It also includes bug fixes for protobuf methods in Pause and Unpause transactions.
Enhancements
Transaction Size #1392
New APIs in Transaction.go:
-
GetTransactionSize-Returns the total size (in bytes) of the protobuf-encoded transaction, including signatures and metadata. -
GetTransactionBodySize- Returns the protobuf-encoded transaction body size (excluding signatures), using a placeholder node account ID. -
GetTransactionBodySizeAllChunksFor chunked transactions (e.g. FileAppendTransaction, TopicMessageSubmitTransaction), returns an array of body sizes for each chunk.
Bug Fixes
- Pause/UnpauseTransaction's protobuf methods #1393
Full Changelog: v2.63.0...v2.64.0