Skip to content

setRpcUrl

Sets the backend RPC URL.

Usage

example.ts
import { testClient } from './client'
 
await testClient.setRpcUrl('https://eth-mainnet.g.alchemy.com/v2')