Configure per-chain URLs
Setprovider.type to custom and map each chain ID your integration uses to its complete RPC URL:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Configure per-chain JSON-RPC URLs for SDK read operations.
provider.type to custom and map each chain ID your integration uses to its complete RPC URL:
import { RhinestoneSDK } from '@rhinestone/sdk'
import { arbitrum, base, mainnet } from 'viem/chains'
const rhinestone = new RhinestoneSDK({
auth: {
mode: 'apiKey',
apiKey: process.env.RHINESTONE_API_KEY!,
},
provider: {
type: 'custom',
urls: {
[mainnet.id]: process.env.ETHEREUM_RPC_URL!,
[base.id]: process.env.BASE_RPC_URL!,
[arbitrum.id]: process.env.ARBITRUM_RPC_URL!,
},
},
})
Was this page helpful?