> For the complete documentation index, see [llms.txt](https://docs.w-chain.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.w-chain.com/w-swap/block-explorer/w-scan.md).

# W Scan

W Scan is a self‑hosted Blockscout explorer for W Chain. It runs the latest Blockscout backend (`v8.11`) with a frontend based on `v2` plus custom UI improvements. It supports both W Chain Mainnet and Testnet and includes the full Blockscout feature set.

### Overview

* Networks: `W Chain Mainnet` and `W Chain Testnet`
* Chain IDs: Mainnet `171717`, Testnet `71117`
* Explorer URLs:
  * Mainnet: `https://scan.w-chain.com`
  * Testnet: `https://scan-testnet.w-chain.com`
* Core features: address/transaction/block/token search, decoded input data, internal txs, logs, contract verification, ABI publishing, read/write contract, token pages, labels, and API access.

### Quick Start

1. Open the appropriate URL (Mainnet or Testnet).
2. Use the top search bar to paste an `address`, `transaction hash`, `block number/hash`, or `token contract`.
3. Click results to open detail pages with balances, transfers, logs, decoded calls, and more.
4. Switch networks via the network selector in the header.

### Address Pages

* Summary: shows total balance, token holdings, and recent transactions.
* Tokens: view ERC‑20 balances and transfer history per token.
* Internal txs: inspect value transfers created within contract executions.
* Labels: community or system labels may appear for known contracts.

### Transaction Details

* Overview: status, gas usage, fee, nonce, and timestamps.
* Decoding: function signature and input parameters are decoded when ABI is known.
* Logs: event topics and parameters; filter or expand for details.
* Internal txs: visualize internal calls/value movements during execution.

### Token Pages

* Metadata: name, symbol, decimals, holders, and transfers.
* Holders: ranked list of addresses and their balances.
* Analytics: supply and transfer charts when available.

### Smart Contracts

* Verify: publish source code to enable full decoding and ABI access.
* ABI: once verified, ABI is available to clients and the explorer.
* Read/Write: interact with verified contracts directly from the UI (read state or send transactions).

### Network Switching

* Use the header selector to switch between `Mainnet` and `Testnet`.
* Links and searches remain network‑scoped; ensure you’re on the correct network before sharing URLs.

### API & Exports

* W Scan exposes Blockscout’s standard APIs for indexing and querying chain data.
* For endpoints, authentication options, rate limits, CSV exports, and GraphQL/REST usage, see the official Blockscout documentation at `https://docs.blockscout.com`.

### Troubleshooting

* Data not found: confirm you’re on the right network (Mainnet vs Testnet).
* Undecoded input: verify the contract and publish the ABI to enable decoding.
* Pending tx: network congestion may delay inclusion; retry with appropriate gas settings.
* Indexing lag: recent blocks may take a moment to index; refresh after a short interval.

### FAQs

* Is everything supported? Yes—W Scan includes the full Blockscout feature set for W Chain.
* Can I verify contracts? Yes—publish sources and metadata to enable full decoding and interaction.
* Where do I find developer docs? See `https://docs.blockscout.com` for complete guidance and API references \[Blockscout Docs].
