Birdeye x402 Multichain 31.12 Historical Pricing
Direct Answer: CryptoTax2Go retrieves exact December 31 23:59:59 UTC token prices across Solana, Ethereum, Base, Arbitrum, and BNB Chain by routing Solana mints to Birdeye's /x402/defi/historical_price_unix endpoint and EVM token contracts to /x402/defi/history_price with a 3-day candle window selecting the closest timestamp to 31.12.
How does multichain Birdeye endpoint routing work across chains?
| Asset Suffix | x-chain Header | Birdeye Endpoint |
|---|---|---|
| _solana | solana | /x402/defi/historical_price_unix?address={addr}&unixtime={ts} |
| _ethereum | ethereum | /x402/defi/history_price?address={addr}&type=1D&time_from=... |
| _base | base | /x402/defi/history_price?address={addr}&type=1D&time_from=... |
| _arbitrum | arbitrum | /x402/defi/history_price?address={addr}&type=1D&time_from=... |
| _bsc | bsc | /x402/defi/history_price?address={addr}&type=1D&time_from=... |
Which December 31 Unix timestamps and USD/EUR FX rates are applied?
Tax authorities and German HGB auditors require a deterministic, reproducible year-end cutoff rather than floating intraday prices. CryptoTax2Go anchors every multichain mark-to-market lookup to December 31 at 23:59:59 UTC and converts USD token quotes to EUR using the official year-end USD/EUR reference rate (Price_EUR = Price_USD / FX_Rate[year]).
| Tax Year | 31.12 23:59:59 UTC Unix Timestamp | Official Year-End USD/EUR Rate |
|---|---|---|
| 2023 | 1704067199 | 1.10353 USD / EUR |
| 2024 | 1735689599 | 1.03486 USD / EUR |
| 2025 | 1767225599 | 1.17320 USD / EUR |
How does automatic contract-address sanitization and dead-token recovery work?
On-chain CSV exports from trading bots, Solscan, and block explorers frequently contain messy contract identifiers—such as missing 0x prefixes, uppercase 0X, 32-byte ABI zero-padding, chain prefixes (eip155:8453:0x...), composite labels (WIF (EKpQ...)), or full Explorer URLs. Before hitting any pricing endpoint, CryptoTax2Go repairs each contract address, batches up to 30 tokens per request through DexScreener v1 and GeckoTerminal multi to recover names and symbols for unlisted or rugged tokens, and flags unrecoverable Excel scientific-notation corruption (6.98E+47) with an explicit warning.
What is the valuation fallback hierarchy and how are fake USDT/BTC spam tokens blocked?
Memecoin trenches on Solana, Base, and BSC regularly contain spam airdrops and Pump.fun launches whose ticker symbol is literally USDT, USDC, SOL, or BTC with 1B+ token supply and a completely different mint address. Grouping by ticker alone or applying a blind $1.00 stablecoin fallback can invent millions in phantom portfolio value. CryptoTax2Go enforces a strict four-tier resolution pipeline:
- Tier 1 — Verified Contract Birdeye 31.12 Quote: Direct historical lookup by sanitized contract address and chain header at 31.12 23:59:59 UTC.
- Tier 2 — Contract-Verified Stablecoin Peg ($1.00): Applied strictly when a token matches an official stablecoin contract (e.g.,
Es9vMFrz...on Solana or0xdac17f...on Ethereum), or on CEX CSV rows that carry no contract column. - Tier 3 — Non-Dust Ledger Fallback: If an illiquid DEX token has no Birdeye candle, CryptoTax2Go uses the last meaningful on-chain swap (filtering out sub-$10 dust/corrupted swaps) and never falls back to a symbol-only major-coin price when an unverified contract address is present.
- Tier 4 — Explicit Valuation Source Audit Column: Every open lot displays its exact
valuationSourcein the UI and Excel workbook so accountants can inspect every quote and sort by both largest write-down and highest 31.12 value.
How do x402 Solana SVM micropayments and retry guarantees work?
When SOLANA_PRIVATE_KEY is configured on the server, CryptoTax2Go signs pay-per-request USDC proofs via @x402/svm/exact/client, attaches a unique payment-identifier UUID extension inside the base64 PAYMENT-SIGNATURE header, automatically retries transient HTTP 402 blockhash hiccups up to 5 times, and exports every fetched quote in birdeye_ye_prices.csv and your per-year multi-sheet .xlsx report.
Primary technical references: Birdeye Data Services API Documentation · European Central Bank Euro Reference Exchange Rates
Frequently Asked Questions
How does CryptoTax2Go price unlisted Solana or Base memecoins on December 31?
CryptoTax2Go first sanitizes malformed contract addresses (fixing missing 0x prefixes, ABI zero-padding, or Explorer URLs), resolves human-readable token names via DexScreener and GeckoTerminal batch endpoints, and queries Birdeye's historical_price_unix (Solana) or 1D history_price (EVM) at 31.12 23:59:59 UTC.
What happens if a CSV has a fake or scam token named USDT or BTC?
CryptoTax2Go validates stablecoin and major-asset identities strictly against verified official contract addresses whenever a contract address is present—preventing spam airdrops or Pump.fun memecoins sharing a ticker symbol from inheriting $1.00 or $93,000 valuations.