Account and asset exploration
Account and asset exploration turns a Solana address into a readable view of its on-chain role, balance, data, history, and related assets. The address page starts with account state from the selected cluster, adds known labels and metadata, and then exposes views that fit the account type. See Account details, Assets, tokens, and staking, and Account sharing for related workflows.
Address exploration
An address page is the common entry point for inspecting a public key. It presents a stable account overview first, then adds history and type-specific views so an engineer can move from “what is this address?” to “what does it do?” without changing the inspection context.
Account identity
The account overview describes the address in terms that apply to any Solana account: its SOL balance, assigned program, allocated data size, executable status, and any recognized label. Known account types replace this general view with a more useful summary. This includes protocol-specific records such as feature activations, while unknown accounts keep the general view and still expose their raw data. References: app/…/layout.tsx• L305-383, app/…/FeatureAccountSection.tsx• L24-48, app/…/UnknownAccountCard.tsx• L14-61
The address header changes with the account’s role. It can identify a program, stake account, token mint, Metaplex NFT, NFToken account, compressed NFT, or another supported asset. Program headers can add trusted or self-reported security metadata, while a plain account header remains available when the data is not enough to classify the address. References: app/…/AccountHeader.tsx• L27-95, app/…/AccountHeader.spec.tsx• L62-168
Account navigation
The address page uses the account’s parsed type and owner together with raw account shape and enrichment results to choose related views. Every address starts with transaction history, then gains views such as token holdings, domains, token transfers, metadata, program IDL, decoded account data, or token extensions when those views make sense for the account. Additional views can describe feature activation, attestations, subscriptions, or a program multisig when a related lookup confirms that they apply.
Executable programs can also expose an Anchor Data view. The page shows this view only when IDL discovery produces a usable Anchor-standard IDL with declared account types. A Codama-only IDL or an IDL without account types does not add the view. When the view is present, it uses the public Anchor interface to decode the account bytes into named fields; a failed decode reports that the interface cannot explain the data without removing the base account view. References: app/…/layout.tsx• L473-493, app/…/AccountDataTab.tsx• L7-21, app/…/AnchorAccountCard.tsx• L17-64, app/…/sourced-idl.ts• L27-37, app/…/use-anchor-program.ts• L15-37
flowchart TD
A[Address] --> B[Account state]
B --> C[Account overview]
B --> D{Recognized account type}
D -->|General account| E[History and common views]
D -->|Token or asset| F[Holdings, metadata, transfers]
D -->|Stake or vote| G[Rewards and history]
D -->|Program or data account| H[Program and decoded data views]
D -->|Protocol record| I[Feature, attestation, subscription, or multisig view]
D -->|Unknown| J[Raw data and general account view]
The navigation also accounts for data that arrives outside the main account response. For example, compressed NFT views, wallet subscription views, program multisig views, and Anchor Data can appear after a separate lookup confirms that they apply. A failed optional lookup hides its view instead of taking down the address page. References: app/…/layout.tsx• L269-285, app/…/layout.tsx• L402-515, app/…/layout.tsx• L523-549, app/…/AccountDataTab.tsx• L7-21
Account data model
The account data model gives all account views a shared base. It keeps the address, SOL balance in lamports, owner, executable flag, data size, and either parsed account meaning or raw bytes so each view can choose the right level of interpretation.
Account state
Account state is read from the selected cluster and cached by address. Parsed reads support the main account page and known program views. Raw reads support accounts that need a later decoder, while a data-free read supports checks that only need account existence or ownership.
Some supporting views need the data for several related addresses at once. The shared account-info model batches those reads for a cluster and returns raw bytes with their sizes, so a view can inspect related records without changing the main account model. References: app/…/index.tsx• L121-133, app/…/index.tsx• L179-219, app/…/index.tsx• L222-343, app/…/use-accounts-info.ts• L8-39
The account query model gives consumers a small loading, error, and data contract. A disabled query does not fetch, and an enabled query fetches the address once it is not already in the account cache. This keeps account views focused on what they need instead of on the shared fetch life cycle. References: app/…/use-account-query.ts• L9-59, app/…/use-account-expanded-info.ts• L5-10
Parsed account families
Parsed account data connects on-chain ownership to a user-facing account family. The main supported families include stake, vote, nonce, sysvar, config, address lookup table, upgradeable loader, program metadata, and both legacy and Token-2022 token accounts.
| Account family | Exploration focus |
|---|---|
| General or unknown account | Balance, owner, size, executable status, and raw data |
| Token mint | Supply, authorities, decimals, metadata, and token features |
| Token account | Mint, owner, balance, state, and account features |
| Token multisig | Signer set and signer threshold |
| Stake account | Stake state, activation, and rewards |
| Vote account | Vote history and rewards |
| Program account | Program identity, upgrade data, security, and IDL |
| Program metadata account | Program link, authority, data form, and stored payload properties |
| System data account | The decoded role of nonce, sysvar, config, or lookup-table data |
| Protocol-specific account | Feature activation, attestation, subscription, or multisig state |
The page selects a specialized section when the account can be classified. The account router maps each supported kind to its account-specific view data, while loader kinds without the required enrichment remain in the unsupported path. If parsing fails or no supported type matches, the page falls back to a general account view rather than hiding the address. References: packages/…/inspect-entity-account-router.ts• L51-107, app/…/index.tsx• L58-119, app/…/layout.tsx• L317-377
Feature activation accounts
Feature activation accounts explain whether a protocol feature is active on the selected cluster. An active feature links its activation slot to the matching epoch. A known but not yet active feature links to the next epoch and shows an estimated countdown when cluster timing data is available. Pending features poll the epoch and refresh the parsed account when the epoch changes, while custom clusters do not request this cluster timing data. References: app/…/FeatureAccountSection.tsx• L24-48, app/…/FeatureAccountSection.tsx• L55-68, app/…/FeatureAccountSection.tsx• L83-104, app/…/FeatureAccountSection.tsx• L220-258, app/…/FeatureAccountSection.spec.tsx• L52-165
Feature records can also show the related SIMD proposal as optional feature information. The proposal is presented in a collapsible section with readable headings, lists, code, tables, frontmatter filtering, safe external links, and links between related proposals. Missing proposal text leaves the feature account usable. References: app/…/FeatureGateCard.tsx• L8-23, app/…/FeatureGateMarkdown.tsx• L9-27, app/…/FeatureGateMarkdown.tsx• L55-163, app/…/FeatureGateMarkdown.spec.tsx• L9-94
Sysvar accounts
Sysvar accounts expose Solana runtime records as typed summaries instead of generic account data. The account view supports clock, rent, rewards, epoch schedule, fees, recent blockhashes, slot hashes, slot history, and stake history records, with links for time, epoch, and slot values where those links help explain cluster state. Recent blockhashes show recency and fee cost, while slot hashes show linked slots with their bank hashes. References: app/…/SysvarAccountSection.tsx• L24-45, app/…/SysvarAccountSection.tsx• L47-126, app/…/SysvarAccountSection.tsx• L129-276, app/…/BlockhashesCard.tsx• L6-35, app/…/SlotHashesCard.tsx• L8-35
Program metadata accounts
Program metadata accounts are a program-managed record type that carries its own header and may point to a program and stored payload. The explorer keeps the account classified even when the header is empty, truncated, or shaped by a newer format, so a decoding problem reduces detail without making the address disappear. References: packages/…/program-metadata.ts• L1-78, packages/…/inspect-entity-account-router.ts• L94-97
Upgradeable program accounts
Upgradeable loader accounts describe the parts of a program deployment. A program account links to executable data and shows whether the program is closed, upgradeable, verified, or protected by security metadata. Its executable-data account shows deployment timing and authority, while a deploy buffer shows its deploy authority and a comparable program-byte hash. An upgrade authority that maps to a Squads multisig can link to the program’s multisig view without blocking the program overview. The program overview remains visible while that optional lookup is pending. References: app/…/UpgradeableLoaderAccountSection.tsx• L34-64, app/…/UpgradeableLoaderAccountSection.tsx• L66-157, app/…/UpgradeableLoaderAccountSection.tsx• L168-277, app/…/UpgradeableLoaderAccountSection.spec.tsx• L29-51
Asset and metadata enrichment
Enrichment adds names, symbols, images, labels, and asset relationships to account state. It does not replace the account’s on-chain data; it helps an engineer relate an address or mint to the asset that people recognize.
Token enrichment
Token exploration supports both the legacy token program and Token-2022. The holdings view obtains token accounts for an owner, groups them by mint, and resolves metadata for all held mints before it displays the list. It then orders verified mints before listed or unresolved mints while keeping the source order within each tier. This gives the user a useful list without hiding holdings that have no metadata. References: app/…/tokens.tsx• L17-24, app/…/tokens.tsx• L54-95, app/…/OwnedTokensCard.tsx• L74-100, app/…/OwnedTokensCard.tsx• L181-225, app/…/OwnedTokensCard.spec.tsx• L137-280
The holdings card has summary and detail views. Summary shows one row per mint with the total balance. Detail also shows the token account address; when several token accounts hold one mint, the row still represents the summed mint balance. The list shows 20 mints first and adds more in groups of 20. Resolved logos and symbols improve recognition, while an unresolved mint still appears with its address and a fallback image. References: app/…/OwnedTokensCard.tsx• L24-29, app/…/OwnedTokensCard.tsx• L102-163, app/…/OwnedTokensCard.tsx• L181-245, app/…/OwnedTokensCard.spec.tsx• L328-404
Token amounts can include a Token-2022 scaled UI amount multiplier. The views retain raw units and show the scaled display value with context so an engineer can tell the difference between stored units and the current user-facing amount. Mint and token-account views apply the same context to supply and balances, while token holdings aggregate the raw and displayed amounts by mint. References: app/…/tokens.tsx• L122-145, app/…/TokenAccountSection.tsx• L148-170, app/…/TokenAccountSection.tsx• L311-397, app/…/OwnedTokensCard.tsx• L193-221, app/…/TokenTransfersCard.tsx• L57-79, app/…/OwnedTokensCard.spec.tsx• L191-225
Fungible mint views can also show token information that connects a Solana mint to an external asset. When the enrichment provides it, the view exposes a website and bridge or bridged-asset contract links without changing the on-chain mint identity. References: app/…/TokenAccountSection.tsx• L134-229
NFT and asset enrichment
Mint inspection can identify Metaplex NFT data and show collection, supply, authority, seller-fee, external metadata, and metadata attributes when available. Attribute data is read from the asset metadata and shown as trait/value rows, with a retry path when the external metadata request fails. The address shell can also recognize compressed NFTs and NFToken accounts, which lets asset views use the same address entry point even when the asset is not represented by a normal parsed token account. References: app/…/index.tsx• L437-450, app/…/TokenAccountSection.tsx• L94-129, app/…/TokenAccountSection.tsx• L254-355, app/…/MetaplexNFTAttributesCard.tsx• L27-105, app/…/layout.tsx• L334-377, app/…/layout.tsx• L430-446
Compressed NFT inspection adds proof context to the asset view. It links the asset to its concurrent Merkle tree, checks the supplied proof against the current root, and reports the proof size after the tree canopy is accounted for. A verified proof is marked as such, while a proof larger than eight nodes is called a composability hazard; missing compression data leaves the optional card absent. References: app/…/CompressedNFTInfoCard.tsx• L20-29, app/…/CompressedNFTInfoCard.tsx• L31-77, app/…/CompressedNFTInfoCard.tsx• L92-119, app/…/CompressedNFTInfoCard.spec.tsx• L21-50
Token metadata may come from on-chain Token-2022 metadata, a Metaplex metadata account, or an external token information source. The header uses the available source and falls back to an unknown-token presentation when no trusted name or symbol is available. References: app/…/AccountHeader.tsx• L113-195, app/…/use-token-metadata.ts• L11-36, app/…/AccountHeader.spec.tsx• L150-168
Token feature interpretation
Token account views surface important Token-2022 features as readable status and authority data. These features can affect transfer rules, fees, privacy, pausing, delegation, metadata, grouping, and displayed amounts, so the account page keeps them next to the token balance instead of treating the mint as a simple number. The extensions view also uses token metadata when it is available and keeps refresh state visible while the mint data updates. Its refresh action stays disabled while the mint is being fetched. References: app/…/TokenAccountSection.tsx• L132-250, app/…/TokenAccountSection.tsx• L527-562, app/…/TokenExtensionsCard.tsx• L24-69, app/…/TokenExtensionsCard.spec.tsx• L29-47
History and supporting views
The address shell links account state to activity and related records. These views answer different questions: what happened to the address, what assets does it hold, how did staking produce rewards, and what special data belongs to the account.
Activity views
The default address view shows transaction history. Token mints and token-related addresses can also expose token transfers, while the token holdings view shows the assets owned by a wallet. Holdings and token history are separate views because current ownership and past activity describe different states. References: app/…/page.tsx• L51-59, app/…/page.tsx• L22-30, app/…/page.tsx• L19-22
Token history builds activity from the token accounts owned by an address. It loads histories for a limited set of token accounts first, merges their signatures, removes duplicate transactions, and orders the result by slot. The user can filter by mint, load more token accounts, load older history, and refresh the data. Metadata gives a selected mint a symbol and name in the filter; if metadata is unavailable, the filter uses a shortened public key. Accounts with more than 25 token accounts do not show this view because the combined history is not offered for that size. References: app/…/TokenHistoryCard.tsx• L45-66, app/…/TokenHistoryCard.tsx• L73-182, app/…/TokenHistoryCard.tsx• L313-366, app/…/TokenHistoryCard.FilterDropdown.spec.tsx• L44-71
Token transfer history presents the source, destination, amount, result, and transaction signature for transfers tied to the inspected mint. It derives transfers from both top-level and inner token instructions, filters them to the mint, and uses token metadata and scaled-amount context when available. The table can refresh or load older activity, and a failed request keeps the card available with a retry path. References: app/…/TokenTransfersCard.tsx• L82-103, app/…/TokenTransfersCard.tsx• L105-208, app/…/TokenTransfersCard.tsx• L210-301
Staking views
Stake exploration combines the parsed stake account with its current activation state and epoch reward records. Rewards load in pages and continue toward the oldest epoch available on the selected cluster, which lets the view cover long-lived stake accounts without requiring the full history at first load. References: app/…/index.tsx• L376-399, app/…/rewards.tsx• L13-24, app/…/rewards.tsx• L76-149, app/…/RewardsCard.tsx• L39-117
Specialized data views
Some accounts support views for program IDLs, decoded account data, address lookup table entries, security information, verified builds, feature gates, compressed asset data, subscriptions, attestations, program multisigs, or token extensions. These views are conditional because their meaning depends on the account owner, parsed type, raw data, or a related lookup. A lookup table view presents the indexed addresses held by the table, whether the table arrived as parsed state or raw account data. References: app/…/layout.tsx• L87-150, app/…/layout.tsx• L407-499, app/…/layout.tsx• L504-549, app/…/LookupTableEntriesCard.tsx• L21-49, app/…/page.tsx• L22-26, app/…/page.tsx• L22-25
The program IDL view uses one discovery result to report whether an interface description was found, where it came from, and why discovery could not verify it. Discovery checks the canonical Program Metadata publication first, then supported fallback publications, while a missing or unusable IDL leaves raw account inspection available. Programs with a usable Anchor IDL that declares account types also receive an Anchor Data view; this view is not added for Codama-only or account-less IDLs. A program multisig uses the applicable Anchor IDL for the Squads program and does not treat the Program Metadata publication alone as a usable account interface. References: packages/…/idl-clients.ts• L1-16, packages/…/idl-clients.ts• L43-61, packages/…/idl-clients.ts• L74-102, packages/…/idl-clients.ts• L130-145, app/…/ProgramMultisigCard.tsx• L25-95, app/…/ProgramMultisigCard.spec.tsx• L31-65, app/…/AnchorAccountCard.tsx• L31-64, app/…/AccountDataTab.tsx• L7-21
Data access and user feedback
Account exploration is designed to keep the page useful while data is fetched, classified, or enriched. It shows loading and fetch-error states for the main account, preserves a general view for unsupported layouts, and gives the user a refresh path for data that can change.
Loading and refresh states
The main address shell validates the public key and waits for the account and required first token-information request before it renders the account sections. After usable account data is present, a refresh keeps the existing page mounted while the new account or token information loads. A failed token-information refresh does not remove the last usable header data. For a failed address tab request, the retry action re-fetches only failed requests, keeps stale or in-flight requests, and does not send the tab error to Sentry. References: app/…/layout.tsx• L158-218, app/…/layout.tsx• L257-261, app/…/layout.spec.tsx• L70-160, app/…/error.spec.tsx• L19-87
Missing and unsupported accounts
An RPC response with no account is represented as a zero-balance account. The general view then states that the account does not exist and can search adjacent clusters for the same address. Unsupported or undecodable data is still shown through the account’s general fields and raw-data access rather than being treated as a page failure. The shared account card loads raw data for its raw-data rows when it mounts, while its download control loads the bytes when the user opens it and offers common text encodings. Accounts with no allocated space do not show that control, so raw inspection stays tied to data that can exist. References: app/…/index.tsx• L264-277, app/…/UnknownAccountCard.tsx• L32-61, app/…/UnknownAccountCard.tsx• L69-105, app/…/AccountCard.tsx• L21-59, app/…/AccountDownloadDropdown.tsx• L9-23, app/…/DownloadDropdown.tsx• L35-101, app/…/AccountCard.spec.tsx• L20-44
Change checklist
When these files or sections are changed, remember to consider these:
- Keep the account classification rules aligned with the navigation rules. A new account kind needs both a meaningful overview section and the correct conditional tabs.
- Keep protocol-specific account recognition aligned with its lookup source. Feature, subscription, attestation, and multisig views must not appear for an address that only resembles the related record.
- Keep feature activation status tied to the selected cluster. The activation epoch and pending countdown must use the same cluster state as the account.
- Keep pending feature refresh behavior tied to epoch changes. A pending feature must update after an epoch rollover, while an active feature and a custom cluster must not cause needless refreshes.
- Keep feature proposal rendering separate from account status. Unavailable or unsafe proposal content must not hide the feature account or create links outside the intended target.
- Keep sysvar type recognition aligned with the summary shown for each runtime record. A newly supported sysvar must not fall back to a generic account without a clear reason.
- Keep batched related-account reads keyed by both address set and cluster. Data from a prior cluster must not appear in a supporting view.
- Keep program metadata decoding tied to its own account layout. Do not make it depend on the owner program’s IDL or turn a truncated header into an unknown account.
- Keep upgradeable-loader states aligned across program, executable-data, buffer, and closed-program views. Authority and deployment data must not be shown for the wrong state.
- Keep optional upgrade-authority lookups non-blocking. A pending or failed Squads lookup must not hide the program overview or its authority.
- Keep legacy token and Token-2022 paths aligned. Holdings, mint headers, token account details, and extension views must agree on the token program and amount meaning.
- Keep holdings metadata lookup and ordering aligned. Resolve every held mint before ordering, keep verification tiers stable, and count unique mints rather than token accounts in pagination.
- Keep summary and detail holdings views aligned with mint aggregation. A mint held in several token accounts must keep one total balance while detail mode preserves a useful account reference.
- Keep token history limits and staged loading aligned. Filtering, token-account expansion, older-history loading, and duplicate signature removal must describe the same result set.
- Keep token filter labels aligned with the metadata fallback. A missing symbol or name must still leave a stable mint selector and shortened address.
- Keep token transfer extraction tied to the inspected mint. Top-level and inner transfers must use the same mint filter, amount units, scaled-amount context, and pagination state.
- Keep compressed NFT proof data tied to the same asset hash, tree root, canopy depth, and leaf position. A proof badge must not imply verification when the supplied evidence does not verify.
- Keep raw-data fallback behavior intact when a parsed account is unavailable. Decoders and account-data views depend on access to the original bytes.
- Keep raw account data access and download behavior aligned. Raw rows may load on mount, while downloads stay lazy; zero-space accounts must not show the download control, and both reads must use the selected cluster.
- Keep IDL discovery status and source values aligned with the published wire contract. A new source or error must map to a clear user result without blocking raw account inspection.
- Keep Anchor Data eligibility aligned with IDL standard and account declarations. Anchor Data must not appear for Codama-only, account-less, or unusable Anchor IDLs.
- Keep program multisig decoding tied to a usable Squads Anchor IDL. A Program Metadata IDL alone must not create a false multisig model.
- Keep Anchor account decoding tied to the public IDL and the account discriminator. A decode failure must remain a local data-view error and must not hide the base account.
- Keep enrichment fallbacks safe when token lists or metadata services return no result. The account page must still identify the mint or address by its public key.
- Keep cluster changes tied to cache invalidation. Account state, token holdings, rewards, and metadata must not appear to belong to a prior cluster.
- Keep paged reward state ordered and deduplicated by epoch when reward loading changes.
- Keep refresh states separate from first-load states. Existing account and token information must remain visible while a refresh is in progress or its optional enrichment fails.
- Keep address-tab retry behavior scoped to failed requests. Retrying a failed tab must not discard stale data or interrupt requests that are still in progress.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| The selected cluster cannot fetch the account | The main address view shows a fetch error instead of account details | The address shell exposes a retry action through the account refresh path |
| The address is not a valid public key | The address view cannot inspect an account | The address shell rejects the value with a direct validation error before rendering account sections |
| The address has no on-chain account | The overview reports no account and shows a zero balance | The page probes adjacent clusters and offers a link when another cluster has the address |
| RPC parsing does not recognize account data | Specialized fields and tabs are absent | The general account view keeps owner, size, executable status, and raw data available |
| A program metadata header is truncated or uses a future shape | The account loses header fields but would otherwise be incorrectly hidden as unknown | The program metadata builder keeps the account kind and base fields when header decoding fails |
| An upgradeable program has no current executable-data record | The program can be closed but still needs an account explanation | The program section labels the closed state and retains its program-data link and base fields |
| The upgrade-authority lookup is slow or unavailable | The program multisig badge is absent or delayed | The program card renders independently and treats the lookup as optional |
| IDL discovery times out or a publication is unavailable | The program IDL view cannot verify an interface description | The resolver returns a non-blocking unknown result and keeps raw decoding available |
| A program has no usable Anchor IDL with account declarations | The Anchor Data tab is absent | The tab checks for a built Anchor program and at least one declared account type |
| A Program Metadata publication is the only Anchor IDL for a program multisig | Multisig account data cannot be decoded safely | The multisig model requires a separate usable Anchor IDL for the Squads program |
| An Anchor account does not match the public IDL or its bytes cannot be decoded | The Anchor Data view cannot show typed fields | The card reports a decode error while the general account data remains available |
| Feature proposal markdown is unavailable or contains an unsafe link | Feature context is incomplete or the link must not navigate | The feature card keeps the account view and the markdown renderer filters frontmatter and unsafe targets |
| Token metadata is missing or delayed | A token shows its mint address without a name, symbol, or image | Token rows and headers use the mint address and an unknown-token fallback |
| Token metadata lookup is still loading | Holdings appear in an arbitrary order and can move when verification data arrives | The holdings card waits for all held-mint metadata before it paints rows |
| Token extension metadata is still loading | The extension view cannot yet show its final symbol context | The card shows a loading state and keeps refresh disabled while the mint is fetching |
| A mint is held in several token accounts | The displayed total or scaled-amount context is wrong | Holdings aggregate displayed and raw amounts by mint with decimal-safe arithmetic |
| Token-2022 scaled amount data is ignored | Displayed balances can differ from the intended user-facing amount | Views retain raw amounts and apply the mint’s current multiplier with a tooltip |
| NFT metadata attributes cannot be fetched or do not match the expected shape | Trait rows are unavailable | The attributes card filters invalid entries and offers a retry on fetch failure |
| A compressed NFT proof does not verify against the current root | The asset’s compression evidence is untrustworthy | The compression card marks the proof as not verified instead of presenting it as valid |
| A compressed NFT proof is larger than eight nodes after canopy adjustment | The asset may be hard to compose with other programs | The compression card marks the proof as a composability hazard |
| A wallet owns more than 25 token accounts | Combined token transaction history is not shown | The history card states the limit instead of starting an oversized combined fetch |
| Token histories contain the same signature | A transaction appears more than once or an older boundary is misleading | The history view de-duplicates signatures and uses the known complete-history boundary |
| Token metadata is unavailable for a history filter | The selected mint is hard to identify in the filter | The filter falls back to a shortened mint address |
| Token transfer history cannot be fetched | The transfer table has no usable activity data | The card shows a fetch error with a retry action |
| A long reward history is fetched as one unbounded request | The rewards view becomes slow or cannot load all epochs | Rewards load in pages and stop at the oldest supported epoch |
| A feature account is viewed without matching feature data or cluster timing | Activation status or the pending countdown is incomplete | The feature card keeps the base account view, polls only pending features on supported clusters, and renders cluster-dependent details only when data exists |
| An optional subscription, multisig, or related lookup fails | The address page can lose a conditional tab or card | Optional lookups handle errors as an absent feature instead of failing the main page |
| A raw account download is opened before its bytes are loaded | The user cannot download the account data yet | The download control fetches bytes on open, disables encoding choices while loading, and reports a load error in the menu |
| A refresh fails after usable account or token information is shown | The page can lose useful context or show a first-load error state | The address shell keeps the mounted account view and last usable token header during refresh |
| An address tab request fails | The tab shows an error instead of its data | The tab retry re-fetches failed requests, preserves stale or pending requests, and keeps the error out of Sentry |
Key files
| File | Why to read it |
|---|---|
| app/…/layout.tsx | Defines the address shell, account classification, conditional navigation, loading gates, and specialized views |
| app/…/AccountDataTab.tsx | Shows when a discovered Anchor IDL adds the Anchor Data navigation view |
| app/…/AnchorAccountCard.tsx | Shows how a public Anchor IDL turns raw account bytes into named account fields |
| app/…/sourced-idl.ts | Defines the distinction between Anchor and Codama IDLs and filters IDLs with account declarations |
| app/…/use-anchor-program.ts | Shows how a selected Anchor IDL becomes a usable program view |
| packages/…/inspect-entity-account-router.ts | Shows how account kinds map to account-specific payloads |
| packages/…/program-metadata.ts | Shows the readable account model for Program Metadata records and its safe decode fallback |
| packages/…/idl-clients.ts | Shows how program IDL discovery reports source, status, and non-blocking failure results |
| app/…/index.tsx | Defines the shared account model, cluster-backed reads, parsing, and account enrichment |
| app/…/tokens.tsx | Defines owner token holdings and the token data used by holdings and token history |
| app/…/use-account-query.ts | Shows the common account query contract used by account views |
| app/…/use-accounts-info.ts | Shows the batched raw-data model for related account reads |
| app/…/AccountHeader.tsx | Shows how account roles and token or NFT metadata become a readable header |
| app/…/UnknownAccountCard.tsx | Shows the safe general view and missing-account behavior |
| app/…/FeatureAccountSection.tsx | Shows feature identity, activation status, cluster epoch links, pending timing, and epoch-based refresh |
| app/…/FeatureGateCard.tsx | Shows the collapsible feature proposal surface on a feature account |
| app/…/FeatureGateMarkdown.tsx | Shows how feature proposals become safe, readable markdown with resolved links and tables |
| app/…/SysvarAccountSection.tsx | Shows how cluster runtime records become typed account summaries |
| app/…/UpgradeableLoaderAccountSection.tsx | Shows program, executable-data, deploy-buffer, authority, verification, and closed-program views |
| app/…/ProgramMultisigCard.tsx | Shows how a recognized upgrade authority becomes a Squads multisig summary |
| app/…/TokenAccountSection.tsx | Shows the main mint, token account, multisig, external asset links, and Token-2022 interpretation paths |
| app/…/TokenExtensionsCard.tsx | Shows the refresh-aware Token-2022 extension view and its token metadata context |
| app/…/OwnedTokensCard.tsx | Shows owner holdings, mint aggregation, metadata ordering, scaled amounts, and summary or detail views |
| app/…/TokenHistoryCard.tsx | Shows staged token-account history loading, mint filtering, transaction merging, and history loading limits |
| app/…/TokenTransfersCard.tsx | Shows mint-filtered transfer extraction, scaled amounts, refresh, and the token transfer activity table |
| app/…/MetaplexNFTAttributesCard.tsx | Shows external NFT attribute enrichment and its loading, validation, and retry states |
| app/…/CompressedNFTInfoCard.tsx | Shows compressed NFT tree, proof verification, canopy-adjusted proof size, and evidence badges |
| app/…/LookupTableEntriesCard.tsx | Shows how address lookup table state becomes an indexed address list |
| app/…/rewards.tsx | Shows the paged reward model for stake and vote exploration |
| app/…/RewardsCard.tsx | Shows how reward records become an epoch-based account view |
| app/…/AccountCard.tsx | Shows the shared account card, refresh state, raw-data loading, and account download action used by specialized account views |
| app/…/AccountDownloadDropdown.tsx | Shows the lazy raw-byte download action and its no-data guard |
| app/…/error.spec.tsx | Shows the address-tab retry contract for failed, stale, and in-flight requests |
| app/…/FeatureGateMarkdown.spec.tsx | Shows the safety and link-resolution contract for feature proposal content |
| app/…/OwnedTokensCard.spec.tsx | Shows the holdings aggregation, verification ordering, pagination, scaled amounts, and display-mode contract |