useNetwork()
for improved developer experienceuseNetwork()
method lets you initialize network-scoped account instances, helping you avoid repeatedly specifying the network in requests.
This provides a more intuitive developer experience by scoping account operations to a specific network.
useNetwork("base")
or useNetwork("base-sepolia")
), the SDK automatically uses the CDP Base Node RPC.