@cobaltx/sdk-v2
Version:
An SDK for building applications on top of CobaltX.
26 lines (23 loc) • 841 B
TypeScript
import { PublicKey } from '@solana/web3.js';
import { bl as ReplaceType } from '../api-8c41f6cd.js';
import 'axios';
import '../solana/type.js';
import 'bn.js';
import '@solana/spl-token';
import '../config.js';
import '../api/url.js';
import './owner.js';
import './txTool/lookupTable.js';
import './txTool/txType.js';
import 'decimal.js';
import '../module/token.js';
import './pubKey.js';
import './logger.js';
import '../module/currency.js';
import '../marshmallow/index.js';
import '../marshmallow/buffer-layout.js';
declare function sleep(ms: number): Promise<void>;
declare function getTimestamp(): number;
declare function notInnerObject(v: unknown): v is Record<string, any>;
declare function jsonInfo2PoolKeys<T>(jsonInfo: T): ReplaceType<T, string, PublicKey>;
export { getTimestamp, jsonInfo2PoolKeys, notInnerObject, sleep };