Skip to content

Support new RPCs in conflux-rust 1.1.4

Latest
Compare
Choose a tag to compare
@Pana Pana released this 16 Jun 02:40
· 24 commits to master since this release
c9c3c88

Add more RPC methods

  1. cfx_getEpochReceipts
  2. cfx_getAccountPendingInfo
  3. cfx_getAccountPendingTransactions
  4. trace_block
  5. trace_transaction
  6. trace_filter
  7. cfx_getLogs's filter param add one more field 'offset'
  8. cfx_subscribe epochs add 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.

MISC

  1. Account added method deploy, which can be used to deploy the contract.
  2. Account added method deployFile which supports deploying contract with truffle compiled JSON file.
  3. Internal contract's constructor method omit a parameter networkId