Assets, tokens, and staking interpretation
The asset view turns a Solana address into a readable record of digital assets and network roles. It joins on-chain account state with token metadata, market data, verification signals, and indexed data when available. This page extends account exploration with asset meaning, while account details and account sharing cover nearby account views.
Asset identity
The address view starts with the account kind and then adds the data that gives that kind meaning. This order keeps outside labels and market signals tied to the correct on-chain object.
flowchart TD
A[Address data] --> B{Account or asset kind}
B --> C[Token mint or holding]
B --> D[NFT or NFToken]
B --> E[Stake account]
B --> F[Vote account]
B --> G[Compressed NFT]
C --> H[Metadata, market, and verification context]
D --> I[Collection and creator context]
E --> J[Delegation and reward context]
F --> K[Vote and validator context]
G --> L[Asset metadata and proof]
References: app/…/layout.tsx• L292-369 app/…/AccountHeader.tsx• L28-101
Token mints
A token mint describes a token supply and its control points. The view distinguishes fungible and non-fungible mints and can show decimals, authorities, metadata, and Token-2022 features.
References: app/…/TokenAccountSection.tsx• L83-129 app/…/TokenAccountSection.tsx• L132-250 app/…/TokenAccountSection.tsx• L527-562
Token accounts
A token account records one holder's balance for one mint. The account view connects the holding to its mint and owner, then shows its state, balance, delegation, and rent data when available. Native SOL remains a native balance rather than a normal token-account balance.
References: app/…/TokenAccountSection.tsx• L362-481
Token holdings
The holdings view gives an address-level summary across the original token program and Token-2022. It groups multiple token accounts by mint, enriches visible rows with names, symbols, and logos, and keeps balances grounded in account data.
The summary view shows one row per mint. The detailed view also shows the token account address. Holdings are ordered by verification tier when token information is available, while rows within one tier keep their source order. The view loads the first page of distinct mints and adds more rows without moving the rows already shown.
References: app/…/page.tsx• L22-29 app/…/tokens.tsx• L48-95 app/…/OwnedTokensCard.tsx• L74-163 app/…/OwnedTokensCard.spec.tsx• L137-170 app/…/OwnedTokensCard.spec.tsx• L230-325
Token amount interpretation
Token amounts have a raw chain value and a display value shaped by decimals. Token-2022 scaled amounts can apply an extra multiplier, so the view keeps the pre-scaled value available as context instead of treating the display value as the stored value.
Transaction views can also show checked token instruction amounts when the instruction includes an amount and decimals. This works for both supported token programs without requiring a separate mint read.
References: app/…/OwnedTokensCard.tsx• L193-224 app/…/OwnedTokensCard.tsx• L124-131 app/…/tokens.tsx• L122-145 packages/…/token-ui-amount.ts• L1-46
Token instruction details
Token instruction cards turn parsed or raw token actions into readable transaction fields. They keep account roles separate from instruction arguments and show optional authorities or Token-2022 settings only when the action provides them. Unknown actions remain unknown instead of receiving an invented meaning.
References: app/…/TokenDetailsCard.tsx• L35-115 app/…/TokenDetailsCard.tsx• L162-220 app/…/TokenDetailsCard.spec.tsx• L74-141 app/…/TokenDetailsCard.spec.tsx• L186-298
NFT identity and metadata
An NFT view joins the mint with Metaplex metadata and its off-chain JSON. This gives the reader one asset view that connects ownership with the asset's name, image, traits, collection, and creator context.
References: app/…/fetch-nft-data.ts• L12-30 app/…/MetaplexNFTHeader.tsx• L22-69 app/…/TokenAccountSection.tsx• L254-356
NFT collection and creator signals
Collection verification and creator verification describe different relationships. The collection signal comes from the NFT's on-chain collection link. Creator marks and royalty shares come from the metadata creators and their stated split.
References: app/…/MetaplexNFTHeader.tsx• L72-127 app/…/MetaplexNFTHeader.tsx• L130-181 app/…/MetaplexNFTAttributesCard.tsx• L17-29
NFT metadata attributes
The attributes view reads the metadata URI and keeps well-formed trait and value pairs. It uses the same trait view for regular and compressed NFTs when the needed JSON data exists.
References: app/…/MetaplexNFTAttributesCard.tsx• L17-29 app/…/MetaplexNFTAttributesCard.tsx• L31-100
NFToken assets
NFToken accounts are a separate digital-asset form with explicit authority, holder, delegation, and collection relationships. The account view decodes the account before it selects an NFT or collection view, so undecodable data stays in the unknown-account view.
References: app/…/NftokenAccountSection.tsx• L16-55
NFToken collections
An NFToken collection view shows its authority and the NFT accounts found for that collection. It lists decoded accounts and loads metadata for visible tiles so a large collection does not need all metadata at once.
The collection keeps decoded NFTs separate from accounts that could not be decoded. It reports both outcomes and keeps the last usable collection visible if a later refresh fails.
References: app/…/NftokenAccountSection.tsx• L58-92 app/…/NftokenCollectionGrid.tsx• L17-54 app/…/use-collection-nfts.ts• L12-30
Market data
Market data adds a current trading view to a recognized token mint. On mainnet, the view can show price, change, and market-cap measures. Missing or unsupported data stays absent rather than becoming a false zero.
References: app/…/use-token-market-data.ts• L13-29 app/…/TokenMarketData.tsx• L11-53 app/…/MarketData.tsx• L20-107
Verification badges
The verification badge compares a token address with CoinGecko, Jupiter, Solflare, and RugCheck. It reports source findings and risk signals. It does not make a general claim that a token is safe.
Each source keeps these outcomes separate:
- The source verified the token.
- The source found the token but did not verify it.
- The source could not answer because it was rate limited.
- The source has no result but can offer a verification link.
RugCheck also maps its score to Good, Warning, or Danger. CoinGecko uses its coin page when it has a coin identifier. Otherwise, it links to the token page on GeckoTerminal.
References: app/…/types.ts• L9-31 app/…/use-verification-sources.ts• L6-78 app/…/TokenVerificationContent.tsx• L81-152
Stake accounts
Stake data explains how SOL supports network participation. The stake view connects the account balance with its authorities, lockup, delegation target, activation state, and rewards. It separates delegated stake from the amount that is active now.
The view also distinguishes delegated, initialized, rewards-pool, and uninitialized accounts. A lockup warning shows when the stake cannot yet be withdrawn. A USD value may appear when the selected network has a current SOL price.
References: app/…/StakeAccountSection.tsx• L36-80 app/…/StakeAccountSection.tsx• L83-149 app/…/StakeAccountSection.tsx• L233-248
Stake rewards
The delegation view can show a lifetime inflation-reward total from an indexed source. It keeps a missing or unsupported result separate from a real zero, and it only shows the row when the deployment and cluster support the source.
References: app/…/use-total-reward.ts• L17-38 app/…/use-total-reward.ts• L51-99 app/…/StakeAccountSection.tsx• L236-289
Network staking summary
The network summary compares active stake with total supply to show the share of SOL supporting the network. It also shows the share of active stake held by delinquent validators. Delinquent stake remains part of active stake and is shown as a separate part of that total.
The comparison uses supply data and confirmed vote-account data for the selected cluster and endpoint. It waits for the supply denominator before showing the result, and it keeps usable figures when a later refresh fails.
flowchart LR
A[Cluster and RPC endpoint] --> B[Supply data]
A --> C[Vote-account data]
B --> D[Total supply]
C --> E[Active and delinquent stake]
D --> F[Network staking summary]
E --> F
References: app/…/StakingSection.tsx• L13-99 app/…/vote-accounts.ts• L29-100
Stake lifecycle
Delegated stake moves through inactive, activating, active, and deactivating states. The displayed active and inactive amounts use the current epoch and stake-history data, so the view can explain both the state and its transition epochs.
References: app/…/stake-activation.ts• L23-29 app/…/stake-activation.ts• L64-103 app/…/StakeAccountSection.tsx• L84-93
Stake authorities
Stake authority controls stake changes, while withdrawal authority controls withdrawal. A lockup authority appears only when a lockup is active. These roles are separate from the vote account that receives the delegation.
References: app/…/StakeAccountSection.tsx• L193-201 app/…/StakeAccountSection.tsx• L233-248
Stake instruction details
Stake instructions are shown as validator actions rather than raw bytes. The transaction view covers setup, delegation, authority and lockup changes, movement, withdrawal, deactivation, merging, and minimum-delegation lookup.
Parsed and raw paths preserve the fields carried by each action. Amounts appear as SOL when the instruction carries lamports. Unknown or unsupported actions remain in an unknown or unsupported view instead of being assigned a meaning that the data does not support.
References: app/…/StakeDetailsCard.tsx• L43-116 app/…/RawStakeDetailsCard.tsx• L15-35 app/…/StakeInstructionCards.spec.tsx• L51-455
Vote accounts
A vote account represents a validator's voting record and reward rules. The view connects authorized voters and the withdrawer with commission, reward collectors, timestamps, root slot, pending delegator rewards, and vote history.
Newer validator data can add a compressed BLS voter key and separate inflation-reward and block-revenue commission and collector values. Optional fields stay absent when the account does not provide them. Vote history shows voted slots and confirmation counts. It describes validator activity rather than a stake balance.
References: app/…/VoteAccountSection.tsx• L14-71 app/…/vote-accounts.ts• L77-100 app/…/VotesCard.tsx• L8-47
Vote instruction details
Vote instructions are shown as validator actions. The transaction view covers account setup, authority changes, votes, vote-state updates, tower sync, commission changes, reward deposits, validator identity changes, and withdrawals.
Shared vote-state fields make hashes, block identifiers, root slots, timestamps, and confirmation counts readable across related actions. Switch variants add a proof hash. Authority actions can include BLS voter data and proof of possession. Unknown action types remain unknown.
References: app/…/VoteDetailsCard.tsx• L44-130 app/…/VoteInstructionCards.spec.tsx• L70-476 app/…/vote-state-fields.ts• L1-120
Compressed NFTs
A compressed NFT stores ownership and metadata through a compressed ledger record rather than a normal account for each asset. The address view uses indexed digital-asset data to show ownership, collection, update authority, external site, and seller fee.
The view marks compression only when the indexed record says the asset is compressed. A record without a usable owner does not become a complete compressed-NFT overview.
References: app/…/compressed-nft.tsx• L17-47 app/…/compressed-nft.tsx• L97-168 app/…/CompressedNftCard.tsx• L23-76 app/…/CompressedNftCard.tsx• L94-158
Compression proofs
The compression view explains how an asset is anchored in a concurrent Merkle tree. It checks the asset proof against the current tree root and shows the tree, leaf, hashes, update sequence, and proof size. A failed check means the current asset claim cannot be confirmed.
References: app/…/CompressedNFTInfoCard.tsx• L21-29 app/…/CompressedNFTInfoCard.tsx• L32-113 app/…/CompressedNFTInfoCard.tsx• L116-151
Compressed NFT metadata
Compressed NFT metadata can provide images and traits through its JSON URI. When a regular NFT does not provide the expected metadata path, the attributes view can use the compressed asset URI while keeping the two asset forms distinct.
References: app/…/CompressedNftCard.tsx• L92-128 app/…/MetaplexNFTAttributesCard.tsx• L17-28
Change checklist
When these files or sections are changed, remember to consider these:
- Keep the account-kind selection aligned with the matching headers and detail cards. A new asset kind must not fall into the wrong generic or compressed-NFT view.
- Keep token holdings aligned across the account-token provider and holdings card. Preserve support for both token programs.
- Keep mint aggregation, verification ordering, pagination, and summary/detail display aligned. A change in one contract can alter which holdings appear first or which account address users see.
- Keep raw amounts, decimals, and scaled UI multipliers aligned. Summary holdings and token-account details must not show conflicting values.
- Keep verification source states distinct. A negative result is not the same as no result or rate limiting.
- Keep compressed-asset identity and proof data tied to the same asset and tree state.
- Keep stake activation tied to the current epoch and stake history. Active, inactive, and lifecycle labels must change together.
- Keep network stake totals aligned with the supply denominator and vote-account response. Delinquent stake belongs inside active stake.
- Keep vote and stake instruction fields tied to their decoded action types. Optional authority, commission, lockup, BLS, and proof fields must not move under another action.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| Token lookup is loading or fails | Holdings appear delayed or incomplete | Hold the loading state and show a retryable error instead of presenting partial data as complete. app/…/OwnedTokensCard.tsx• L54-69, app/…/OwnedTokensCard.spec.tsx• L182-189 |
| Token metadata is unavailable | A holding remains visible without its symbol or logo | Render the holding from account data and treat metadata as enrichment. app/…/OwnedTokensCard.spec.tsx• L172-180 |
| Multiple accounts hold one mint | A raw account count can look like multiple holdings | Aggregate by mint and sum both display and raw amounts. app/…/OwnedTokensCard.tsx• L193-224, app/…/OwnedTokensCard.spec.tsx• L206-227 |
| Verification lookup is incomplete | Rows can appear in an order that changes after data arrives | Wait for the lookup before painting the ordered list, then preserve order within each tier. app/…/OwnedTokensCard.tsx• L81-100, app/…/OwnedTokensCard.spec.tsx• L249-279 |
| A checked token amount has invalid amount or decimal data | The transaction cannot show a safe human-readable amount | Keep the raw value and accept only valid supported-program input. packages/…/token-ui-amount.ts• L7-23 |
| Market data is unavailable or used off mainnet | The market area could show a false price or zero | Render market tiles only after a valid supported response. app/…/use-token-market-data.ts• L19-21, app/…/TokenMarketData.tsx• L40-53 |
| A verification source is rate limited | The source cannot give a current answer | Show rate limited rather than unverified. app/…/TokenVerificationContent.tsx• L127-139 |
| NFToken data does not decode | The account cannot safely be called an NFT or collection | Use the unknown-account view and keep undecodable collection members separate. app/…/NftokenAccountSection.tsx• L16-27, app/…/BaseNftokenCollectionGrid.tsx• L45-49 |
| Stake history or epoch data is unavailable | Activation and active amounts cannot be trusted | Fail the activation calculation instead of fabricating a lifecycle state. app/…/stake-activation.ts• L68-83 |
| Lifetime rewards are disabled, unsupported, or unavailable | The reward row could look like a false zero | Keep feature, cluster, request, and ready states separate. app/…/use-total-reward.ts• L66-99 |
| Supply or vote-account data fails | The network stake-to-supply comparison is invalid | Keep the summary hidden or in an error state and allow retry where supported. app/…/StakingSection.tsx• L19-44, app/…/vote-accounts.ts• L57-75 |
| An indexed asset has no usable owner | The compressed-NFT overview would be incomplete | Use the unknown-account view. app/…/CompressedNftCard.tsx• L23-29 |
| A compressed proof does not match the current root | The asset's ledger claim cannot be confirmed | Mark the proof unverified and show the tree and root used for the check. app/…/CompressedNFTInfoCard.tsx• L48-79 |
| A stake or vote instruction is unknown | The transaction could show a false action | Route it to the unknown instruction presentation. app/…/classify-raw-stake-instruction.ts• L12-38, app/…/VoteDetailsCard.tsx• L124-130 |
Key files
| File | Why to read it |
|---|---|
| app/…/layout.tsx | Shows how account data selects the main asset view. |
| app/…/AccountHeader.tsx | Shows how account and asset identity appears at the top of an address page. |
| app/…/OwnedTokensCard.tsx | Shows holdings aggregation, verification ordering, pagination, and summary/detail display. |
| app/…/OwnedTokensCard.spec.tsx | States the holdings behavior for enrichment, scaling, ordering, pagination, and display modes. |
| app/…/TokenAccountSection.tsx | Shows how mint, token-account, and NFT data become account details. |
| app/…/fetch-nft-data.ts | Shows the boundary between on-chain NFT data and off-chain metadata. |
| app/…/use-token-market-data.ts | Defines when market data is supported and how unavailable data is represented. |
| app/…/use-verification-sources.ts | Defines source-level verification outcomes and links. |
| app/…/StakeAccountSection.tsx | Shows the user-facing stake balance, lifecycle, reward, and authority model. |
| app/…/stake-activation.ts | Shows how epoch and stake history shape the lifecycle view. |
| app/…/StakingSection.tsx | Shows the network-level supply and active-stake comparison. |
| app/…/VoteAccountSection.tsx | Shows the validator vote-account and reward model. |
| app/…/VoteDetailsCard.tsx | Shows how vote actions reach transaction views. |
| app/…/CompressedNftCard.tsx | Shows compressed-NFT identity, ownership, and metadata context. |
| app/…/CompressedNFTInfoCard.tsx | Shows how compressed proofs and Merkle-tree state are interpreted. |