Skip to main content

New answers tagged

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
ZhongLiDe Shen's user avatar
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 ...
steveluscher's user avatar
  • 3,153
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 ...
Callum M's user avatar
  • 3,775
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
forexmp45's user avatar

Top 50 recent answers are included