查看区块链状态

查看区块链状态API

获取web3j版本 ./web3sdk web3_clientVersion
获取当前块高 ./web3sdk eth_blockNumber
获取当前PBFT view ./web3sdk eth_pbftView
获取指定区块指定合约的二进制代码 ./web3sdk eth_getCode address blockNumber
根据交易哈希获取交易详情 ./web3sdk eth_getBlockTransactionCountByHash blockHash
获取指定账户在指定块高执行交易数 ./web3sdk eth_getTransactionCount address blockNumber
获取指定块高的交易总数 ./web3sdk eth_getBlockTransactionCountByNumber blockNumber
签名的交易数据上链 ./web3sdk eth_sendRawTransaction signTransactionData
根据区块哈希获取区块 ./web3sdk eth_getBlockByHash blockHash
根据块高获取区块 ./web3sdk eth_getBlockByNumber blockNumber
获取指定区块指定位置的交易
./web3sdk eth_getTransactionByBlockHashAndIndex blockHash transactionPosition

./web3sdk eth_getTransactionByBlockNumberAndIndex blockNumber transactionPosition

根据交易哈希获取交易回执 ./web3sdk eth_getTransactionReceipt transactionHash