Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 2.28 KB

README.md

File metadata and controls

42 lines (30 loc) · 2.28 KB

trueWeb3j

Truechain RPC service interface call based on Web3j

RPC interface name and specification:

  1. getFastBlockByNumber: get FastBlock by fastNumber
  2. getCurrentFastNumber: get current fastNumber on the chain
  3. getStateChangeByFastNumber:
  1. getStateChangeByFastNumber: get balance change with addresses by fast number
  2. getAddressesSnailReward: get gather addresses snail reward by snailNumber
  3. getSnailBalanceChange: get snail reward address and the balance of the address
  1. getStakingAccountInfo: get staking info by account
  2. getAllStakingAccount: get all staking account infos
  3. getChainRewardContentByAddress: get the proceeds of all the delegate addresses under a pledge node
  4. getChainRewardContent: get the proceeds of all the delegate addresses of all pledge node
  1. getSnailBalanceChange: get snail reward address and balance of the address
  2. getSnailRewardContent: get snail reward content,inclued blockminer、fruitminer、committeReward、foundationReward
  3. getSnailBlockByNumber: get snail Block by snailNumber
  4. getSnailBlockByHash: get snailBlock by snailHash
  5. getSnailHashByNumber: get snailHash by snailNumber
  6. getCurrentSnailNumber: get current snail block number
  1. getCommitteeByNumber: get committeeInfo by committeeNumber
  2. getCurrentCommitteeNumber: get current committee number
  1. sendPaymentTx: send payment transaction
  2. signWithFromPrivateKey: sign trueRawTransaction with privateKey of from address :
  3. signPaymentTxWithPaymentAndSend: sign signedTxWithFrom with privatekey of payment address: