Releases: pinax-network/token-api
v3.16.6
v3.16.5
v3.16.5-pre1
- Add format and pattern to address and transaction schemas #488
Full Changelog: v3.16.4...v3.16.5-pre1
v3.16.4
v3.16.3
⚠️ Breaking change
protocol=meteora_dllm (legacy misspelling with double L) is no longer accepted — use protocol=meteora_dlmm instead. Responses also surface meteora_dlmm in the protocol field and the swap summary string.
PRs
- fix(svm): accept canonical
meteora_dlmmspelling on/v1/svm/swapsand/v1/svm/pools(#482, closes #481)
Full Changelog: v3.16.2...v3.16.3
v3.16.2
v3.16.1
v3.16.0
Release notes
v3.16.0 expands API coverage with new Polymarket and SVM native endpoints, splits the SVM database schema for better scale and metadata consistency, improves Solana data quality, and makes raw token amounts string-safe across chains.
⚠️ Breaking changes
- Raw amount fields are now strings on SVM endpoints.
amount,input_amount, andoutput_amountnow return as JSON strings instead of numbers on/v1/svm/swaps,/v1/svm/transfers,/v1/svm/transfers/native,/v1/svm/holders, and/v1/svm/holders/native. Derived numeric fields (value,input_value,output_value) stay numeric. - Missing metadata returns
null. EVM and SVM balance, transfer, and holder endpoints now returnnullforname,symbol,uri, etc. when metadata is absent, instead of empty strings.
New endpoints
- Polymarket:
/v1/polymarket/markets,/v1/polymarket/markets/ohlc,/v1/polymarket/markets/oi,/v1/polymarket/markets/activity,/v1/polymarket/markets/positions,/v1/polymarket/platform,/v1/polymarket/users,/v1/polymarket/users/positions. (#463) - SVM native:
/v1/svm/tokens/native,/v1/svm/transfers/native,/v1/svm/holders/native. Native SOL is now a first-class endpoint surface, not a special case of the SPL routes.
Expanded SVM DEX coverage
/v1/svm/swaps and /v1/svm/dexes now recognize a much broader DEX set:
- Raydium:
raydium_amm_v4,raydium_clmm,raydium_cpmm,raydium_launchpad - Pump.fun:
pumpfun,pumpfun_amm - Orca:
orca_whirlpool - Meteora:
meteora_dlmm - Other AMMs:
boop,darklake,dumpfun - Aggregators (swaps endpoint only):
jupiter_v4,jupiter_v6
SVM database split
The Solana substreams pipeline was split into dedicated databases for metadata, balances, and contracts. Token API routes were rewired to query the new split schemas with the appropriate JOINs for token resolution. (#464, #462)
New SVM swap fields
/v1/svm/swaps now exposes additional execution context to make debugging and tracing easier:
stack_heightfeecompute_units_consumedfee_payersigner
Solana data quality improvements
- Better mint and token-account resolution across swaps, balances, transfers, holders, and OHLCV queries — handles cases where upstream records carry token accounts rather than canonical mints. (#467, #465)
- SVM balances now pull metadata from the refreshable metadata MV for faster, more consistent lookups. (#472, #474)
- SVM balances now query
balances_by_accountwith a dedicated(account, mint)ORDER BY for per-account balance queries. (#473) - SVM holders queries optimized to avoid row-by-row ownership lookups on the split schema. (#465, #468, #470)
Miscellaneous fixes
- Native contract redirect middleware now uses relative paths, avoiding an
http://scheme leak behind the reverse proxy. (#471) - OpenAPI spec no longer carries null default values on optional params. (#466)
authorityfield handling on SVM swaps corrected. (#477)- SVM dexes route migrated to
state_pools_aggregating_by_pool. (#467)
Included PRs
- #477 — Fix authority field handling on SVM swaps
- #476 — Query
state_user_positiondirectly for Polymarket user positions - #475 — Replace string literal handling on affected SQL paths
- #474 — Update token metadata flow for split SVM schema
- #473 — Use
balances_by_accountMV for SVM balance lookups - #472 — Pull SVM balances metadata from the refreshable MV
- #471 — Use relative path in native contract redirect
- #470 — Optimize SVM holders queries
- #468 — Update EVM/SVM holders queries for split schema
- #467 — Migrate SVM dexes route to
state_pools_aggregating_by_pool - #466 — Strip null defaults from OpenAPI spec for optional params
- #465 — Optimize SVM holders query for split database schema
- #464 — SVM database schema split
- #463 — Add Polymarket prediction market endpoints
- #462 — Generic database config parsing with Polymarket support
Full Changelog: v3.15.1...v3.16.0