New answers tagged node.js
0
votes
Error: The declared program id does not match the actual program id
I solve with following command, it change my code of "declare_id!" section. I am not sure whether it's best practice.
anchor keys sync
2
votes
How to infer or find basic types for return values in @solana/web3.js v2 library?
Exporting ‘result types’ from @solana/web3.js is impractical, because the RPC is fluid to the point where its result types change depending on the particular inputs to the calls themselves.
You can ...
1
vote
How to infer or find basic types for return values in @solana/web3.js v2 library?
I think you probably want this type:
type BlockNotification = ReturnType<BlockNotificationsApi['blockNotifications']>;
In my IDE this looks like this:
type BlockNotification = {
readonly ...
0
votes
Accepted
Send custom routePlan to Juptier API /swap
The response is : circular are not allowed to POST or getQuote() on public Jupiter endpoint
Top 50 recent answers are included
Related Tags
node.js × 39web3.js × 19
solana-program × 10
typescript × 9
anchor × 7
transactions × 5
javascript × 5
send-transaction × 3
jupiter × 3
rust × 2
wallet × 2
instructions × 2
signature × 2
keypair × 2
api × 2
websocket × 2
hashing × 2
metaplex-js × 2
spl-token × 1
metaplex × 1
account × 1
rpc × 1
token × 1
anchor-client × 1
solana-wallet-adapter × 1