Accessing RPC API

Hi All, I’m having issues accessing a RPC api in my notebook. It looks like most people use Jayson for RPC in javascript, and I can’t seem to add that via require or any of the alternatives I found through Google. Curious if any of you have figured something out for this?

Importing via esm.sh seems to work:

import("https://esm.sh/jayson")

Another issue that you might run into is that many RPC endpoints don’t support cross-origin access, which means that you may have to use a CORS proxy.

Awesome, I’ll give that a try thanks!