Skip to main content

Data Services Section — Progress

Status: Complete (Re-validated)

Packages

PackageREADMEDoc PageStatus
Nethereum.DataServicesCreated from scratchAuto-generatedDone
Nethereum.Sourcify.DatabaseCreated from scratchAuto-generatedDone
Nethereum.TokenServicesFixed hallucinations + added CatalogAuto-generated (moved from data-and-indexing)Done

Guides

GuideStatus
guide-abi-retrieval.mdDone — composite ABI lookup, Sourcify V2, 4Byte, EVM trace decoding, local Sourcify DB
guide-token-portfolio.mdDone — balances, prices, discovery strategies, events, multi-account, catalog, DI
guide-chainlist-rpc.mdNEW — Chainlist API: chain discovery, RPC endpoints, native currencies, explorers, filtering
guide-etherscan-api.mdNEW — Etherscan V2: gas oracle, account transactions/balances, token transfers, contract data, Parquet exports
guide-coingecko-api.mdNEW — CoinGecko: asset platforms, token lists, prices by contract/ID, cache configuration

Removed

GuideReason
guide-chain-metadata.mdDELETED — replaced by 3 focused guides (chainlist-rpc, etherscan-api, coingecko-api)

Infrastructure

ItemStatus
DocSection.DataServices enum valueAdded
sync-readmes.js mapping → data-servicesUpdated (3 packages)
Sidebar with Guides + Package ReferenceUpdated (5 guides)
Overview with use-case table + learning pathUpdated (5 guides, 14 use cases)
Old manual nethereum-dataservices.mdDeleted (replaced by auto-generated)
Old data-and-indexing tokenservices refRemoved from sidebar

Plugin Skills

SkillStatus
abi-retrievalCreated (existing)
token-portfolioCreated (existing)
chainlist-rpcNEW — chain/RPC discovery
etherscan-apiNEW — gas oracle, accounts, contracts
coingecko-apiNEW — pricing, token lists, platforms

Test Tagging

Test FileTags AddedUse Case
EtherscanApiServiceTests.cs4abi-retrieval (2), etherscan-api (2)
SourcifyApiServiceTests.cs9abi-retrieval (8), etherscan-api (1 — Parquet)
FourByteDirectoryServiceTests.cs2abi-retrieval (2)
ChainlistRpcApiServiceTests.cs2chainlist-rpc (2)
Erc20TokenServiceTests.cs4token-portfolio (4)
PricingTests.cs2token-portfolio (2)
TokenCatalogTests.cs2token-portfolio (2)
TokenEventScannerTests.cs1token-portfolio (1)
Total26

Fixes Applied

  • TokenServices README Scenario 2: RefreshBalancesFromEventsAsync returns List<TokenBalance>, NOT a result object with .Success/.UpdatedBalances/.NewTokensFound/.ToBlock (all were hallucinated)
  • TokenServices README: Added entire Token Catalog subsystem documentation (ITokenCatalogRefreshService, ITokenCatalogRepository, CatalogTokenInfo, CatalogTokenListProviderAdapter, TokenCatalogMigrationService, TokenCatalogServiceCollectionExtensions)
  • DataServices README: Created from scratch with verified APIs (previous manual doc had wrong ABIInfoStorageFactory.CreateDefault(cache) signature)
  • Re-validation: Split chain-metadata guide into 3 focused guides grounded in actual API surface and test coverage

Guide Quality Validation

All 5 guides written as teaching guides (not code dumps). Validated against Guide Quality Checklist:

CheckABI RetrievalToken PortfolioChainlist RPCEtherscan APICoinGecko API
Opening context (WHY/WHEN)PASSPASSPASSPASSPASS
Mental modelPASSPASSPASSPASSPASS
Guiding text before/after every code blockPASSPASSPASSPASSPASS
Progressive examplesPASSPASSPASSPASSPASS
Decision guidancePASSPASSPASSPASSPASS
Common gotchasPASS (6)PASS (6)PASS (5)PASS (6)PASS (6)
Backward connectionsPASSPASSPASSPASSPASS
Forward connections (Next Steps)PASSPASSPASSPASSPASS
No orphan conceptsPASSPASSPASSPASSPASS

Verification Checklist

  • All code examples verified against actual source code and test methods
  • sync-readmes.js generates 3 pages in data-services/
  • npm run build passes with zero broken links in data-services section
  • Learning journey validated: overview → abi-retrieval → token-portfolio → chainlist-rpc → etherscan-api → coingecko-api
  • Backward/forward connections between all 5 guides
  • DocSection.DataServices added with slug "data-services"
  • 26 integration tests tagged with [NethereumDocExample(DocSection.DataServices, ...)]
  • Both test project csproj files updated with Nethereum.Documentation reference
  • Plugin skills created (5 total: abi-retrieval, token-portfolio, chainlist-rpc, etherscan-api, coingecko-api)
  • Overview anchor links verified
  • component-catalog.md and index.tsx links updated from data-and-indexing to data-services
  • Each guide has its own dedicated API coverage — no artificial bundling