6

I want to receive information about newly created tokens on the Solana blockchain with minimal latency. What are some ways to do this?

So that I get information about a freshly created token after, say, 30 seconds in the format:

Address, supply, image, creator's address

The programming language is not so important, it's the method itself that matters. Thank you in advance!

I've tried playing around with things like BitQuerry and GetBlock, but haven't gotten to the bottom of it. Maybe I haven't given it enough time, or maybe I'm looking in the wrong direction

2
  • 1
    Please did you find solution to this? Can you please share with me, I keep buying rugs. Help Commented Jan 12 at 20:05
  • yes, please did you find solution to this? thanks)
    – slntrx
    Commented Jan 16 at 8:48

3 Answers 3

6

Helius will be your friend here. I am not sure how much latency u are looking for. Two approaches: 1 - set up a free webhook on helius, to pipe blocks, and parse block contents. u should also be able to filter the webhook stuff to return only specific actions back, so cutting down to just new token would help.

2 - write a cript that refreshes every 30 seconds, and checks the ;metadata program/guithub repo gor any new tokens , and outputs the result

your buggest problem is that these new tokens will belong to the token program, and fetching all the accounts (GPA) is not a good way to run these things.

If you are looking to use this fro something serious, then i suggest reaching out the helius team to explore their webhook solution for this.

3
  • 2
    Yes, I've discovered Helius webhooks, using self-created filter and it works Commented Dec 29, 2023 at 5:40
  • 1
    Hey Andrew, can you please provide an example or some info how did you do that? would be super helpful!
    – arena
    Commented Jan 13 at 2:53
  • Hi, can you please show a tutorial example of your custom filter? thanks @AndrewSwift
    – slntrx
    Commented Jan 16 at 8:47
5

The most efficient method for receiving real-time updates on account and transaction changes is to operate a read-only validator equipped with a Geyser plugin. This setup allows for direct streaming of events to your services. However, maintaining a server for this purpose can be costly, and a validator can only support a single plugin.

In response to these limitations, several RPC providers have begun offering access to Geyser through various methods. For instance, Helius offers account webhook services, while Triton's DragonMouth feature enables the streaming of Geyser events to backend systems via gRPC protocol.

https://docs.solana.com/developing/plugins/geyser-plugins

https://docs.triton.one/project-yellowstone/dragons-mouth-grpc-subscriptions

1

I believe dexscreener(you can filter the information based on the query params) provides information on newly created tokens.

Birdeye and Bonkbot's alerts channel also provides information on newly created listings, albeit slightly different that what you asked for.

Birdeye also has a token-list endpoint that you might find useful.

Not the answer you're looking for? Browse other questions tagged or ask your own question.