步骤一:确定要查询区块链
Step one: Determines to query the block chain
首先,我们应该确定要查询区块链是哪一个,由于每一个区块链都有各自的链码或智能合约存放着不同的数据。例如,如果想查看以太坊区块链上的数据,就要通过以太坊的节点来达到查看。
First, we should determine which block chain to search, because each block chain has its own chain number or a smart contract containing different data. For example, if you want to see data on the Ether block chain, you have to do it by using the Tails node.
步骤二:应用区块链浏览器查看
Step two: Apply block chain browsers to view
区块链浏览器是一种非常便捷的查询工具,市面上已有如比特币区块浏览器、以太坊区块浏览器等多个运用。
Block-chain browsers are a very easy search tool, and several applications, such as bitcoin block browsers and Etheria block browsers, are available on the market.
在Etherscan实际页面上,能通过输入钱包地址、区块高度、交易哈希等多个方法来查看区块链上的数据。查看完成后,大家可以获得数据的详细资料,包含交易明细、合约代码、交易记录等。
You can view the data on the block chain by entering the wallet address, block height, transaction Hashi, etc. Once the check is complete, you can obtain details of the data, including details of transactions, contract codes, transaction records, etc.
步骤三:应用区块链API查询
Step three: Application of block chain API queries
应用区块链API能够撰写API启用请求,并把它发送至节点服务中心。当数据被成功获取并回到时,我们还可以获得必须的结果。一般,应用API查询相比应用区块链浏览器要更高效。
Applying block-chain API can write API permissions and send them to node service centres. When data are successfully captured and returned, we can also get the necessary results. Generally, applying API queries is more efficient than applying block-chain browsers.
常见的区块链API服务有Infura、Alchemy、QuikNode等。
Common block chain API services include Infoura, Alchemy, QuikNode, etc.
步骤四:下载和分析区块链数据
Step four: download and analyse block chain data
假如我们对区块链的数据分析与处理较为深入,那么区块链数据的下载和分析也是必须的。
If we have a deeper analysis and processing of the block chain data, then the downloading and analysis of the block chain data is also necessary.
针对比特币和以太坊等主流区块链,已有多种数据获取工具,例如BitcoinCore、Geth等,能够规模性地开展数据获取。同时,大家也可以用Python语言和其他语言的有关库,在代码等级上快速完成区块链数据的获得和分析。
Many data acquisition tools, such as BitcoinCore, Geth, etc., are available for mainstream block chains, such as BitcoincoinCore, and others. At the same time, you can quickly complete the acquisition and analysis of block chain data at the code level, using relevant databases in Python and other languages.
不同数字货币的链上数据应当去其对应的官方区块链测览器上查看,比如比特币、以太坊都有自己的区块链浏览器,基于以太坊ERC20的货币,应用以太坊的浏览器一般也是可以查看到。在区块链浏览器主页用户可见到很多信息,例如该虚拟货币当前的市值、区块高度、挖矿纪录、最新交易明细、成交量分析等等,在界面的右上方有个搜索引擎条,在此你可以输入你想查看地址。
Data on the chains of different digital currencies should be viewed on the official block chains that correspond to them, such as Bitcoin, Etheria has its own block-chain browser, based on the currency of the Taitaya ERC20, which is also generally accessible. You can see a lot of information on the section chain browser home page, such as the current market value of the virtual currency, the height of the block, the mining record, the latest transaction details, the transaction analysis, and so on. There is a search engine at the top right of the interface, where you can enter the address you want to see.
输入地址搜索网页后,就可以进入该地址的具体页面。在此你可以看到该地址当前的ETH余额是多少,价值多少美元。页面下面有个报表,是该地址近期10笔交易记录,报表中的数据很详细,有每一笔交易的确切时间,是转到还是转走转向了哪个地址,转账的总数等等,都能够查看到。
When you enter the address search page, you can enter the specific page of the address. Here you can see the current ETH balance of the address and the value of the dollar.
其他货币钱包地址的查询方法都类似,想要找某种货币的区块链测览器,可以网搜索,或者到该数字货币官网上查看信息,一般都能找到,今天小编为大家列举几个区块链浏览器:
Other money wallet addresses are looked at in a similar way, with a block chain viewer for a certain currency, which can be searched online, or the digital money officer's online search for information, which is generally available. Today, a small number of block chain browsers are listed:
1、比特币区块链浏览器:https://blockchain.com/,可以查看比特币和比特币现金的地址信息,包含余额、交易明细钱包信息等。
1. Bitcoin block chain browser: https://blockchain.com/, with access to address information on Bitcoin and Bitcoin cash, including balances, details of transactions wallets, etc.
2、以太坊区块链浏览器:https://etherscan.io/,可以查看以太坊地址信息,包含余额、交易明细、合同信息等。
2. Etheria Block Chain Browser: https://etherscan.io/, with access to Etheria address information, including balances, details of transactions, contract information, etc.
3、币安智能链:https://bscscan.com/,可以查看币安智能链上的地址信息,包含余额、交易明细、合同信息等。
3. Currency security smart chains: https://bsccan.com/, with access to address information on the money security smart chain, including balances, details of transactions, contract information, etc.
区块链里的交易信息和其它信息是开放和透明色,因此区块链浏览器是查看区块链交易明细地址,用户可使用它查询自己的交易信息和区块链存储的更多信息。如果你输入地址不全面,请在搜索文本框中请输入想查询钱包地址,但此地址之前在区块链上进行了该数字货币的交易或查看后,文本框会自动填好您查看地址。
The transactional and other information in the block chain is open and transparent, so the block chain browser is a detailed transactional address for the block chain, which users can use to search for more information stored in their transactional information and block chains. If you enter a non-exhaustive address, enter the wallet address that you want to check in the text box, but the text box will automatically fill in after the transaction or viewing of the digital currency on the block chain.
总的来说,在区块链的不断进步和普及中,数据统计是区块链的重要环节之一。无论是普通用户还是开发者,掌握区块链数据统计的基本方法是很有必要的。我们通过区块链浏览器查看、区块链API浏览、区块链数据的下载和分析等多种方式去进行区块链数据的查询和分析,从而更好地了解区块链的运行机制和优势。
In general, data statistics are one of the important components of the block chain in its progressive development and diffusion. The basic method of capturing block chain data statistics is essential, both for general users and developers. We use block chain browsers to view, block chain API views, and block chain data downloads and analyses in a variety of ways to search and analyse block chain data in order to better understand the working mechanisms and advantages of the block chain.
到此这篇关于区块链怎么查询链上数据?链上数据在哪里查?的文章就介绍到这了,更多相关区块链查询链上数据的方法内容请搜索脚本之家以前的文章或继续浏览下面的相关文章,希望大家以后多多支持脚本之家!
Here's the article on how to access the data on the chain of blocks? Where to find the data on the chain? Here's more about the methodological content of the data on the chain of search of the relevant blocks.
注册有任何问题请添加 微信:MVIP619 拉你进入群
打开微信扫一扫
添加客服
进入交流群
发表评论