Position: Home page » Ethereum » Ethereum inquiry account

Ethereum inquiry account

Publish: 2021-05-24 11:37:53
1.

In Ethereum, all kinds of transfer and other transaction operations need to be completed by accounts. In the transaction platform, such as currency exchange transaction platform, each transaction needs to have a transaction initiation account and a transaction receiving account. Each account corresponds to an address, and the account name is the label of the address. Use a wallet to manage accounts. A wallet can contain multiple accounts. Of course, you can also create multiple wallets

2.

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 />});

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

3. 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.
4. How many account addresses can an Ethereum node have at most
A: generally, there is only one account address, otherwise there will be an error! blockchain itself is unique. If there are multiple account addresses on one node, it violates the fundamental principle of blockchain!
5. Looking for experts
6. The withdrawal of digital currency generally only occurs on the digital currency trading platform. Where to withdraw cash? It is suggested to check the account number of the accounting platform carefully. It is generally in the personal center. The specific situation still needs to consult the official personnel, and the answer given by the official shall prevail. However, when choosing a digital currency trading platform, it is better to choose a big platform such as Xigu digital asset trading platform and bitcoin China.
7. The Internet has just begun, intelligent life coming
8. When the mobile phone is lost, it can prevent others from using or swiping the lock screen password. The system allows users to remotely lock on the website. After locking, the security of the mobile phone is greatly improved, and it enters the lost mode to automatically take photos! Remote location and so on! But now the technology of online unlocking is also very strong, often tens of dollars in half an hour!
Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750