Finding RPC version targeted by a given version of JS SDK

We have seen folks having problems with figuring out which RPC version is targeted by (which version of) JS SDK. At lest one way to do it is to check the TARGETED_RPC_VERSION in the devnet branch of Sui repo (at the point of writing this is the link to where this constant is defined: sui/json-rpc-provider.ts at 598f106ef5fbdfbe1b644236f0caf46c94f4d1b7 · MystenLabs/sui · GitHub)


github link is very great place to learn

1 Like