goosefx-amm-sdk
Version:
SDK for the GooseFx AMM
1 lines • 1.58 kB
Source Map (JSON)
{"version":3,"sources":["../../src/api/url.ts"],"sourcesContent":["export const API_URLS = {\n BASE_HOST: \"https://gamma-api.goosefx.io/v1\",\n /** id: string */\n CONFIG: \"/config\",\n /** ids: idList.join(',') */\n POOL_BY_IDS: \"/pool/info/ids\",\n /**\n * poolType?: { 'hyper' | 'primary' | 'all' }. defaults to 'all'\n * sortOrder?: { 'asc' | 'desc' }. defaults to 'desc'\n * sortBy?: { 'liquidity' | 'volume_24h' / 7d / 30d | 'fee_24h' / 7d / 30d | 'apr_24h' / 7d / 30d }.\n * pageSize?. { number } defaults to 200\n * page?: { number } defaults to 1\n * search: { string | undefined }\n * mint1: string\n * mint2?: string\n */\n POOL_BY_MINTS: \"/pool/info/mints\",\n /**\n * poolType?: { 'hyper' | 'primary' | 'all' }. defaults to 'all'\n * sortOrder?: { 'asc' | 'desc' }. defaults to 'desc'\n * sortBy?: { 'liquidity' | 'volume_24h' / 7d / 30d | 'fee_24h' / 7d / 30d | 'apr_24h' / 7d / 30d }.\n * pageSize?. { number } defaults to 200\n * page?: { number } defaults to 1\n * search: { string | undefined }\n */\n POOL_LIST: \"/pool/info/all\",\n /** ids: idList.join(',') */\n POOL_KEYS_BY_IDS: \"/pool/keys/ids\",\n TOKEN_LIST: \"/token-list\",\n JUP_TOKEN_LIST: \"https://tokens.jup.ag/tokens?tags=lst,community\",\n};\n\nexport const DEV_API_URLS = {\n ...API_URLS,\n};\n\nexport type API_URL_CONFIG = Partial<typeof API_URLS>;\n"],"mappings":"AAAO,IAAMA,EAAW,CACtB,UAAW,kCAEX,OAAQ,UAER,YAAa,iBAWb,cAAe,mBASf,UAAW,iBAEX,iBAAkB,iBAClB,WAAY,cACZ,eAAgB,iDAClB,EAEaC,EAAe,CAC1B,GAAGD,CACL","names":["API_URLS","DEV_API_URLS"]}