Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 2137

Questions regarding the JavaScript SDK @solana/web3.js.

1 vote

window.solana.request doesn't trigger phantom on some browsers

I can't really guess why, I think it might have to do with browser compatibility but try out this code, I believe it might work for you. const getProvider = async () => { if ("solana" in window) { …
medaltechie.sol's user avatar
2 votes

web3.js import error

the error you got back is descriptive and it means you are trying to load the package using .html file extension whilst this package can only be loaded on a javascript application or framework. I sugg …
medaltechie.sol's user avatar
0 votes

WalletSendTransactionError: failed to send transaction: Transaction simulation failed: Block...

I see you are providing the recent blockhash in your code so the issue shouldn't be that and it could probably be with your network.
medaltechie.sol's user avatar
1 vote

There is a way to limit the number of RPC requests per second of the web3.js library?

Yes there is a way to do this by using the batchSize parameter in the provider.send function to reduce the number of requests made in a single batch, this will assist the number of request by second m …
medaltechie.sol's user avatar