Release v1.9.0-rc.2
Pre-release
Pre-release
v1.9.0-rc.2 Release Notes
New Features
- Supports KAS KIP-37 API.
- Functions to use the KIP-37 API service newly provided by KAS.
- caver.kas.kip37.deploy
POST /v1/contract
- caver.kas.kip37.importContract
POST /v1/contract/import
- caver.kas.kip37.updateContractOptions
PUT /v1/contract/{contract-address-or-alias}
- caver.kas.kip37.getContract
GET /v1/contract/{contract-address-or-alias}
- caver.kas.kip37.getContractList
GET /v1/contract
- caver.kas.kip37.getTokenListByOwner
GET /v1/contract/{contract-address-or-alias}/owner/{owner-address}/token
- caver.kas.kip37.getTokenList
GET /v1/contract/{contract-address-or-alias}/token
- caver.kas.kip37.setApprovalForAll
POST /v1/contract/{contract-address-or-alias}/approveall
- caver.kas.kip37.pause
POST /v1/contract/{contract-address-or-alias}/pause
- caver.kas.kip37.unpause
POST /v1/contract/{contract-address-or-alias}/unpause
- caver.kas.kip37.pauseToken
POST /v1/contract/{contract-address-or-alias}/token/pause/{token-id}
- caver.kas.kip37.unpauseToken
POST /v1/contract/{contract-address-or-alias}/token/unpause/{token-id}
- caver.kas.kip37.create
POST /v1/contract/{contract-address-or-alias}/token
- caver.kas.kip37.burn
DELETE /v1/contract/{contract-address-or-alias}/token
- caver.kas.kip37.mint
POST /v1/contract/{contract-address-or-alias}/token/mint
- caver.kas.kip37.transfer
POST /v1/contract/{contract-address-or-alias}/token/transfer
- caver.kas.kip37.getDeployer
GET /v1/deployer/default
- caver.kas.kip37.deploy
- KAS KIP-37 API is available with
caver.kas.kip37
by implementingcaver.initKASAPI(chainId, accessKeyId, secretAccessKey)
orcaver.initKIP37API(chainId, accessKeyId, secretAccessKey [, url])
. If query parameters are required when using the KIP-37 API, it can be used throughKIP37QueryOptions
class. For more scenarios in detail, refer to KAS Docs.
- Functions to use the KIP-37 API service newly provided by KAS.
- Supports new features in KAS KIP-7 API.
- Function to deploy KIP-7 contracts with fee payer options. You can use fee payer options with
Kip7FeePayerOptions
class.- caver.kas.kip7.deploy
POST /v1/contract
- caver.kas.kip7.deploy
- Function to update fee payer options of the KIP-7 contract with fee payer options. You can use fee payer options with
Kip7FeePayerOptions
class.- caver.kas.kip7.updateContractOptions
PUT v1/contract/{contract-address-or-alias}
- caver.kas.kip7.updateContractOptions
- Function to pause/unpause the KIP-7 contract with a pauser.
- caver.kas.kip7.pause
POST /v1/contract/{contract-address-or-alias}/pause
- caver.kas.kip7.unpause
POST /v1/contract/{contract-address-or-alias}/unpause
- caver.kas.kip7.pause
- Function to add/renounce pauser.
- caver.kas.kip7.addPauser
POST v1/contract/{contract-address-or-alias}/pauser
- caver.kas.kip7.renouncePauser
DELETE v1/contract/{contract-address-or-alias}/pauser
- caver.kas.kip7.addPauser
- Function to mint KIP-7 tokens with a minter.
- caver.kas.kip7.mint
POST v1/contract/{contract-address-or-alias}/mint
- caver.kas.kip7.mint
- Function to add/renounce minter.
- caver.kas.kip7.addMinter
POST v1/contract/{contract-address-or-alias}/minter
- caver.kas.kip7.renounceMinter
DELETE v1/contract/{contract-address-or-alias}/minter
- caver.kas.kip7.addMinter
- For more scenarios in detail, refer to KAS Docs.
- Function to deploy KIP-7 contracts with fee payer options. You can use fee payer options with
- Supports new features in KAS KIP-17 API.
- Function to deploy a KIP-17 contract with fee payer options. You can use fee payer options with
Kip17FeePayerOptions
class.- caver.kas.kip17.deploy
POST /v1/contract
- caver.kas.kip17.deploy
- Function to update fee payer options of the KIP-17 contract with fee payer options. You can use fee payer options with
Kip17FeePayerOptions
class.- caver.kas.kip17.updateContractOptions
PUT v1/contract/{contract-address-or-alias}
- caver.kas.kip17.updateContractOptions
- Function to deploy a KIP-17 contract with fee payer options. You can use fee payer options with
- Supports new features in KAS Wallet API.
- Function to create a fee payer account with the
withoutAccountUpdate
parameter. If you definewithoutAccountUpdate
astrue
, KAS will not update the fee payer account.- caver.kas.wallet.createFeePayer
POST /v2/feepayer
- caver.kas.wallet.createFeePayer
- Function to query a key list by KRN (KAS Resource Name).
- caver.kas.wallet.getKeyListByKRN
GET /v2/key
- caver.kas.wallet.getKeyListByKRN
- Function to get a fee delegated transaction list. This API works with the Cypress network only.
- caver.kas.wallet.getFDTransactionList
GET /v2/history/fd/tx
- caver.kas.wallet.getFDTransactionList
- Function to get a fee delegated transaction by hash. This API works with the Cypress network only.
- caver.kas.wallet.getFDTransaction
GET /v2/history/fd/tx/{transaction-hash}
- caver.kas.wallet.getFDTransaction
- For more scenarios in detail, refer to KAS Docs.
- Function to create a fee payer account with the