pumpdotfun-repumped-sdk
Version:
Pumpfun SDK — create, buy, sell tokens with support for Jito bundles and multiple relayer integrations. Rebuilt and fixed pumpdotfun-sdk.
1 lines • 1.54 kB
Source Map (JSON)
{"version":3,"file":"pumpFun.types.mjs","sources":["../../../src/pumpFun.types.ts"],"sourcesContent":["import { Keypair, VersionedTransactionResponse } from \"@solana/web3.js\";\r\n\r\nexport type CreateTokenMetadata = {\r\n name: string;\r\n symbol: string;\r\n description: string;\r\n file: Blob;\r\n twitter?: string;\r\n telegram?: string;\r\n website?: string;\r\n};\r\nexport type PriorityFee = {\r\n unitLimit: number;\r\n unitPrice: number;\r\n};\r\n\r\nexport type TransactionResult = {\r\n signature?: string;\r\n error?: unknown;\r\n results?: VersionedTransactionResponse;\r\n success: boolean;\r\n};\r\n\r\nexport type PumpOptions = {\r\n jitoUrl?: string;\r\n authKeypair?: Keypair;\r\n providerRegion?: Region;\r\n shouldKeepAlive?: boolean;\r\n astraKey?: string;\r\n slotKey?: string;\r\n nextBlockKey?: string;\r\n nodeOneKey?: string;\r\n};\r\n\r\nexport type JitoResult = {\r\n bundleId?: string;\r\n error?: unknown;\r\n success: boolean;\r\n};\r\nexport type HostKey = \"slot\" | \"node\" | \"nextBlock\" | \"astra\";\r\n\r\nexport enum Region {\r\n Frankfurt = \"fra\",\r\n NY = \"ny\",\r\n Tokyo = \"tokyo\",\r\n Amsterdam = \"ams\",\r\n LosAngeles = \"la\",\r\n}\r\n"],"names":[],"mappings":"IAyCY;AAAZ,CAAA,UAAY,MAAM,EAAA;AAChB,IAAA,MAAA,CAAA,WAAA,CAAA,GAAA,KAAiB;AACjB,IAAA,MAAA,CAAA,IAAA,CAAA,GAAA,IAAS;AACT,IAAA,MAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,MAAA,CAAA,WAAA,CAAA,GAAA,KAAiB;AACjB,IAAA,MAAA,CAAA,YAAA,CAAA,GAAA,IAAiB;AACnB,CAAC,EANW,MAAM,KAAN,MAAM,GAAA,EAAA,CAAA,CAAA;;;;"}