What's Changed
Summary
The latest release of the Hedera Go SDK, version v2.63.0
, brings several functional enhancements, new features, and critical fixes aimed at improving multi-node signing workflows, developer control over token creation, and support for new HIP proposals.
Key updates include improved support for offline multi-node, multi-signature transactions via the introduction of GetSignableBodyBytes
and AddSignatureV2
. This significantly enhances offline signing workflows, especially for chunked transactions like FileAppendTransaction
.
The SDK now aligns with HIP-1064, allowing node operators to opt out of daily rewards via SetDeclineReward
, and supports HIP-1046 by introducing gRPC-Web proxy endpoints for nodes, facilitating web-based interactions without requiring native gRPC support.
A regression related to TokenCreateTransaction
has also been addressed, ensuring autoRenewAccount
is only auto-set when an auto-renew period is specified, giving developers more predictable transaction behavior.
Enhancements
-
Offline Multi-Node Signing Support (#1378)
New APIs inTransaction.go
:GetSignableBodyBytes
: Returns a list ofSignableBody
objects for each signed transaction.AddSignatureV2
: Adds a signature for specificTransactionID
andNodeID
, supporting chunked transactions likeFileAppendTransaction
.
[Design Proposal Reference](https://github.com/hiero-ledger/sdk-collaboration-hub/blob/main/proposals/manual-signature-hsm-design-proposal.md)
-
HIP-1064: Daily Rewards For Active Nodes (#1383)
New APIs forNodeCreateTransaction
andNodeUpdateTransaction
:GetDeclineReward()
,SetDeclineReward(bool)
- Allow nodes to opt out of receiving rewards
-
HIP-1046: gRPC-Web Proxy Support (#1383)
New APIs:GetGrpcWebProxyEndpoint()
,SetGrpcWebProxyEndpoint(Endpoint)
- Enables gRPC communication over HTTP for non-native clients
Bug Fixes
-
Fixed regression in
TokenCreateTransaction
: nowautoRenewAccount
is only set automatically when an auto-renew period is provided. (#1386) -
Fixed issue with
FileAppendTransaction
where receipt validation was incomplete for multi-chunk transactions. This ensures more accurate feedback during chunked uploads. (#1379)
Full Changelog: v2.62.0...v2.63.0