Block Explorer
Block explorers are essential tools for developers and users to interact with blockchain data. HashKey Chain offers multiple explorer options to help you analyze transactions, verify contracts, and debug applications.
BlockScout Explorer
BlockScout Explorer (explorer.hsk.xyz)
BlockScout provides a comprehensive set of tools for HashKey Chain developers:
Key Features
Feature | Description |
---|---|
Smart Contract Interaction | View, verify, and interact with smart contract source code directly through the explorer interface. |
Transaction Analysis | Inspect detailed transaction data including execution traces, logs, and gas usage. |
Token Tracking | Monitor ERC-20, ERC-721, and ERC-1155 token transfers and balances across addresses. |
API Access | Access blockchain data programmatically through GraphQL and REST API endpoints. |
Testnet Explorer:
For developers working with HashKey Chain Testnet, a dedicated explorer is available at hashkeychain-testnet-explorer.alt.technology
OKLink Explorer
OKLink Explorer (oklink.com/hashkey)
OKLink is a multi-chain blockchain explorer that provides advanced analytics and data insights for HashKey Chain users:
Key Features
-
Comprehensive Data Access
Search by address, transaction hash, block number, or token identifier to quickly locate on-chain information. -
Contract Verification
Verify smart contract source code and interact with contract functions directly through the explorer interface. -
Real-time Analytics
Access a comprehensive and real-time stream of on-chain data, including large transactions and significant fund movements. -
Address Labeling
View contextual labels for addresses (projects, contracts, risk assessment, blacklisted addresses) to understand the ecosystem better.
Developer Integration
Block explorers provide valuable resources for developers building on HashKey Chain:
// Example: Constructing a link to a transaction on BlockScout
const txHash = "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef";
const blockscoutUrl = `https://explorer.hsk.xyz/tx/${txHash}`;
// Example: Constructing a link to a contract on OKLink
const contractAddress = "0xabcdef1234567890abcdef1234567890abcdef1234";
const oklinkUrl = `https://www.oklink.com/zh-hans/hashkey/address/${contractAddress}`;
Include links to transaction receipts, contract addresses, and token information in your dApp UI to improve user experience and transparency.
Best Practice: When building a dApp's transaction history page, include direct links to block explorers to help users verify transaction status and contract interactions independently.