Skip to main content

New answers tagged

0 votes

How to track the price or market cap of spl tokens?

according to the documentation, there is a parameter included in the query response called lamports. Lamports will tell you the "market cap" of the AccountInfo you are looking for. Also, I ...
Andres Peña's user avatar
2 votes

Token CPI without signature from PDA works unexpectedly?

It works because Program A has already granted signer rights to beastie during the transaction, and this signer privilege propagates through the instruction to the SPL Token Program. Other programs ...
mumut3k's user avatar
  • 106
1 vote

Installing solana spl from terminal ubuntu 24.1

Try installing the curl command using apt sudo apt install curl Also make sure you have these essential packages installed as well sudo apt install \ build-essential \ pkg-config \ ...
Jimii's user avatar
  • 7,672
1 vote

How to resolve error code":-32010,"message":"2UR.... excluded from account secondary indexes; this RPC method unavailable for key

If you want to index all of the token accounts for a particular mint, you need to include that mint id in the account indexes, so in your startup script, try adding: --account-index-include-key 2URzn.....
Jon C's user avatar
  • 19.6k
0 votes

Revoke Mint authority

I think you need to set authority to null In Rust you would do this Some(None)
Metasal's user avatar
  • 438

Top 50 recent answers are included