Shared types
Field tables generated fromopenapi.yaml (the contract wins for field names). Closed enum values are listed in
Concepts.
Position
Leg
LegContext
Coverage
ProtocolCoverage
Totals
WalletTokens
Returned astokens only with include=tokens (null otherwise, or for a snapshot stored before tokens existed). It covers the whole snapshot (identical on every page) and comes from the same scan: the wallet’s SPL Token and Token-2022 accounts plus one getBalance for native SOL. Its total, tokens_total, is separate from totals and never added to it.
tokens_total (null without valuation): total_value_usd (null unless every counted holding is priced and the scan and snapshot are complete and fresh; total_null_reasons from coverage_incomplete, unpriced_tokens, indicative_tokens, stale_tokens), known_value_usd (priced + indicative), valuation_status, per-status counts, counted_in_position_count, spam_suspected_count, note.