- Fix SendTransactionError parse method to handle data is null
- Add support for Batch Requests
- Add support for internal contract CrossSpaceCall and PoSRegister
- Adapt for CIP-23
- Fix
blockHeadevent subscribe loss bug - Add
randomandgetPrivateKeytoAccountclass
- Add support for standard token ERC721, ERC1155
- Default gasPrice changed to 1GDrip
- When sending transaction, will get
chainIdfrom Cfx instance, and using txpool nonce - blockHeader add two new fields
custom,posReference - status add two new fields
latestFinalized,ethereumSpaceChainId
Add support for new methods imported from Conflux v2.0
txpool_nextNoncecfx_openedMethodGroupscfx_getPoSEconomicscfx_getPoSRewardByEpoch
Several Account method has been removed.
- getNonce
- setNonce
- waitForNonceUpdated
- waitForNonceUpdated
cfx_getEpochReceiptscfx_getAccountPendingInfocfx_getAccountPendingTransactionstrace_blocktrace_transactiontrace_filtercfx_getLogs's filter param add one more field 'offset'cfx_subscribe epochsadd one more optional tag parameter, available options:latest_mined(default value),latest_state
Note: the required RPC service version is 1.1.4 or above.
Accountadded methoddeploy, which can used to deploy contract.Accountadded methoddeployFilewhich supports to deploy contract with truffle compiled json file.- Internal contract's constructor method omit a parameter
networkId
- Class Address support new CIP37 address
- Where ever need an address, you should pass an
Addressinstance, String address will not work getStatusreturn a new fieldnetworkIdgetSupplyInforeturn a new fieldtotalCirculatingAddress.validatehas been moved toAddressType.validateHexAddress- ERC20Call, ERC20Executor, ERC777Call, ERC777Executor has been removed, you can use the new ERC20, ERC777
- AccountManager's constructor add a new parameter
networkId org.web3j:coreupdated to version 4.8.4
- Tx receipts return more info: txExecErrorMsg, gasCoveredBySponsor, storageCoveredBySponsor, storageCollateralized, storageReleased
- Add new RPC methods: cfx_getDepositList, cfx_getVoteList, cfx_getSupplyInfo
- Add support for InternalContracts
- Merge ERC20, ERC777 call and executor
- Update default gasPrice to 1 Drip
- Update RawTransaction default chainId to 1029(mainnet)