[Notice] Klaytn SDK caver-java v1.6.3 Released

Today we are excited to announce that the caver-java (Java Software Development Kit of Klaytn) v1.6.3 has just been released.

The caver-java v1.6.3 now supports the Governance API. Users can use the Governance API via caver.rpc.governance. caver.transaction provides a method that returns a transaction instance provided by Caver from a transaction hash, and caver.abi and caver.contract also support a function to decode functionCall strings encoded with function signatures and parameters. The functions to recover the public key from signature are also provided, and caver.validator newly added in caver-java v1.6.3 provides functions for validating signed messages and transactions.

Supports Governance RPC Call in caver.rpc.governance

  • You can send a Governance RPC Call to a Node using caver.rpc.governance.

Supports decodeFunctionCall

  • caver.abi.decodeFunctionCall returns the decoded parameters when you pass abiand functionCall as parameters.
  • caver.contract, caver.kct.kip7, caver.kct.kip17 and caver.kct.kip37 provide the decodeFunctionCall method and return the decoded parameter when you pass functionCall as a parameter.

Supports a function that recovers public keys from signatures

  • caver.utils.recoverPublicKey returns the public key that signed the signature.
  • tx.recoverPublicKeys returns public keys from the signatures field.
  • tx.recoverFeePayerPublicKeys returns the public keys from the feePayerSignatures field.
  • caver.transaction.recoverPublicKeys takes an RLP-encoded transaction as parameter and returns public keys from the signatures field of the transaction.
  • caver.transaction.recoverFeePayerPublicKeys takes an RLP-encoded transaction as a parameter and returns public keys from the feePayerSignatures field of the transaction.

Supports caver.transaction.getTransactionByHash

  • caver.transaction.getTransactionByHash returns a transaction instance by taking transaction hash as a parameter.

Provides caver.validator

  • caver.validator.validateSignedMessage validates the signature that signed the message.
  • caver.validator.validateTransaction validates the signatures and feePayerSignatures of the transaction.
  • caver.validator.validateSender validates the signatures of the transaction.
  • caver.validator.validateFeePayer validates the feePayerSignatures of the transaction.

For detailed information about caver-java v1.6.3, please refer to https://github.com/klaytn/caver-java/releases/tag/v1.6.3.

To download caver-java, please visit https://search.maven.org/artifact/com.klaytn.caver/core/1.6.3/jar.

MORE FROM Announcements


Bringing access to the Klaytn metaverse through CEXes



Monthly round-up: May 2022



Gaming: Our key to metaverse global adoption



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