Creates an RPC client instance for interacting with the SVM blockchains using the provided RPC URL.
The RPC endpoint URL.
An RPC client configured with the Solana RPC API.
const rpc = rpcFromUrl("https://api.mainnet-beta.solana.com");const slot = await rpc.getSlot().send();console.log(slot); Copy
const rpc = rpcFromUrl("https://api.mainnet-beta.solana.com");const slot = await rpc.getSlot().send();console.log(slot);
Creates an RPC client instance for interacting with the SVM blockchains using the provided RPC URL.