🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@hyperionxyz/sdk

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyperionxyz/sdk

This SDK allows you to interact with the Hyperion API. You can use it to request data, create pools/positions and more.

latest
npmnpm
Version
0.1.1
Version published
Weekly downloads
48
-26.15%
Maintainers
1
Weekly downloads
 
Created
Source

@hyperionxyz/sdk

This SDK allows you to interact with the Hyperion API.
You can use it to request data, create pools/positions and more.

Installation

pnpm install @aptos-labs/ts-sdk @aptos-labs/script-composer-sdk @hyperionxyz/sdk

Version 0.1 Compatibility

@hyperionxyz/sdk@0.1.0 migrates Hyperion data reads from GraphQL to REST.

Most integrations do not need code changes if they use the high-level SDK modules:

  • SDK.Pool
  • SDK.Position
  • SDK.Reward
  • SDK.Swap

The following low-level GraphQL integration points were removed:

  • requestModule.queryIndexer
  • requestModule.queryOfficialIndexer
  • imports from src/config/queries
  • SDKOptions.officialFullNodeIndexerURL

New SDK options should use the Hyperion API host:

import { Network } from "@aptos-labs/ts-sdk";
import { HyperionSDK } from "@hyperionxyz/sdk";

const SDK = new HyperionSDK({
  network: Network.MAINNET,
  contractAddress:
    "0x8b4a2c4bb53857c718a04c020b98f8c2e1f99a68b0f57389a8bf5434cd22e05c",
  hyperionFullNodeIndexerURL: "https://api.hyperion.xyz",
  hyperionAPIHost: "https://api.hyperion.xyz",
  APTOS_API_KEY: "",
});

Legacy hyperionFullNodeIndexerURL values ending in /v1/graphql are normalized internally, but new code should pass the API host directly.

Documentation

Documentation

Keywords

hyperion

FAQs

Package last updated on 01 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts