epochNumber
, transactionPosition
from BigInt to InttotalEspaceTokens
in getSupplyInfo
's responsecfx
, pos
, trace
, txpool
TreeGraph
getNextUsableNonce
to conflux.advanced
, which will first try to use txpool_nextNonce
to get a usable nonce, if failed it will fall back to cfx_getNextNonce
CrossSpaceCall
, ConfluxContext
, PoSRegister
cfxMappedEVMSpaceAddress
to address
utility.valid
to indicate whether this trace has change stateinternal_transfer_action
type trace has added four new field fromPocket
, toPocket
, fromSpace
, toSpace
call
and create
type trace has added one new field space
WechatProvider
which can be used in Wechat environmentbalance
key in the result of estimateGasAndCollateralAdvance
as the balance of options.from
.checkBalanceAgainstTransaction
, and estimateGasAndCollateralAdvance
to better estimate gas and check balance.blockNumber
to block related methods cfx_getBlockByHash
, cfx_getBlockByEpochNumber
, cfx_getBlockByHashWithPivotAssumption
which need Conflux-rust v1.1.5
or above.cfx_getBlockByBlockNubmer
format.bytes
now only support hex string, will not accept non hex utf-8 stringcfxjs
which can random generate a 0x1 prefix ethereum
addressConflux
add a new method getEpochReceiptsByPivotBlockHash
keepAlive
option in Conflux
initialization.tracesInTree
to return a tree structure traces.shortenCfxAddress
.retry
option in Conflux
initialization.CONST.PENDING_TX_STATUS
currently have two value: FUTURE_NONCE
NOT_ENOUGH_CASH
Conflux
add method getAccountPendingTransactions
to get one account's pending transaction.format.address
will respect networkId
, verbose
flag even if the first parameter is an CIP37 address.Conflux.CRC20
cfx_getLogs
filter option add one more field offset
cfx_getAccountPendingInfo
to get account's transaction pending infoepochs
pubsub now accept one parameter subscription_epoch
the supported values are latest_mined
(default) and latest_state
blockHash
, epochHash
, epochNumber
, transactionHash
, and transactionPosition
for trace RPCsbytes-N
type, if the data's length is not enough, will auto pad (right) to N
getStatus
method rethurn three new fields latestState
, latestConfirmed
, latestCheckpoint
trace
related rpc traceTransaction
, traceFilter
getEpochReceipts
wrapEthereum
, wrapConflux
to work with metamaskconflux-rust v1.1.2
Conflux
's option can pass networkId
now, and add a new method updateNetworkId
to sync networkId from RPC.format.address
will return new CIP37 addresses, if you pass a hex address, networkId
should also be passed as second parameterformat.hexAddress
to format hex addressnetworkId
constructor
, decrypt
, random
need one more parameter networkId
Transaction
, Message
sign
method need one more parameter networkId
getSupplyInfo
response add new field totalCirculating
getStatus
response add new field networkId
traceBlock
to Conflux
which can used to get block's execution traceContract
stateMutability
for method from abisubscribeLogs
for EventLogconflux.getSupplyInfo
conflux.getVoteList
conflux.getDepositList
conflux.getTransactionReceipt
defaultGasRatio
and defaultStorageRatio
BaseAccount
and PrivateKeyAccount
signTransaction
and signMessage
to be async
Account
by addressproviderFactory
only accept first argument as override optionsformat
and sign
without util
Drip
to replace unitDrip.fromXXX
to get drip number stringsend_transaction
to cfx_sendTransaction
sendTransaction
, call
, estimateGasAndCollateral
shallow copy options
Account.decrypt
required keystoreV3 object as input, and put password
as second parameterAccount.prototype.encrypt
returned keystoreV3 format objectearliest
, latest_checkpoint
, latest_confirmed
labelgetAdmin
from
getStatus
getRiskCoefficient
and replace with getConfirmationRiskByHash
getAccount
cause it's internal RPC.require
replace import
to gen code.function add(uint,uint) public returns (uint);