Skip to main content
1 vote

Python API to get spl token details given token solscan address

Yes its quite easy. The solscan address is irrelevant. Sign up for a free account at https://www.helius.dev/ and get an api key Your script should send a request to the RPC URL given to you import ...
HoodRat's user avatar
  • 11
1 vote

Missing authorization rules account

updateAsUpdateAuthorityV2 method doesn't contain an updateAuthority field. The correct field you are looking for is newUpdateAuthority // -- snip updateAsUpdateAuthorityV2(umi, { mint: ...
Jimii's user avatar
  • 7,712
1 vote

How can I know the mint address of NFT of candy machine?

You can verify NFTs minted through your Candy Machine by checking their metadata's update authority or fetching all minted NFTs via the Candy Machine ID after minting, and then use this information in ...
pizzza1bit's user avatar
1 vote

Anchor test error "InstructionDidNotDeserialize"

If you use the #[instruction()] constraint on your Accounts struct, you need to pass value in your instruction as an argument. pub fn remove_mint_authority(ctx: Context<RemoveMintAuthority>, ...
Jimii's user avatar
  • 7,712
1 vote

Solana: `initializeUserMint` Function Fails with '_bn' Error Despite Matching Program ID

It's tough to tell without more info, but likely one of the PublicKeys passed into your function is invalid -- the _bn field is stored directly on the PublicKey at https://github.com/solana-labs/...
Jon C's user avatar
  • 19.6k
1 vote

Wsol balance shows zero

Perhaps you didn't set the wrapAndUnwrapSol option to false and swap tx automatically wraps and unwraps the SOL. // get serialized transactions for the swap const { swapTransaction } = await ( await ...
Jimii's user avatar
  • 7,712
1 vote

Package `Solana-program vX.X.X` cannot be built because it requires rustc X.X.X or newer

Anchor uses the rust compiler that ships with your Solana tools version. You probably want to install a more recent Solana version like: solana-install init 1.18.17 Solana-install is deprecated so if ...
Whiteseal's user avatar
  • 3,597
1 vote

Python client for YellowStone Geyser Plugin (gRPC)

I received the same response where I would just get pings back. However if I just let it run, sometimes for over an hour I would eventually get the response I was expecting. It has taken anywhere ...
block101's user avatar
1 vote

How to use jito bundle to buy and sell tokens?

Here is a great video about Jito Bundles Jito Bundles by Quicknode If you have any questions more specific, please ask away
Metasal's user avatar
  • 438

Only top scored, non community-wiki answers of a minimum length are eligible