AxLabs has released Neow3j 3.12.2, bringing the development framework up to speed with the recent updates in Neo’s 3.6.2 version. This update introduces new features such as canceling transactions and retrieving transaction signers at the VM level.
The SDK integrates two new methods into the native PolicyContract
couple. These methods allow setting and retrieving GAS fees required for transaction attributes, although setting these fees is limited to the Neo Council.
Another important addition is support for the new canceltransaction
RPC method. As the name suggests, this feature allows users to cancel transactions that have been sent but not yet included in a block. Its inclusion in the toolkit makes it easy for applications building with Neow3j to offer this functionality to their regular users.
On the devpack side, the native StdLib contract now includes a method to get the number of characters in a string, which is different from the String.length
method, which returns the byte length. A new Syscall has been added, allowing transaction signers to be retrieved within smart contract code Runtime.currentSigners
. Additionally, the devpack also reflects the update of the SDK to the PolicyContract interface, providing the same functionality for setting and retrieving GAS fees for transaction attributes.
The original release notes can be found at the link below:
https://github.com/neow3j/neow3j/releases/tag/3.21.2