How to query on Ethereum
Publish: 2021-05-16 22:41:04
1.
transactions.forEach(function(tx){
vartxInfo=web3.eth.getTransaction(tx.transactionHash);
/ / at this time, the transaction information txinfo can be stored in the database
})< br />}); Pre >
If you want to query the transaction records on the main network, you can use Etherscan. However, if you build your own private chain, how should you query the transaction records
the answer is that you need to listen to the logs on the chain, save them in the database, and then query them in the database. For example:
< pre t = "code" L = "Java" > varaddr = & quot& quot;< br />varfilter=web3.eth.filter({fromB lock:0 ,toBlock:' latest', address:addr });< br />filter.get(function(err,transactions){transactions.forEach(function(tx){
vartxInfo=web3.eth.getTransaction(tx.transactionHash);
/ / at this time, the transaction information txinfo can be stored in the database
})< br />}); Pre >
Web3. Eth. Filter() is used to monitor the log on the chain, and Web3. Eth. Gettransaction() is used to extract the information of the specified transaction. Once the transaction information is obtained, it can be stored in the database for query
recommend a practical introction, you can see: Ethereum tutorial
2. Just focus:
you can't retrieve your assets through Ethereum block query
think too much
if you want to check the real estate,
you can go to the real estate transaction registration center.
you can't retrieve your assets through Ethereum block query
think too much
if you want to check the real estate,
you can go to the real estate transaction registration center.
3.
Both aoex and E-app can view real-time dynamic transaction
data
4. Many people are optimistic about the decentralized exchange. The private key is in their own hands and they enjoy complete control over the user's assets. However, e to the congestion of Ethereum's public chain, the trading experience of the decentralized exchange on Ethereum is not very good and slow. At present, the most promising is the X protocol, but if the problem of Ethereum is not solved, its application problems can not be started at all
in comparison, the decentralized exchange based on EOS is much better, because its TPS is fast enough to handle the decentralized application at the present stage, and its speed is much better than that on Ethereum. Whaleex, in particular, is very smooth in use, with fast transactions. It is not inferior to those centralized exchanges. Among all decentralized exchanges, whaleex is excellent
therefore, I think the decentralized exchange on EOS may break out faster than that on Ethereum, especially the whale exchange, which will be a dark horse. The smart contract of their home is also the only one that has passed the slow fog security audit. The security is particularly high and the use is assured.
in comparison, the decentralized exchange based on EOS is much better, because its TPS is fast enough to handle the decentralized application at the present stage, and its speed is much better than that on Ethereum. Whaleex, in particular, is very smooth in use, with fast transactions. It is not inferior to those centralized exchanges. Among all decentralized exchanges, whaleex is excellent
therefore, I think the decentralized exchange on EOS may break out faster than that on Ethereum, especially the whale exchange, which will be a dark horse. The smart contract of their home is also the only one that has passed the slow fog security audit. The security is particularly high and the use is assured.
5. Introction: the company is a subsidiary of China Galaxy Securities Co., Ltd. in Hong Kong.
6. At present, China Galaxy Securities ranks among the best in various domestic businesses, and is the leader of the second group securities company following CITIC Securities
with the approval of the State Council, Galaxy Securities, on the basis of acquiring the securities brokerage business, investment banking business and related assets of the former China Galaxy Securities Co., Ltd., takes China Galaxy Financial Holding Co., Ltd. as the main sponsor, and cooperates with Beijing Qingyuan Defeng Venture Capital Co., Ltd., Chongqing Water Group Co., Ltd., Chongqing Water Group Co., Ltd Four domestic investors, China General Technology (Group) Holding Co., Ltd. and China Building Materials Co., Ltd., jointly launched and established a national comprehensive securities company on January 26, 2007
the registered capital of the company is RMB 6 billion. The registered address of the company is: 2-6 / F, No. 35, Financial Street, Xicheng District, Beijing. The legal representative is Gu Weiguo and the chairman is Chen Youan. Central Huijin Investment Co., Ltd. is the actual controller of the company. The company is headquartered in Beijing with a registered capital of 6 billion yuan. At present, there are more than 11500 employees
the business scope of the company includes: securities brokerage, securities investment consulting, financial consultant related to securities trading and securities investment activities, securities underwriting and recommendation, self operation of securities, securities asset management, margin trading, and other businesses approved by China Securities Regulatory Commission
in 2016, China Galaxy Securities Co., Ltd; Top 500 Chinese enterprises in 2016; Ranked 481 in the list.
with the approval of the State Council, Galaxy Securities, on the basis of acquiring the securities brokerage business, investment banking business and related assets of the former China Galaxy Securities Co., Ltd., takes China Galaxy Financial Holding Co., Ltd. as the main sponsor, and cooperates with Beijing Qingyuan Defeng Venture Capital Co., Ltd., Chongqing Water Group Co., Ltd., Chongqing Water Group Co., Ltd Four domestic investors, China General Technology (Group) Holding Co., Ltd. and China Building Materials Co., Ltd., jointly launched and established a national comprehensive securities company on January 26, 2007
the registered capital of the company is RMB 6 billion. The registered address of the company is: 2-6 / F, No. 35, Financial Street, Xicheng District, Beijing. The legal representative is Gu Weiguo and the chairman is Chen Youan. Central Huijin Investment Co., Ltd. is the actual controller of the company. The company is headquartered in Beijing with a registered capital of 6 billion yuan. At present, there are more than 11500 employees
the business scope of the company includes: securities brokerage, securities investment consulting, financial consultant related to securities trading and securities investment activities, securities underwriting and recommendation, self operation of securities, securities asset management, margin trading, and other businesses approved by China Securities Regulatory Commission
in 2016, China Galaxy Securities Co., Ltd; Top 500 Chinese enterprises in 2016; Ranked 481 in the list.
7. You can check the market of Ethereum on non trumpet, but you can't trade it. If you want to invest, you can go to the digital currency exchange. At present, all the mainstream digital currency transactions in the market are coin security, fire coin network, bitnet, etc.
8. Fire coin network, celletf, okex these can check, Ethereum recent development trend is not bad.
9. TCN is an encrypted digital currency issued by a TCN foundation in Singapore, which is reliable
Hot content