Releases: pinax-network/pinax-api-sdk
Release list
v0.4.0
Hyperliquid HIP-4 Outcome endpoints
Adds six new hyperliquid methods covering HIP-4 outcome markets, plus regenerated OpenAPI types.
getOutcomes—/v1/hyperliquid/outcomesgetOutcomeOHLC—/v1/hyperliquid/outcomes/ohlcgetOutcomeTrades—/v1/hyperliquid/outcomes/tradesgetOutcomeUsers—/v1/hyperliquid/outcomes/usersgetOutcomeUserActivity—/v1/hyperliquid/outcomes/users/activitygetOutcomeUserPositions—/v1/hyperliquid/outcomes/users/positions
🤖 Generated with Claude Code
v0.3.1
Changes
- Regenerate OpenAPI types — adds
hyperevmnetwork to EVM endpoints
Full Changelog: v0.3.0...v0.3.1
v0.3.0
Changes
Full Changelog: v0.2.12...v0.3.0
v0.2.12
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
601c28fupdate openapi0e417ddrename default base URL to api.pinax.network
Full Changelog: v0.2.11...v0.2.12
v0.2.11
OpenAPI changes since v0.2.10
New Solana DEX protocols
- Added
spl_token_swapandokx_dexto Solana swap/poolprotocolenums.
Solana pools
- Added
input_decimalsandoutput_decimalsfields to pool responses.
EVM balances & transfers
- Added
is_contract: booleanto EVM balance and historical-balance responses. - Clarified
valuefield across responses: decimal-scaled token amount (amount / 10^decimals), not a USD value.
Breaking
- EVM native transfers
amountfield changed fromnumbertostring(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
- remove
unique_usersfrom HyperLiquid endpoint
Full Changelog: v0.2.9...v0.2.10
v0.2.9
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.tsfrom the staging OpenAPI endpoint - Bumped
package.jsonto0.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, andpancakeswap
Validation
bun run typecheckbun test --coveragesrc/index.tsremains at 100% line and function coverage
Full Changelog: v0.2.8...v0.2.9
v0.2.8
⚠️ 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_dllm→meteora_dlmm— regeneratedsrc/openapi.d.tsfrom Token API v3.16.3 and updated the manually-maintainedSvmDexProtocolunion to match.
Full Changelog: v0.2.7...v0.2.8
v0.2.7
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
SvmNativeTokensResponsetype 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 typecheckbun test src/index.spec.ts
Full Changelog: v0.2.6...v0.2.7
v0.2.6
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 typecheckbun test --coveragesrc/index.tsremains at 100% line and function coverage
Full Changelog: v0.2.5...v0.2.6