Skip to content

Releases: pinax-network/token-api

v3.16.6

28 Apr 20:25
81ab0c8

Choose a tag to compare

PRs

  • fix(polymarket): read state_user with FINAL #490

Full Changelog: v3.16.5...v3.16.6

v3.16.5

23 Apr 13:52
e151626

Choose a tag to compare

  • Add format and pattern to address and transaction schemas #488

Full Changelog: v3.16.4...v3.16.5

v3.16.5-pre1

22 Apr 14:13
0d2ea37

Choose a tag to compare

v3.16.5-pre1 Pre-release
Pre-release
  • Add format and pattern to address and transaction schemas #488

Full Changelog: v3.16.4...v3.16.5-pre1

v3.16.4

21 Apr 16:14
a1defaf

Choose a tag to compare

  • Refresh `skills.md` for v3.16.x endpoints and structure #485
  • List `/dexes` endpoints as free/unauthenticated in `skills.md` a1defaf

Full Changelog: v3.16.3...v3.16.4

v3.16.3

17 Apr 21:37
d9c528d

Choose a tag to compare

⚠️ 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_dlmm spelling on /v1/svm/swaps and /v1/svm/pools (#482, closes #481)

Full Changelog: v3.16.2...v3.16.3

v3.16.2

16 Apr 18:14
58627c3

Choose a tag to compare

  • fix(polymarket): mark /v1/polymarket/markets as unauthenticated in OpenAPI spec (#480)

Full Changelog: v3.16.1...v3.16.2

v3.16.1

16 Apr 17:23
a8d6ad5

Choose a tag to compare

  • fix(svm): redirect native SOL placeholder mint (So1..111) to /native endpoint on /v1/svm/transfers, /v1/svm/balances, /v1/svm/holders (#478)

Full Changelog: v3.16.0...v3.16.1

v3.16.0

16 Apr 16:34
826f592

Choose a tag to compare

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, and output_amount now 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 return null for name, 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_height
  • fee
  • compute_units_consumed
  • fee_payer
  • signer

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_account with 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)
  • authority field 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_position directly 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_account MV 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

v3.16.0-pre9

16 Apr 15:18

Choose a tag to compare

v3.16.0-pre9 Pre-release
Pre-release

What's Changed

  • perf(polymarket): query state table directly for user positions by @0237h in #476
  • fix toString syntax

Full Changelog: v3.16.0-pre8...v3.16.0-pre9

v3.16.0-pre8

16 Apr 14:05
683d041

Choose a tag to compare

v3.16.0-pre8 Pre-release
Pre-release

What's Changed

Full Changelog: v3.16.0-pre7...v3.16.0-pre8