
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
@hyperionxyz/sdk
Advanced tools
This SDK allows you to interact with the Hyperion API. You can use it to request data, create pools/positions and more.
This SDK allows you to interact with the Hyperion API.
You can use it to request data, create pools/positions and more.
pnpm install @aptos-labs/ts-sdk @aptos-labs/script-composer-sdk @hyperionxyz/sdk
@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.PoolSDK.PositionSDK.RewardSDK.SwapThe following low-level GraphQL integration points were removed:
requestModule.queryIndexerrequestModule.queryOfficialIndexersrc/config/queriesSDKOptions.officialFullNodeIndexerURLNew 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.
FAQs
This SDK allows you to interact with the Hyperion API. You can use it to request data, create pools/positions and more.
We found that @hyperionxyz/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.