Skip to content

Releases: pinax-network/pinax-api-sdk

v0.4.0

Choose a tag to compare

@DenisCarriere DenisCarriere released this 19 Jun 15:10
ec0444f

Hyperliquid HIP-4 Outcome endpoints

Adds six new hyperliquid methods covering HIP-4 outcome markets, plus regenerated OpenAPI types.

  • getOutcomes/v1/hyperliquid/outcomes
  • getOutcomeOHLC/v1/hyperliquid/outcomes/ohlc
  • getOutcomeTrades/v1/hyperliquid/outcomes/trades
  • getOutcomeUsers/v1/hyperliquid/outcomes/users
  • getOutcomeUserActivity/v1/hyperliquid/outcomes/users/activity
  • getOutcomeUserPositions/v1/hyperliquid/outcomes/users/positions

🤖 Generated with Claude Code

v0.3.1

Choose a tag to compare

@DenisCarriere DenisCarriere released this 27 May 19:09
b21dd68

Changes

  • Regenerate OpenAPI types — adds hyperevm network to EVM endpoints

Full Changelog: v0.3.0...v0.3.1

v0.3.0

Choose a tag to compare

@DenisCarriere DenisCarriere released this 27 May 18:06
aa98165

Changes

  • Rename package to @pinax/api (#56)
  • Update repo URL to pinax-api-sdk (#57)

Full Changelog: v0.2.12...v0.3.0

v0.2.12

Choose a tag to compare

@DenisCarriere DenisCarriere released this 26 May 18:32
601c28f

Release notes

This patch release packages the most recent SDK updates since v0.2.11.

Included changes

  • Updated the generated OpenAPI spec to the latest version
  • Renamed the default API base URL to api.pinax.network
  • Synced SDK tests and types with the refreshed spec

Commit highlights

  • 601c28f update openapi
  • 0e417dd rename default base URL to api.pinax.network

Full Changelog: v0.2.11...v0.2.12

v0.2.11

Choose a tag to compare

@DenisCarriere DenisCarriere released this 14 May 13:43
f2de2aa

OpenAPI changes since v0.2.10

New Solana DEX protocols

  • Added spl_token_swap and okx_dex to Solana swap/pool protocol enums.

Solana pools

  • Added input_decimals and output_decimals fields to pool responses.

EVM balances & transfers

  • Added is_contract: boolean to EVM balance and historical-balance responses.
  • Clarified value field across responses: decimal-scaled token amount (amount / 10^decimals), not a USD value.

Breaking

  • EVM native transfers amount field changed from number to string (matches token-transfer typing).

Hyperliquid — array filter support

Endpoints now accept comma-separated arrays (string | string[]) for these filters:

  • coin, dex, base_token, quote_token (markets)
  • user (markets/activity, users, user positions)
  • liquidated_user (liquidations)
  • vault (vaults, vault depositors)

Polymarket

  • Array filter support for: condition_id, market_slug, token_id, event_slug, user.
  • New fields on market/user stats: total_refunds, net_fees, effective_fee_rate_gross.

Full Changelog: v0.2.10...v0.2.11

v0.2.10

Choose a tag to compare

@DenisCarriere DenisCarriere released this 08 May 15:00
17a65bf
  • remove unique_users from HyperLiquid endpoint

Full Changelog: v0.2.9...v0.2.10

v0.2.9

Choose a tag to compare

@DenisCarriere DenisCarriere released this 07 May 12:24
40ae2b2

Release notes

This patch release syncs the SDK with the latest staging OpenAPI spec, adds first-class HyperLiquid route support, and includes the latest SVM enum updates.

New HyperLiquid endpoints

  • Added /v1/hyperliquid/dexes
  • Added /v1/hyperliquid/markets
  • Added /v1/hyperliquid/markets/ohlc
  • Added /v1/hyperliquid/markets/oi
  • Added /v1/hyperliquid/markets/activity
  • Added /v1/hyperliquid/markets/liquidations
  • Added /v1/hyperliquid/markets/liquidations/ohlc
  • Added /v1/hyperliquid/users
  • Added /v1/hyperliquid/users/positions
  • Added /v1/hyperliquid/users/activity
  • Added /v1/hyperliquid/vaults
  • Added /v1/hyperliquid/vaults/depositors
  • Added /v1/hyperliquid/platform

SDK updates

  • Added client.hyperliquid.* wrapper methods for the full HyperLiquid route set
  • Added HyperLiquid response type exports for common entry points
  • Regenerated src/openapi.d.ts from the staging OpenAPI endpoint
  • Bumped package.json to 0.2.9

SVM enum updates

  • Synced SVM DEX protocol enums with the latest spec
  • Included the latest Meteora enum updates (meteora_daam, meteora_dlmm, meteora_amm)
  • Included new supported SVM protocol values such as byreal, moonshot, and pancakeswap

Validation

  • bun run typecheck
  • bun test --coverage
  • src/index.ts remains at 100% line and function coverage

Full Changelog: v0.2.8...v0.2.9

v0.2.8

Choose a tag to compare

@0237h 0237h released this 17 Apr 21:56
f486f57

⚠️ Breaking change

The SVM protocol enum value meteora_dllm (legacy misspelling with double L) has been renamed to the canonical meteora_dlmm — matching Meteora's product name, DLMM (Dynamic Liquidity Market Maker). Consumers passing meteora_dllm must switch to meteora_dlmm.

PRs

  • fix: rename SVM protocol enum meteora_dllmmeteora_dlmm — regenerated src/openapi.d.ts from Token API v3.16.3 and updated the manually-maintained SvmDexProtocol union to match.

Full Changelog: v0.2.7...v0.2.8

v0.2.7

Choose a tag to compare

@DenisCarriere DenisCarriere released this 16 Apr 16:33

Release notes

This patch release adds the latest SVM native token metadata endpoint and keeps the SDK aligned with the current OpenAPI spec.

New endpoint

  • Added SVM native token metadata: /v1/svm/tokens/native

SDK updates

  • Added client.svm.tokens.getNativeTokenMetadata(...)
  • Added SvmNativeTokensResponse type export
  • Added mocked-fetch coverage for the new wrapper method

Previously added endpoint groups included in the SDK

  • SVM native transfers: /v1/svm/transfers/native
  • SVM native holders: /v1/svm/holders/native
  • Polymarket endpoints:
    • /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

Validation

  • bun run typecheck
  • bun test src/index.spec.ts

Full Changelog: v0.2.6...v0.2.7

v0.2.6

Choose a tag to compare

@DenisCarriere DenisCarriere released this 15 Apr 16:18

Release notes

This release syncs the SDK with the latest OpenAPI spec and adds support for the newest endpoint groups.

New endpoints

  • Added SVM native transfer support: /v1/svm/transfers/native
  • Added SVM native holder support: /v1/svm/holders/native
  • Added Polymarket market lookup: /v1/polymarket/markets
  • Added Polymarket market OHLCV: /v1/polymarket/markets/ohlc
  • Added Polymarket market open interest: /v1/polymarket/markets/oi
  • Added Polymarket market activity: /v1/polymarket/markets/activity
  • Added Polymarket market positions: /v1/polymarket/markets/positions
  • Added Polymarket platform aggregates: /v1/polymarket/platform
  • Added Polymarket user lookup: /v1/polymarket/users
  • Added Polymarket user positions: /v1/polymarket/users/positions

SDK updates

  • Added client.svm.tokens.getNativeTransfers(...)
  • Added client.svm.tokens.getNativeHolders(...)
  • Added client.polymarket.* wrapper methods for all current Polymarket endpoints
  • Synced SVM swap and pool query params to the latest OpenAPI spec
  • Expanded EVM DEX protocol enums to match the updated spec
  • Updated TVM swap filters to use transaction_from
  • Updated the OpenAPI generate URL in package.json

Validation

  • bun run typecheck
  • bun test --coverage
  • src/index.ts remains at 100% line and function coverage

Full Changelog: v0.2.5...v0.2.6