
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
@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.
The npm package @hyperionxyz/sdk receives a total of 47 weekly downloads. As such, @hyperionxyz/sdk popularity was classified as not popular.
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
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

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.