
npm install @0xobedient/memetus-pumpfun-sdkMemetus-Pumpfun-SDK provides a feature that allows user to query tokens created within the last 24 hours on Pumpfun using various parameters.
---
- ✅ Fast and lightweight
- 💡 Simple, intuitive API
- ⚙️ Fully TypeScript supported
- 🔒 Does not require an API key
- 📦 Various query parameter
---
``bash`
npm install @0xobedient/memetus-pumpfun-sdkor
yarn add @0xobedient/memetus-pumpfun-sdkor
pnpm install @0xobedient/memetus-pumpfun-sdk
`typescript`
const memetusClient = new MemetusPumpfun();
`typescript`
const params = {
limit: 10, // default=100
};
const data = await memetusClient.fetchRecentTokens(params);
`typescript
const params = {
limit: 10, // default=100
};
const data = await memetusClient.fetchOldestTokens(params);
`
`typescript`
const data = await memetusClient.fetchTokenByAddress("
`typescript`
const data = await memetusClient.fetchTokenByCreator(
"
);
`typescript`
const data = await memetusClient.fetchTokenByInitializer(
"
);
`typescript`
const data = await memetusClient.fetchTokenBySignature("
`typescript`
const params = {
name: "Homo Memetus",
symbol: "HOMO",
sort: "asc", // default=desc
limit: 100, // default=100
};
const data = await memetusClient.fetchTokensByMetadata(params);
`typescript`
const params = {
start: new Date(now.getTime() - 60 60 1000),
end: new Date(),
sort: "asc", // default=desc
limit: 100, // default=100
};
const data = await memetusClient.fetchTokensByDuration(params);
`typescript`
const params = {
min: 10, // SOL
max: 30, // SOL
sort: "asc", // default=desc
limit: 100, // default=100
};
const data = await memetusClient.fetchTokensByDuration(params);
`typescript`
const params = {
addresses: [
"
"
"
],
};
const data = await memetusClient.fetchTokensByAddresses(params);
`typescript`
const params = {
addresses: [
"
"
"
],
};
const data = await memetusClient.fetchTokensByCreators(params);
`typescript`
const params = {
addresses: [
"
"
"
],
};
const data = await memetusClient.fetchTokensByInitializers(params);
| Type Name | Property | Type | Description |
| ---------------------- | --------- | ---------------------------- | ----------------------------------------------- |
| RecentsParams | limit | number (optional) | Limit the number of recent items returned |number
| OldestsParams | limit | (optional) | Limit the number of oldest items returned |string
| TokenByAddress | address | (required) | Filter by a specific token address |string
| TokenByCreator | address | (required) | Filter tokens created by a specific creator |string
| TokenByInitializer | address | (required) | Filter tokens initialized by a specific address |string
| MetadataParams | name | (optional) | Filter by name |string
| | symbol | (optional) | Filter by symbol |"asc" \| "desc"
| | sort | (optional) | Sorting order |number
| | limit | (optional) | Limit the number of items returned |string
| DurationParams | start | (optional) | Start date |string
| | end | (optional) | End date |"asc" \| "desc"
| | sort | (optional) | Sorting order |number
| | limit | (optional) | Limit the number of items returned |string
| MarketCapParams | min | (optional) | Minimum market cap |string
| | max | (optional) | Maximum market cap |"asc" \| "desc"
| | sort | (optional) | Sorting order |number
| | limit | (optional) | Limit the number of items returned |string[]
| TokensByAddresses | addresses | (required) | List of specific token addresses |string[]
| CreatorsParams | addresses | (required) | List of creator addresses |"asc" \| "desc"
| | sort | (optional) | Sorting order |string[]
| InitializerParams | addresses | (required) | List of initializer addresses |"asc" \| "desc"` (optional) | Sorting order |
| | sort |