All Questions
Tagged with api jsonrpc-api
11 questions
2
votes
1
answer
690
views
How to fetch and store real-time Solana token data for charting?
Description
I’m working on a project where I need to fetch detailed Solana token information in real-time, given a token mint address. My goal is to store time-series token information such as price ...
2
votes
1
answer
646
views
Latency is RPC response and websocket
I have a websocket which points at my wallet, And I also have a websocket setup to get the latest event on my wallet.
I have tried sending an airdrop from CLI tool : link
The moment the transaction ...
1
vote
2
answers
2k
views
How to get last N transactions by account/address, via public API?
I have a list of addresses, thousands, and I need to monitor incoming transactions to them. Some of them are native Solana addresses, other are tokens.
How will I get the last 3-5 transactions for a ...
1
vote
1
answer
4k
views
How to get live transactions through websockets?
Is there any method I can subscribe to in order to get live transactions data through websockets? I tried with logsSubscribe but it doesn't seem to be what I'm looking for.
1
vote
1
answer
742
views
Multiple SPL Token Balance with one request
To get the balance of a specific token from a wallet, I use getTokenAccountsByOwner, but this is giving the balance for only one token, and I need to request for more than one token.
I was wondering ...
1
vote
1
answer
2k
views
Fetching Trending Token Data: How to Access via API from Dexscreener or Birdeye
I'm trying to gather data on currently trending tokens, and I've been exploring options like Dexscreener and Birdeye. Unfortunately, I haven't found a direct way to access this information via their ...
1
vote
0
answers
1k
views
How can I listen to burn or token LP lock events on sol chain
I have been trying to get onchain events or messages regarding to token LP lock and burns, I have tried using the json rpc api, I listened to the response for hours but i couldn't find any burn or ...
1
vote
1
answer
178
views
Specification for Solana RPC API
Is Solana's JSON RPC API doc generated off a spec, like OpenRPC? Or is it just manually updated by core devs?
Browsing the commits, it feels like it is the latter.
0
votes
1
answer
2k
views
How can I get block data with all transactions with one Solana API request?
How can I get the last block or slot with all transactions in it with one Solana API request? The way I found: getSlot() -> getBlock(slotNumber). The problem with this method is that it is very ...
0
votes
2
answers
341
views
Solana validator stake history
Is there any way to get the stake history for a validator on Solana. I am trying to analyze the performance of validators on the network and am able to use the getInflationReward method ...
0
votes
0
answers
73
views
GetTransaction API Data
GM,
I'm currently building a python script to pull back fees being paid by bots prespamming token launches. As additional functionality to this bot, I want to know how much Sol they are planning to ...