Hedera-sdk-py

Latest version: v2.31.0

Safety actively analyzes 681844 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 16

2.17.4

Added
- `AccountCreateTransaction.[set|get]alias[Key|EvmAddress]()`
- `ContractCreateFlow.[set|get]MaxChunks()`
- `Status.[to|from]ResponseCode()`
- `ContractCreateFlow.[set|get]AutoRenewAccountId()`
- Client now automatically updates the network via a mirror node query at regular intervals. You can set/get the interval with `Client.[set|get]NetworkUpdatePeriod()`
- Client can now be set from a `NodeAddressBook` with `Client.setNetworkFromAddressBook()`
- `Client.setMirrorTransportSecurity()`
- `Client.mirrorIsTransportSecurity()`
- `SolidityPrecompileExample`
- Improved PEM file support via `PrivateKey.fromPem()`

Fixed

- `AccountId`s with `aliasEvmAddress` now serialize/deserialize correctly.
- `TokenCreateTransaction`'s default fee is now 40 Hbar.
- `validateChecksum()`, `toStringWithChecksum()`, `hashCode()`, `equals()`, and `compareTo()` now function correctly for `AccountId`s with `aliasEvmAddress`es.
- Changed the default transaction fee for `AccountCreateTransaction` to 5 Hbar.
- `PrivateKey.is[ED25519|ECDSA]()` is now correct for ED25519 private keys.
- Default mirror node for mainnet is now `mainnet-public.mirrornode.hedera.com:443` instead of `hcs.mainnet.mirrornode.hedera.com:5600`

2.17.3

Fixed

- Thread leak in `Client`
- `Client.setTransportSecurity()` now updates mirror network

2.17.2

Added

- `ContractUpdateTransaction.clearStaked[Account|Node]Id()`

Deprecated

- `[Contract|Account]CreateTransaction.[set|get]ProxyAccountId()` with no replacement
- `ContractCreateFlow.[set|get]ProxyAccountId()` with no replacement

Fixed

- `ContractCreateFlow.setMaxAutomaticTokenAssociations()`
- `ContractFunctionResult.senderAccountId` now serializes correctly
- `CustomRoyaltyFee` now clones and `toString()`s correctly
- `ScheduleCreateTransaction.expirationTime` now deserializes correctly
- `ScheduleInfo` now deserializes correctly
- Made `StakingInfo.[to|from]Bytes()` public
- `TransactionReceipt.topicRunningHash` now `toString()`s correctly
- `TransactionRecord.[prngBytes|prngNumber|tokenNftTransfers]` now serializes/deserializes correctly
- `[Account|Contract]UpdateTransaction.getDeclineStakingReward()` now returns `Nullable Boolean` instead of `boolean`, and no longer throws a `NullPointerException`
- `Client.setNodeMaxBackoff()`
- Undeprecate `*ContractId.fromSolidityAddress()`

2.17.1

Added

- `TokenNftInfo.allowanceSpenderAccountId`

Deprecated

- `AccountBalance.[tokens|tokenDecimals]` use a mirror node query instead
- `AccountInfo.tokenRelationships` use a mirror node query instead
- `ContractInfo.tokenRelationships` use a mirror node query instead

Fixed

- `TokenNftInfo.[to|from]Bytes()`

2.17.0

Added

* `PrngThansaction`
* `TransactionRecord.prngBytes`
* `TransactionRecord.prngNumber`

Deprecated

- `ContractFunctionResult.stateChanges` - Use mirror node for contract traceability instead
- `ContractStateChanges`
- `StorageChange`

2.16.3

Added

* `ContractCreateTransaction.autoRenewAccountId`
* `ContractUpdateTransaction.autoRenewAccountId`

Page 4 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.