@hyperionxyz/sdk
Version:
This SDK allows you to interact with the Hyperion API. You can use it to request data, create pools/positions and more.
36 lines • 1.24 kB
TypeScript
import { Aptos, Network } from '@aptos-labs/ts-sdk';
import { default as Pool } from './modules/poolModule';
import { Position } from './modules/positionModule';
import { RequestModule } from './modules/requestModule';
import { Reward } from './modules/rewardModule';
import { Swap } from './modules/swapModule';
export * from './config';
export * from './utils';
export type { AggregateSwapRouteArgs } from './helper/aggregateSwap';
export * from './helper/aggregateSwap/type.d';
export type SDKOptions = {
network: Network;
contractAddress: string;
hyperionFullNodeIndexerURL: string;
hyperionAPIHost: string;
officialFullNodeIndexerURL: string;
APTOS_API_KEY: string;
};
export declare class HyperionSDK {
protected _options: SDKOptions;
protected _requestModule: RequestModule;
protected _pool: Pool;
protected _position: Position;
protected _swap: Swap;
protected _reward: Reward;
protected _aptosClient: Aptos;
constructor(opt: SDKOptions);
get Pool(): Pool;
get Position(): Position;
get Swap(): Swap;
get Reward(): Reward;
get AptosClient(): Aptos;
get sdkOptions(): SDKOptions;
get requestModule(): RequestModule;
}
//# sourceMappingURL=index.d.ts.map