Klaytn SDK caver-js/java v1.9.0 released

[Notice] Klaytn SDK caver-js v1.9.0 Release

If you haven’t heard, Klaytn’s gas fee price will be shifting from a static to a dynamic one with the new [KIP-71](https://kips.klaytn.foundation/KIPs/kip-71), aka the Magma hard fork. In this v1.9.0 caver release you will find some new features that have been implemented to support this pivotal change. Specifically, they will help you figure out how much gas was actually spent for your transactions.

## What’s New in v.1.9.0

* Added support for [KIP-71](https://kips.klaytn.foundation/KIPs/kip-71) dynamic gas fee price mechanism. (#663, #664, #665, #672, #678, #680, #682, #684)

    * Added effectiveGasPrice field to the response object of caver.rpc.klay.getTransactionReceipt.

    * Supported value-setting logic for undefined gasPrice with dynamic gas fee pricing mechanism introduced with the proposed Magma hard fork. Any undefined gasPrice will therefore be defaulted to baseFee * 2

    * Added tx.suggestGasPrice function in transaction instances to easily determine the gas price.

    * Added newly introduced KIP-71 governance parameters in the return object of caver.rpc.governance APIs.

    * Added the newly introduced caver.rpc.klay.getUpperBoundGasPrice and caver.rpc.klay.getLowerBoundGasPrice APIs.

Please see [KIP-71](https://kips.klaytn.foundation/KIPs/kip-71) for details.

[Notice] Klaytn SDK caver-java v1.9.0 Release

## What’s New in v.1.9.0

* Supported [KIP-71](https://kips.klaytn.foundation/KIPs/kip-71) dynamic gas fee pricing mechanism. (#328, #327, #329, #330, #331, #334, #343, #344, #346)

    * Added effectiveGasPrice field to the response object of caver.rpc.klay.getTransactionReceipt.
    * Supported value-setting logic for undefined gasPrice with dynamic gas fee pricing mechanism introduced with the proposed Magma hard fork. Any undefined gasPrice will therefore be defaulted to baseFee * 2

    * Supported tx.suggestGasPrice function in transaction instances to easily determine the gas price.

    * Added newly introduced KIP-71 governance parameters in the return object of caver.rpc.governance APIs.

    * Added newly introduced caver.rpc.klay.getUpperBoundGasPrice and caver.rpc.klay.getLowerBoundGasPrice APIs.

Please see [KIP-71](https://kips.klaytn.foundation/KIPs/kip-71) for details.

* Supported some of the Admin API to control peers. (#320, #323)

    * caver.rpc.admin.getNodeInfo calls admin_datadir.

  * caver.rpc.admin.getPeers calls admin_peers.

    * caver.rpc.admin.addPeer calls admin_addPeer.

    * caver.rpc.admin.removePeer calls admin_removePeer.

## Improvements

* Updated web3j version to 4.8.8. (#305)

* Added code examples of the caver.wallet package in javadoc. (#306)

* Added net_version rpc call to caver.rpc.net. (#320)

## Fixes

* Updated DefaultGasProvider to implement ContractGasProvider to support dynamic gas price. If you are using DefaultGasProvider such as new DefaultGasProvider(), please change it to new DefaultGasProvider(caver), (#322)

MORE FROM Technology

Ecosystem

Sygnum joins the Klaytn Governance Council

16/08/2022

Announcements

Klaytn enhances interoperability with Wormhole Bridge

15/08/2022

Announcements

1inch and KrossLab join the Klaytn Governance Council

12/08/2022

CATEGORIES

© Klaytn Foundation 2022. All rights reserved.
© Klaytn Foundation 2022. All rights reserved.