Account detail route and activity
The account detail route gives an engineer a single view of a Solana address. It combines current on-chain state with address activity, token and domain views, account metadata, local labels, receipts, and subscription records. The route is cluster-aware, so the same address can be viewed against different networks.
Address route
Dynamic address entry
The dynamic route /address/[address] treats the address as the main key for all account views. It loads the account for the selected cluster, shows transaction history at the base path, and adds child paths when the account type supports more data. Invalid addresses show an error before account-specific views are selected. The route also keeps token metadata and security notices beside the account view. Address child routes have a shared loading state and an error boundary that retries failed requests while preserving usable or in-flight data. app/…/layout.tsx• L157-218, app/…/loading.tsx• L1-5, app/…/error.tsx• L9-29, app/…/error.spec.tsx• L19-87, app/…/page.tsx• L8-35
The layout preserves the selected cluster while it builds links to child views. This keeps history, tokens, metadata, domains, and other account pages tied to the same network as the address page. During a refresh, it keeps the current account page and known token name in place until new data arrives. It shows a loading or fetch-error state only when it has no usable data to display. app/…/layout.tsx• L171-187, app/…/layout.tsx• L257-261, app/…/layout.spec.tsx• L70-160
This diagram shows how an address becomes a cluster-specific account view and then branches into history or supported account views.
flowchart TD
A[Address and cluster] --> B{Valid address?}
B -- No --> C[Address error]
B -- Yes --> D[Load current account]
D --> E[Account header and account summary]
D --> F[History]
D --> G[Type-specific tabs]
G --> H[Tokens, metadata, domains, or protocol views]
References: app/…/layout.tsx• L157-218 app/…/layout.tsx• L291-300 app/…/loading.tsx• L1-5 app/…/error.tsx• L9-29 app/…/error.spec.tsx• L19-87 app/…/page.tsx• L27-35
NFToken collection route
The /address/[address]/nftoken-collection-nfts child route shows the NFTs that belong to an NFToken collection. It validates the route address before rendering the collection grid and supplies address-based metadata for the page title and description. app/…/page.tsx• L1-26
This route is available only for a valid address. An invalid value goes to the not-found flow instead of reaching the collection view. app/…/page.tsx• L21-26, app/…/page.spec.tsx• L16-29
References: app/…/page.tsx• L1-26 app/…/page.spec.tsx• L16-29
Owned domain route
The /address/[address]/domains child route presents the domain names associated with an address. It combines Solana Name Service and AllDomains results into one owned-domain view, then shows each name with its name service account. The route also provides address-specific page metadata for search and sharing. app/…/page.tsx• L11-22, app/…/DomainsCard.tsx• L15-32
Domain lookups run for mainnet and custom clusters. The card loads both name sources together, sorts the combined names, and reports loading, fetch, and no-domain states instead of showing a partial list. Invalid name service account addresses are omitted from the rendered list. app/…/use-user-sns-domains.ts• L9-15, app/…/use-user-ans-domains.ts• L9-15, app/…/DomainsCard.tsx• L19-32, app/…/BaseDomainsCard.tsx• L26-43
References: app/…/page.tsx• L1-22 app/…/DomainsCard.tsx• L15-32 app/…/BaseDomainsCard.tsx• L26-43 app/…/use-user-sns-domains.ts• L9-27 app/…/use-user-ans-domains.ts• L9-27
Account navigation
The base page is the address history view. The navigation exposes only the views that match the current account or related data, such as token holdings, token transfers, metadata, domains, rewards, program data, compressed NFT data, or subscriptions. It also exposes account-specific views for lookup tables, attestations, feature gates, account data, and executable programs. This prevents a route from promising data that the address cannot provide. app/…/layout.tsx• L87-151, app/…/layout.tsx• L407-501
Some tabs depend on a later lookup. Compressed NFT, program-multisig, and wallet-subscription tabs can appear after that lookup finds related records. The account page hides those tabs when the lookup has no result or fails. Executable accounts can also expose a program IDL, while Token-2022 accounts can expose token extensions. app/…/layout.tsx• L439-501, app/…/layout.tsx• L504-549
Programs with a usable Anchor IDL can expose an Anchor Data tab. The tab appears only when the IDL defines account types and the program can be built from that IDL. Anchor IDLs from program metadata can serve as the source when the direct Anchor IDL does not define a buildable program. A missing, still-loading, Codama-only, or account-free IDL leaves the tab hidden. app/…/AccountDataTab.tsx• L7-21, app/…/AccountDataTab.spec.tsx• L35-115
References: app/…/layout.tsx• L87-151 app/…/layout.tsx• L407-501 app/…/layout.tsx• L504-549 app/…/AccountDataTab.tsx• L7-21 app/…/AccountDataTab.spec.tsx• L35-115
Account view
Current account state
The account view explains what the address currently owns or controls. It shows the address header and a specialized summary when the account is a known token, stake, vote, program, lookup table, system account, NFT, attestation, feature, multisig, or subscription account. Nonce and sysvar accounts also receive dedicated views. Unknown data still has a general account view rather than being discarded. app/…/layout.tsx• L306-367, app/…/AccountHeader.tsx• L28-101
The shared account model separates parsed data from raw bytes. Parsed data supports human-readable summaries. Account cards can switch to a raw view and download the account bytes when those bytes are needed for inspection. The summary also gives the owner program, allocated size, executable state, and SOL balance. app/…/index.tsx• L121-133, app/…/AccountCard.tsx• L23-38, app/…/AccountDownloadDropdown.tsx• L9-23, app/…/BaseAccountCard.tsx• L38-70, app/…/AccountExpandedContent.tsx• L79-117
References: app/…/layout.tsx• L306-367 app/…/AccountHeader.tsx• L39-101 app/…/AccountCard.tsx• L19-34 app/…/AccountDownloadDropdown.tsx• L9-23 app/…/AccountExpandedContent.tsx• L79-117
Account entity sections
Known account types use focused sections that turn parsed on-chain state into a small set of facts. Each section keeps the common address and account context while exposing fields that explain the role of that address.
Feature activation accounts show the identity and status of a feature on the selected cluster. The view can show its title, description, SIMD proposal links, activation slot, and activation epoch. A pending feature points to the next epoch and shows an estimated countdown. The section refreshes pending state when the epoch changes, but does not poll or refresh an already active feature. Custom clusters do not poll cluster epoch data. app/…/FeatureAccountSection.tsx• L25-49, app/…/FeatureAccountSection.tsx• L56-175, app/…/FeatureAccountSection.tsx• L220-272
Feature information can also include the related SIMD proposal. The proposal is an optional, collapsible view that presents GitHub Markdown with readable headings, lists, code, links, and tables. Relative links stay within the proposal, while external links open safely outside the Explorer. app/…/FeatureGateCard.tsx• L8-22, app/…/FeatureGateMarkdown.tsx• L8-27, app/…/FeatureGateMarkdown.tsx• L56-163
System variable accounts, or sysvars, expose network-wide values that describe the current chain state. The page recognizes clock, rent, rewards, epoch schedule, fees, recent blockhashes, slot hashes, slot history, and stake history accounts. The clock and epoch schedule sections link time and slot values to Explorer views. Recent blockhashes show recency and the fee rate per signature. Slot hashes show linked slots and their hashes. Each section supports a parsed-account refresh. app/…/SysvarAccountSection.tsx• L24-45, app/…/SysvarAccountSection.tsx• L47-127, app/…/SysvarAccountSection.tsx• L129-276, app/…/BlockhashesCard.tsx• L6-35, app/…/SlotHashesCard.tsx• L8-35
Token account sections distinguish mint, NFT mint, token holding, and multisig roles. Mint views show supply, authorities, decimals, status, and selected token or bridge data. NFT mint views show collection and edition facts. Token holding views show the mint, owner, balance, state, delegation, and Token-2022 extensions. Multisig views show signer counts and signer addresses. If parsing fails, the page falls back to the unknown account view. app/…/TokenAccountSection.tsx• L85-132, app/…/TokenAccountSection.tsx• L134-305, app/…/TokenAccountSection.tsx• L311-425
Upgradeable program accounts show the program, its executable data, and its deployment state. The view can show whether the program is closed or frozen, its upgrade authority, last deployed slot, verified-build status, and security contact. A recognized Squads authority links to the program-multisig view. Program data and deploy-buffer accounts expose their own balance, size, authority, and deployment facts. app/…/UpgradeableLoaderAccountSection.tsx• L34-64, app/…/UpgradeableLoaderAccountSection.tsx• L66-166, app/…/UpgradeableLoaderAccountSection.tsx• L168-277
References: app/…/FeatureAccountSection.tsx• L25-49 app/…/FeatureAccountSection.tsx• L56-175 app/…/FeatureAccountSection.tsx• L220-272 app/…/FeatureGateCard.tsx• L8-22 app/…/FeatureGateMarkdown.tsx• L8-27 app/…/FeatureGateMarkdown.tsx• L56-163 app/…/SysvarAccountSection.tsx• L24-45 app/…/SysvarAccountSection.tsx• L47-127 app/…/SysvarAccountSection.tsx• L129-276 app/…/BlockhashesCard.tsx• L6-35 app/…/SlotHashesCard.tsx• L8-35 app/…/TokenAccountSection.tsx• L85-132 app/…/TokenAccountSection.tsx• L134-305 app/…/TokenAccountSection.tsx• L311-425 app/…/UpgradeableLoaderAccountSection.tsx• L34-277 app/…/FeatureAccountSection.spec.tsx• L52-165 app/…/FeatureGateMarkdown.spec.tsx• L9-94 app/…/UpgradeableLoaderAccountSection.spec.tsx• L29-52
Token extension state
Token-2022 mint extensions give the account view a structured explanation of extra mint behavior. The extensions card checks token information against the mint decimals before it presents each extension with a readable name, status, description, links, and either parsed values or raw state. app/…/TokenExtensionsCard.tsx• L24-64, app/…/TokenExtensionsSection.tsx• L21-77, app/…/TokenExtensionsSection.tsx• L105-151
The account summary also exposes extension badges as entry points to the extension view. Selecting a badge opens the token-extensions route when needed and preserves the current route parameters. The selected extension is represented by the URL hash, so direct links and browser navigation can focus the matching section. app/…/TokenExtensionsStatusRow.tsx• L11-41, app/…/use-token-extension-navigation.ts• L34-103
References: app/…/TokenExtensionsCard.tsx• L20-64 app/…/TokenExtensionsSection.tsx• L21-77 app/…/TokenExtensionsSection.tsx• L105-151 app/…/TokenExtensionsStatusRow.tsx• L11-41 app/…/use-token-extension-navigation.ts• L34-103
Token holdings
Token holdings provide an address-level view of the distinct mints held by the address's token accounts. The view combines accounts for the same mint into one balance row, resolves known token names and symbols, and orders verified mints before listed or unknown mints. Summary display shows the mint and balance. Detail display also shows the token account address. app/…/OwnedTokensCard.tsx• L43-73, app/…/OwnedTokensCard.tsx• L75-137, app/…/OwnedTokensCard.tsx• L149-180
The holdings list loads in pages so a large set does not fill the screen at once. Its display mode is kept in the display query parameter. Summary mode gives one row per mint. Detail mode also identifies the token account used for the displayed balance. app/…/OwnedTokensCard.tsx• L25-40, app/…/OwnedTokensCard.tsx• L193-224, app/…/OwnedTokensCard.tsx• L227-293
References: app/…/OwnedTokensCard.tsx• L43-73 app/…/OwnedTokensCard.tsx• L75-180 app/…/OwnedTokensCard.tsx• L193-224 app/…/OwnedTokensCard.tsx• L227-293 app/…/OwnedTokensCard.spec.tsx• L137-204 app/…/OwnedTokensCard.spec.tsx• L230-373
Account entities
An account entity is the current state of one address. The page uses the owner program, parsed account type, raw account data, and related lookups to choose the right view. The main product-level groups are:
| Account group | Main information shown |
|---|---|
| Token account or mint | Token balance, mint details, token metadata, and token activity |
| NFT or compressed NFT | Artwork, collection data, metadata, attributes, and compression state |
| Stake or vote account | Program state plus reward or vote history where available |
| Executable or upgradeable program | Program identity, upgrade state, IDL, security, or verified-build data |
| Protocol account | Decoded data for lookup tables, subscriptions, feature gates, attestations, multisig records, or system state |
| Unknown account | General account fields and raw data access |
The route can also show data related to an address without changing the account's core type. Token holdings, domains, and NFToken collection NFTs are address-level views. A subscription plan is a decoded protocol account. Some protocol roles, such as a subscription event authority, are recognized from the address even when the address has no account bytes to decode. app/…/layout.tsx• L306-367, app/…/layout.tsx• L407-464
References: app/…/layout.tsx• L306-367 app/…/layout.tsx• L407-464 app/…/page.tsx• L21-26 app/…/index.tsx• L58-133
Compressed NFT state
Compressed NFT views connect an asset to its concurrent Merkle tree and proof. The account page shows the tree, root, leaf, sequence, and content hashes. It verifies the proof and reports whether the proof is valid. It also reports when no proof is needed or when a large proof may harm composability. app/…/CompressedNFTInfoCard.tsx• L20-29, app/…/CompressedNFTInfoCard.tsx• L31-79, app/…/CompressedNFTInfoCard.tsx• L92-119
NFT attributes use the asset's metadata URI. The view accepts attributes with a valid trait type and string or numeric value, and gives the user a retry state when metadata cannot be read. This path supports both ordinary NFT mint metadata and compressed NFT metadata. app/…/MetaplexNFTAttributesCard.tsx• L27-39, app/…/MetaplexNFTAttributesCard.tsx• L41-105
References: app/…/CompressedNFTInfoCard.tsx• L20-79 app/…/CompressedNFTInfoCard.tsx• L92-119 app/…/MetaplexNFTAttributesCard.tsx• L27-105 app/…/CompressedNFTInfoCard.spec.tsx• L21-50
Reward history
Reward history gives stake accounts a view of issued inflation rewards over time. The view loads rewards in epoch ranges for the selected cluster, shows the epoch and effective slot with the reward and resulting balance, and lets the user move toward the oldest available records.
The reward cache is separate from current account state and is cleared when the cluster changes. A failed read shows a retry state. A complete read reports that the oldest available history has been reached. app/…/RewardsCard.tsx• L21-55, app/…/RewardsCard.tsx• L57-125, app/…/rewards.tsx• L63-75, app/…/rewards.tsx• L93-162
References: app/…/rewards.tsx• L15-26 app/…/rewards.tsx• L78-162 app/…/RewardsCard.tsx• L21-125
Lookup table entries
Address lookup table accounts show the ordered addresses stored in the table. The view presents each address with its index and links it back to the address route. It can use parsed account state or decode raw lookup-table data. app/…/LookupTableEntriesCard.tsx• L8-49
References: app/…/LookupTableEntriesCard.tsx• L21-49
Account data access
The account provider batches current account reads and keeps them available to the route and its child views. Parsed reads support the normal page. Account cards keep a raw-data view available and load byte data for that view through the account data boundary. A cluster change clears account state so data from one network does not appear on another. Refreshes keep the existing account and token metadata visible while replacement reads run. app/…/index.tsx• L148-205, app/…/index.tsx• L222-343, app/…/layout.tsx• L171-187, app/…/layout.tsx• L257-261, app/…/layout.spec.tsx• L70-160, app/…/AccountDownloadDropdown.tsx• L9-23
This model also supports a useful distinction between current state and historical state. Account details inside a transaction use a fresh account lookup, so the page warns that those values may differ from the values at the time of the transaction. app/…/AccountExpandedContent.tsx• L103-119
References: app/…/index.tsx• L148-205 app/…/index.tsx• L222-343 app/…/AccountDownloadDropdown.tsx• L9-23 app/…/AccountExpandedContent.tsx• L72-119
Transaction activity
Address transaction history
The base address page presents transactions that involve the address. Each row links to the transaction and block, reports a success or failure result, and shows time data when the network provides it. Users can refresh the list or load older pages. app/…/BaseTransactionHistoryCard.tsx• L35-80
The history flow prefers an address transaction index when the selected endpoint provides one. That path supports slot, block-time, and result filters. If the endpoint does not provide the index, or its index does not cover an address, the flow uses the standard signature history path. The fallback can paginate and show history, but it cannot apply those filters. An empty first indexed page is checked against signature history when no filter is active, so an index retention gap does not appear as an empty account. app/…/fetch-history-page.ts• L20-126, app/…/get-transactions-for-address.ts• L42-99, app/…/get-signatures-for-address.ts• L42-85
This diagram shows how a history request selects its source and adds detail only after the page has useful rows.
flowchart LR
A[Address history request] --> B{Address index available?}
B -- Yes --> C[Indexed history with filters]
B -- No or incomplete --> D[Signature history]
C --> E[Paginated rows]
D --> E
E --> F[Lazy instruction and raw-data details]
References: app/…/TransactionHistoryCard.tsx• L23-99 app/…/fetch-history-page.ts• L28-126 app/…/get-signatures-for-address.ts• L42-85 app/…/get-transactions-for-address.ts• L42-99
Token account history
The token history view builds related activity from the address's token accounts. It fetches history for a limited set of accounts at a time, merges their signatures, removes duplicate transactions, and keeps the displayed range aligned with the oldest history known for the set. Users can filter by mint, load more token accounts, load more rows, or request older history. The view does not support addresses with more than 25 token accounts. app/…/TokenHistoryCard.tsx• L48-63, app/…/TokenHistoryCard.tsx• L84-182, app/…/TokenHistoryCard.tsx• L263-309
The rows show the slot, result, token mint, transaction signature, and an instruction summary when details are available. Instruction details load on demand, so the initial history remains useful without loading full transaction data for every row. app/…/TokenHistoryCard.tsx• L227-261, app/…/TokenHistoryCard.tsx• L370-412, app/…/TokenHistoryCard.tsx• L424-566
References: app/…/TokenHistoryCard.tsx• L48-63 app/…/TokenHistoryCard.tsx• L84-182 app/…/TokenHistoryCard.tsx• L221-313 app/…/TokenHistoryCard.tsx• L424-566
Token transfer history
The token transfer view narrows address history to transfers for one mint. It finds direct and inner token transfer instructions, links each transfer to its transaction, and shows source, destination, amount, result, and age when available. Token metadata supplies the symbol and decimals, while scaled amounts remain visible when a mint uses a scale factor. The amount display can also expose the raw amount and scale factor so the shown value remains traceable. app/…/TokenTransfersCard.tsx• L82-109, app/…/TokenTransfersCard.tsx• L111-208, app/…/TokenTransfersCard.tsx• L225-300
The view shares the address history paging and refresh behavior. It keeps transfer extraction separate from general transaction rows, so unsupported or malformed instructions do not remove the rest of the history. app/…/TokenTransfersCard.tsx• L99-103, app/…/TokenTransfersCard.tsx• L304-328
References: app/…/TokenHistoryCard.tsx• L48-63 app/…/TokenHistoryCard.tsx• L84-182 app/…/TokenHistoryCard.tsx• L221-313 app/…/TokenHistoryCard.tsx• L424-566 app/…/TokenTransfersCard.tsx• L66-80 app/…/TokenTransfersCard.tsx• L82-109 app/…/TokenTransfersCard.tsx• L111-208 app/…/TokenTransfersCard.tsx• L225-328
Transaction account details
The transaction account list connects each account used by a transaction to its current account view. A row shows the account address, its SOL balance change, and badges for roles such as fee payer, signer, writable account, program, or address-table lookup. On wide screens, the row expands inline. On narrow screens, the same detail opens in a drawer with actions to nickname, copy, or open the address route. app/…/AccountsCard.tsx• L75-150, app/…/AccountBadges.tsx• L11-39, app/…/AccountDetailDrawer.tsx• L24-95
Expanded details use a current account read rather than transaction-time account data. They show parsed account fields, assigned program, allocated data size, executable state, and current balance. Raw bytes load only when the size control or download control is opened. The card can also show the combined current size of the transaction's accounts when every size is known. Size reads follow the selected cluster and retry failed standard-cluster reads, while custom-cluster failures stay local. app/…/AccountExpandedContent.tsx• L72-119, app/…/AccountsCard.tsx• L155-217, app/…/use-account-sizes.ts• L13-29, app/…/use-account-sizes.test.tsx• L41-117, app/…/AccountDownloadDropdown.tsx• L9-23
This gives desktop and mobile users the same account facts without loading detail for every row at once. A failed current read stays local to the expanded detail, while the transaction account list remains available. app/…/AccountExpandedContent.tsx• L131-175, app/…/AccountsCard.tsx• L182-223
References: app/…/AccountsCard.tsx• L39-153 app/…/AccountsCard.tsx• L155-223 app/…/AccountBadges.tsx• L11-39 app/…/AccountDetailDrawer.tsx• L24-95 app/…/AccountExpandedContent.tsx• L72-175 app/…/use-account-sizes.ts• L13-29 app/…/use-account-sizes.test.tsx• L41-117 app/…/AccountDownloadDropdown.tsx• L9-23
Transaction row details
The initial history result is intentionally light. Instruction summaries load when a row becomes visible, and raw transaction bytes load when the user points to the raw-data control. A row shows up to three instruction summaries inline and places any remaining summaries in a programs tooltip. This keeps a long address history useful without fetching or displaying full details for every row at once. app/…/InstructionsCell.tsx• L8-21, app/…/TransactionRawDataCell.tsx• L10-24, app/…/InstructionList.tsx• L6-57
The history hook sends each summary through the shared instruction-name resolver. The resolver adds known program and instruction names when they are available. Unresolved names keep safe fallback labels. app/…/use-resolved-instruction-summaries.ts• L6-13, app/…/use-resolved-instruction-names.ts• L11-55
Instruction summaries use a shared sequential request limit and an immutable cache. A missing transaction is treated as a temporary fetch miss and retried rather than cached as an empty summary. A fetched transaction with no summarizable instructions still produces a real empty result. app/…/use-instruction-summaries.ts• L7-39
References: app/…/InstructionsCell.tsx• L8-21 app/…/TransactionRawDataCell.tsx• L10-24 app/…/InstructionList.tsx• L6-57 app/…/use-instruction-summaries.ts• L7-39 app/…/use-resolved-instruction-summaries.ts• L6-13 app/…/use-resolved-instruction-names.ts• L11-55
Metadata and names
Account metadata
Metadata gives an account a human-facing description beyond its address and program owner. Token mints can expose token-extension or Metaplex data. Compressed NFT accounts can expose off-chain JSON metadata. The metadata view displays the sources that are present and reports when none can be found. app/…/MetadataCard.tsx• L19-25, app/…/MetadataCard.tsx• L28-83
The account header uses the same metadata relationships to show token names, symbols, and images when they are available. External metadata and images can pass through the metadata proxy. Unsupported or malformed schemes keep the account view usable with fallback content. app/…/AccountHeader.tsx• L113-195, app/…/utils.ts• L4-32
Token holdings are read from both supported token programs. The holdings view keeps the first read focused on balances and addresses, then resolves metadata for each distinct mint before it renders the ordered list. Known symbols and images enrich the rows. Unresolved mints keep a fallback presentation. app/…/tokens.tsx• L51-55, app/…/tokens.tsx• L57-103, app/…/OwnedTokensCard.tsx• L79-99, app/…/OwnedTokensCard.tsx• L190-216
References: app/…/page.tsx• L20-23 app/…/page-client.tsx• L15-27 app/…/MetadataCard.tsx• L19-114 app/…/utils.ts• L4-32 app/…/tokens.tsx• L51-103 app/…/OwnedTokensCard.tsx• L79-99 app/…/OwnedTokensCard.tsx• L190-216 app/…/MetaplexNFTAttributesCard.tsx• L41-105
Address nicknames
Nicknames are local labels for addresses. They help users recognize an address in transaction account lists and detail panels without changing the address shown in links or copied values. The label is stored in the browser's local storage, not on Solana or in a shared account record. app/…/nicknames.ts• L5-21
The editor trims a label, limits it to 32 characters, and removes it when the saved value is empty. A browser event updates other visible components that show the same address. app/…/nicknames.ts• L24-57, app/…/use-nickname.ts• L11-30
References: app/…/nicknames.ts• L5-57 app/…/use-nickname.ts• L11-30 app/…/NicknameEditor.tsx• L24-43 app/…/AccountDetailSlideover.tsx• L41-75
Transaction receipts
Receipt view
Receipts are a focused presentation of a transaction rather than a second account record. A transaction route can show a receipt for a simple SOL transfer or a same-mint token transfer. The receipt includes the network, date, fee, total, sender, receiver, memo, and transfer rows when the transaction supports them. app/…/create-receipt.ts• L17-45, app/…/create-receipt.ts• L48-95
Server-side receipt pages and receipt images use a server-only entry point that exposes receipt creation, cluster selection, and receipt image settings as one boundary. This keeps the receipt flow usable from route handlers without mixing client-only access with server work. app/…/server.ts• L1-8
When no cluster is supplied, receipt lookup checks mainnet first and can probe devnet and testnet when cluster probing is enabled. A supplied cluster is used directly. The lookup returns the found cluster with the transaction so the receipt remains tied to the correct network. app/…/get-tx.ts• L19-53, app/…/get-tx.ts• L55-112
The receipt view links each party and token back to Explorer address pages. It also supports sharing and CSV or PDF downloads. When a transaction has no supported transfer, mixed token mints, or inner transfers, the user gets a reason and a link back to the normal transaction view. app/…/receipt-page.tsx• L75-120, app/…/receipt-page.tsx• L123-134, app/…/ReceiptView.tsx• L65-125
References: app/…/server.ts• L1-8 app/…/get-tx.ts• L19-127 app/…/create-receipt.ts• L17-105 app/…/receipt-page.tsx• L38-120 app/…/ReceiptView.tsx• L20-125 app/…/page.tsx• L21-76
Subscriptions
Wallet subscription activity
The subscriptions tab shows records associated with a wallet address. It separates plans and outgoing records from subscriptions and delegations received by the address. Each row connects the protocol account with its counterparty, amount, period, and expiry. app/…/WalletSubscriptionsCard.tsx• L30-108, app/…/WalletSubscriptionsCard.tsx• L144-183
The tab appears only when the wallet has a plan or a delegation in one of the supported clusters. A failed lookup hides the optional tab on the general account page. The dedicated subscriptions page uses an error boundary so a subscription read failure does not damage the rest of the address experience. app/…/layout.tsx• L534-549, app/…/page-client.tsx• L16-23
References: app/…/useWalletSubscriptions.ts• L15-69 app/…/WalletSubscriptionsCard.tsx• L30-108 app/…/layout.tsx• L523-549 app/…/page-client.tsx• L16-23
Protocol subscription accounts
An address can itself be a subscription protocol account rather than a wallet that owns subscription records. The account page recognizes five decoded protocol account types: plans, fixed delegations, recurring delegations, subscription delegations, and subscription authorities. It then shows the fields that explain the account's owner, payer, mint, amount, time period, expiry, and status. app/…/is-subscriptions-account.ts• L7-16, app/…/decode-subscriptions-account.ts• L19-67, app/…/SubscriptionsAccountCard.tsx• L26-175
Event authority is a related protocol address with no account bytes to decode. The page recognizes it by its derived address and gives it a separate view. This distinction matters when an address has no raw discriminator but still represents a protocol role. app/…/layout.tsx• L308-310, app/…/layout.tsx• L355-364, app/…/decode-subscriptions-account.ts• L26-37
References: app/…/is-subscriptions-account.ts• L7-16 app/…/decode-subscriptions-account.ts• L19-67 app/…/SubscriptionsAccountCard.tsx• L26-191 app/…/layout.tsx• L297-315 app/…/layout.tsx• L346-356
Related pages
- Account exploration — broad entry points for finding and moving between account views.
- Assets, tokens, and staking — token holdings, token metadata, and stake-related account views.
- Account sharing — address and account links that users can share.
- Chain data providers — network data sources and cluster behavior used by account views.
- Transaction inspection — detailed transaction views linked from history and receipts.
- Transaction detail route — the transaction page that contains account lists, receipts, and transaction detail panels.
Change checklist
When these files or sections are changed, remember to consider these:
- Keep account-type detection and navigation-tab rules aligned. A new account view must be reachable only when its data is valid.
- Keep cluster-aware links on the address route, transaction links, receipt links, metadata lookups, feature epoch links, and program-multisig links aligned so navigation does not switch networks.
- Keep feature activation state, proposal availability, activation-epoch links, pending countdowns, and epoch-triggered refresh behavior aligned. Do not make custom clusters poll cluster epoch data.
- Keep each sysvar type mapped to its matching parsed fields and refresh action. Recent blockhash and slot-hash tables must preserve their links, ordering, and empty states.
- Keep feature proposal Markdown safe and readable. Relative proposal links, in-page anchors, external links, frontmatter, tables, and code blocks are one display contract.
- Keep token mint, NFT mint, token account, multisig, and Token-2022 extension parsing aligned with the unknown-account fallback. A parse failure must not remove the general account view.
- Keep compressed NFT proof verification, tree account loading, proof-size meaning, and badge display aligned.
- Keep domain route availability, cluster support, parallel source reads, combined sorting, and no-domain messaging aligned when domain sources or the owned-domain card change.
- If the history source or cursor changes, review filter support and the fallback path together. The signature fallback cannot answer filtered queries.
- Keep the indexed-history pagination token and signature-history cursor separate. A source switch must not re-request the head page or stop later paging.
- If history row data changes, review the RPC mapping boundary and the row display together. Numeric fields must remain safe for rendering and JSON use.
- If instruction summary data or name sources change, review lazy row loading, fallback labels, and the shared resolver together. Preserve summary order so the displayed instruction list stays aligned with its transaction.
- If account fetch data changes, review parsed summaries, transaction account expansion, raw-data controls, and download behavior together. Decoded protocol pages may need raw bytes even when the main account card does not.
- If account refresh behavior changes, preserve existing account and token metadata during replacement reads and keep loading states limited to missing usable data.
- If transaction account rows change, keep desktop expansion, mobile drawer actions, account badges, and current-data warnings aligned.
- If account size reads change, review the selected cluster, retry policy, custom-cluster logging, per-account byte controls, and the aggregate total together. Unknown or failed sizes must not hide the account rows.
- If token holdings or token-account pagination changes, review mint aggregation, verification ordering, visible-row metadata enrichment, and token history's 25-account limit together. Keep summary and detail display modes aligned with the
displayquery parameter. - If token transfer extraction changes, review direct and inner instruction handling, mint filtering, token decimals, scaled amounts, status rows, and shared history paging together.
- If token extension parsing, status badges, or extension navigation changes, review the account card, summary-row badges, parsed values, raw-state view, and URL-hash selection together. Preserve the selected cluster and route parameters when a badge opens the extension page.
- If reward epoch boundaries or cache behavior changes, review the stake reward view's oldest-history and cluster-switch states together.
- If lookup table decoding changes, keep parsed and raw account inputs equivalent and preserve index order in the address list.
- If receipt cluster lookup or eligibility changes, update both network selection behavior and the unavailable reason shown to users. Keep the normal transaction fallback aligned.
- If subscription account types change, update protocol recognition, decoding, account-card rendering, and wallet-tab visibility as one contract.
- If NFToken collection detection or its child route changes, keep the collection tab, address validation, collection metadata, and collection grid contract aligned.
- If address-tab error handling changes, preserve the rule that retries remove only failed requests while retaining valid and in-flight data. Keep the non-reporting behavior for tab errors aligned with the error boundary.
- If Anchor IDL selection changes, keep account-type support, program construction, cluster inputs, and
Anchor Datatab visibility aligned. Codama-only or account-free IDLs must not expose the Anchor route.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
Invalid address in /address/[address] | The account cannot be loaded or classified. | Validate the address before rendering account sections and show the address error. |
| Invalid address in the NFToken collection route | The collection page can receive a value that is not a Solana address. | Send invalid route values to the not-found flow before rendering the collection grid. |
| Account read fails for the selected cluster | The page cannot show current account state or type-specific data. | Keep the loading and retry states in the address layout. |
| A pending feature crosses an epoch without a parsed refresh | The page can keep showing pending state after activation. | Poll epoch info only for pending features and refresh the account when the epoch increases. |
| A custom cluster is treated as a standard cluster for feature timing | The page can request unsupported epoch or slot-time data. | Disable cluster-info polling and omit the activation epoch view for custom clusters. |
| Feature proposal Markdown contains an unsafe link or a broken relative link | A link can run in the page or point to the wrong place. | Sanitize link targets, resolve relative links against the proposal URL, and keep external links isolated. |
| Feature account parsing fails | Feature-specific fields are unavailable. | Render the unknown account card through the section error boundary. |
| A sysvar type is decoded with the wrong section | Network state can be shown with the wrong meaning or fields. | Dispatch each parsed sysvar type to its matching account section. |
| Token, NFT, or multisig parsing fails | A known account can lose its useful account summary. | Catch parsing errors and fall back to the unknown account card. |
| A compressed NFT proof is invalid or its tree data is unavailable | Compression state can be shown as trusted when it is not verified. | Verify the proof and show an explicit proof status; keep tree data loading separate. |
| Address child request fails | A tab can remain in a failed state after the user retries. | Clear only failed SWR entries with no data before resetting the route error boundary, and do not report the tab error to Sentry. |
| Owned-domain page runs on an unsupported cluster | Domain lookup does not run and the view reports no domain name. | Limit domain expectations to mainnet and custom clusters. |
| One owned-domain source fails | The combined domain view does not show partial results. | Keep the all-or-nothing loading and error state for the SNS and ANS reads. |
| A domain source returns an invalid name service account address | That row cannot link to a valid account page. | Filter invalid public keys before rendering the domain table. |
| History endpoint lacks the indexed address method | Slot, time, and result filters cannot be honored. | Fall back to signature history and remove active filter state. |
| Address index returns an empty first page outside its retention range | The page can falsely report that the account has no history. | Confirm an unfiltered empty first page against signature history. |
| A stale history request resolves after a filter change or reset | Old rows can overwrite the new query. | Drop a superseded result before writing it to the history cache. |
| Instruction detail fetch returns no transaction temporarily | The row can show no instruction detail for the rest of the session. | Retry the missing transaction instead of caching an empty summary. |
| Token account set has more than 25 accounts | Combined token transaction history is not shown. | Show the explicit unsupported-size message instead of partial history. |
| Token holdings span both token programs but one program read fails | The holdings view can fail instead of presenting a complete set. | Treat the paired program reads as one holdings load and show its error state. |
| Token metadata lookup is still loading | The holdings list can show rows in an order that later changes. | Keep the holdings card in a loading state until metadata ordering is ready. |
| Metadata URI is missing, malformed, or unavailable | Token or NFT names, attributes, and artwork may be absent. | Keep the account view usable and show a no-metadata or retry presentation. |
| Token extension decimals differ from fetched token information | The extension view can show data for a different mint state. | Stop the card and report the token-information mismatch before showing extension data. |
| Reward lookup fails or the epoch range reaches the oldest supported epoch | Reward rows may be absent or no more history can be loaded. | Show the retry state for a failed read and stop paging at the oldest available epoch. |
| Lookup table raw bytes cannot be decoded | The table can show no addresses or fail to render. | Use the parsed account when available and keep decoding behind the account view boundary. |
| A token transfer instruction is malformed or belongs to another mint | The transfer list can show wrong amounts or stop on one bad instruction. | Validate transfer shapes, filter by mint, and ignore only the bad instruction. |
| Transaction account detail is opened and its current account read fails | The account row remains visible but its expanded facts are unavailable. | Keep the failure inside the expanded detail and preserve the account list. |
| Raw account data is requested for an empty account or the RPC read fails | No bytes can be downloaded or shown. | Hide the control for zero-byte accounts and show a fetch error for failed reads. |
| Some transaction account sizes are unknown or the size read fails | The aggregate size is absent even though account rows remain useful. | Show the total only when every size is known, retry standard-cluster reads, and keep custom-cluster errors local. |
| Receipt cluster cannot be found or its status check fails | The receipt cannot load, or the user can see the wrong network if lookup is not preserved. | Report the lookup error and return the found cluster with the transaction. |
| Receipt contains mixed mints, inner transfers, or no transfer | No receipt can be produced for that transaction. | Explain the reason and link to the standard transaction view. |
| Subscription data lookup fails | Optional wallet subscription navigation may disappear, or the dedicated page may show an error. | Hide the optional tab and isolate the dedicated page with an error boundary. |
| Account refresh runs while current data is visible | A usable page can disappear or show an unnecessary loading state. | Keep existing account and token data mounted until replacement data is ready. |
| Anchor IDL is missing, loading, account-free, or Codama-only | The account route can show an Anchor tab that has no supported account data. | Require a buildable Anchor-standard program with declared account types before showing Anchor Data. |
Key files
| File | Why to read it |
|---|---|
| app/…/layout.tsx | Defines the address shell, account classification, conditional navigation, and refresh behavior. |
| app/…/AccountDataTab.tsx | Defines when the Anchor Data tab is available for a program account. |
| app/…/AccountDataTab.spec.tsx | Shows the IDL cases that enable or hide the Anchor Data tab. |
| app/…/layout.spec.tsx | Shows the loading, refresh, token metadata, and error contracts for the address shell. |
| app/…/error.tsx | Defines isolated retry behavior for failed address child routes. |
| app/…/page.tsx | Connects the dynamic route's base path to address transaction history and page metadata. |
| app/…/page.tsx | Validates an NFToken collection address and connects the child route to its NFT grid. |
| app/…/page.tsx | Connects the owned-domain child route to the combined domain view and page metadata. |
| app/…/index.tsx | Defines the shared current-account model and account data loading boundary. |
| app/…/AccountCard.tsx | Connects the general account card to its raw-data view and account download action. |
| app/…/rewards.tsx | Defines the cluster-aware reward history cache and epoch paging boundary. |
| app/…/tokens.tsx | Defines address token holdings across both token programs and their data boundary. |
| app/…/FeatureAccountSection.tsx | Shows feature identity, activation state, cluster-aware epochs, and pending refresh behavior. |
| app/…/FeatureGateCard.tsx | Provides the collapsible feature proposal section. |
| app/…/FeatureGateMarkdown.tsx | Presents feature proposals with safe links and readable Markdown content. |
| app/…/SysvarAccountSection.tsx | Shows the parsed network-state views for clock, rent, rewards, epoch, fee, slot, and stake sysvars. |
| app/…/BlockhashesCard.tsx | Shows recent blockhashes and their fee rates. |
| app/…/SlotHashesCard.tsx | Shows linked slots and slot hashes. |
| app/…/TokenAccountSection.tsx | Shows mint, NFT mint, token account, multisig, and token-extension account summaries. |
| app/…/UpgradeableLoaderAccountSection.tsx | Shows upgradeable program, executable data, and deploy-buffer account states. |
| app/…/CompressedNFTInfoCard.tsx | Shows compressed NFT tree, proof, hash, and composability state. |
| app/…/MetaplexNFTAttributesCard.tsx | Shows ordinary and compressed NFT attributes with metadata retry behavior. |
| app/…/RewardsCard.tsx | Shows how stake reward history reaches the account page. |
| app/…/TokenExtensionsCard.tsx | Shows how mint extension state is checked and presented on the account page. |
| app/…/TransactionHistoryCard.tsx | Shows how address history, filters, refresh, and pagination reach the user. |
| app/…/fetch-history-page.ts | Explains the indexed-history and signature-history source choice. |
| app/…/use-instruction-summaries.ts | Defines lazy instruction detail loading, rate control, and retry behavior. |
| app/…/AccountsCard.tsx | Connects transaction accounts to balances, responsive details, and aggregate current size. |
| app/…/AccountExpandedContent.tsx | Shows current parsed account facts and lazy raw-data access inside transaction details. |
| app/…/use-account-sizes.ts | Defines cluster-aware current account-size reads and their retry boundary. |
| app/…/use-account-sizes.test.tsx | Captures empty-input, address-list, cluster-change, retry, and custom-cluster error behavior for account sizes. |
| app/…/DomainsCard.tsx | Combines SNS and ANS owned-domain results and exposes shared loading and error states. |
| app/…/OwnedTokensCard.tsx | Shows mint-level token holdings, metadata ordering, summary/detail display, and paging. |
| app/…/TokenTransfersCard.tsx | Shows how one mint's direct and inner transfers become a paged history. |
| app/…/LookupTableEntriesCard.tsx | Shows how parsed or raw lookup-table state becomes linked entries. |
| app/…/TokenHistoryCard.tsx | Shows how token-account activity becomes a filtered, deduplicated history. |
| app/…/MetadataCard.tsx | Defines the on-chain and compressed-NFT metadata views. |
| app/…/nicknames.ts | Defines the local-only address label contract. |
| app/…/get-tx.ts | Defines cluster selection and transaction lookup for receipts. |
| app/…/create-receipt.ts | Defines which transaction shapes can become receipts. |
| app/…/receipt-page.tsx | Connects transaction data to receipt display and fallback states. |
| app/…/WalletSubscriptionsCard.tsx | Shows wallet subscription and delegation activity. |
| app/…/SubscriptionsAccountCard.tsx | Shows the decoded protocol account views. |