Skip to main content

New answers tagged

3 votes
Accepted

Why does `getBlockTime` return a `i64`?

That endpoint won't return a negative timestamp since Solana was launched in 2020, but normal unix timestamps could be negative if you want to represent a timestamp before 1970. For example, try ...
Jon C's user avatar
  • 15.6k
1 vote

Do I need my own RPC node to use getProgramAccounts or getTokenLargestAccounts?

Both of these methods are quite compute heavy, so yes, you should get your own RPC. There are alternatives to getProgramAccount which are faster (indexers and such). You can try Hello moon or Helius ...
Syed Aabis Akhtar's user avatar
0 votes

Do I need my own RPC node to use getProgramAccounts or getTokenLargestAccounts?

getTokenLargestAccounts --> QuickNode I guess you can also make a call for programaccounts on quicknode also.
NFT_Player's user avatar
1 vote

Do I need my own RPC node to use getProgramAccounts or getTokenLargestAccounts?

As much as I know, they in deed require account indexing. You could maybe use helius, as they offer a free-tier to get started.
Björn W's user avatar
  • 183
0 votes

How to retrieve pool adresses

Just want to say I'm also looking for this and finding nothing. Kind of ridiculous for an "open-source" blockchain
kaweinh's user avatar
3 votes

Fields meaning in RPC methods with websocket (accountSubscribe)

Depends on what data is in the account. You will get the accountInfo, which has the sol balance, data etc and then you need to figure out how to decode the data in there which depends on the account ...
Jonas H.'s user avatar
  • 5,777

Top 50 recent answers are included