New answers tagged react
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/...
0
votes
Solana: `initializeUserMint` Function Fails with '_bn' Error Despite Matching Program ID
The error likely occurs due to incorrect initialization of the BN object for supply; ensure supply is a valid numeric value and passed as new BN(Number(supply)).
1
vote
trying to fetch all tokens which are created by walletAddress
The reason this doesn't work is because getAssetsByCreator only works for NFTs. Helius does support fungible tokens for some methods, but not this one. From their docs: "Fungible token support is ...
1
vote
how to get list of tokens(not NFTs) that are created by solana user
The getParsedTokenAccountsByOwner method will fetch the owner's token accounts.
Alternatively, you could use the getAssetsByCreator method offered by the DAS API and filter using the interface field ...
Top 50 recent answers are included
Related Tags
react × 78solana-wallet-adapter × 27
web3.js × 23
anchor × 14
solana-program × 13
phantom × 7
walletadapter × 6
javascript × 5
typescript × 5
nextjs × 5
phantom-wallet × 5
wallet × 4
transactions × 4
rust × 4
spl-token × 4
metaplex × 3
nft × 3
mint × 3
mobile-wallet-adapter × 3
metaplex-js × 3
mobile × 2
message × 2
css × 2
transaction × 2
webapp × 2