Compare legacy and new transaction signing modes
mainWhen signing transactions, the behavior of signTransaction depends on the second boolean parameter:
| Feature | Legacy Mode (true) | New Mode (false / default) |
|---|---|---|
| Return Type | Uint8Array or Uint8Array[] | SignatureMap |
| Organization | Raw bytes; no node/ID mapping | Organized by node ID and transaction ID |
| Chunked Support | Limited | Supports chunked transactions (e.g., FileAppend) |
| Status | Deprecated (Removed in v3.0.0) | Recommended |
Deprecation Timeline:
- Current: New mode is available; legacy mode is deprecated.
- v1.0.0: Users should have completed migration before this version.
- v3.0.0: Legacy mode will be removed.