Appearance
Documentation / js-sdk-core / getJsonRpcEndpointFromChain
Function: getJsonRpcEndpointFromChain()
getJsonRpcEndpointFromChain(
chain
,rpcConfig
,privyAppId
):string
Build a JSON RPC endpoint for a given chainId if it is one of our supported chains.
Parameters
• chain: Chain
• rpcConfig: RpcConfig
• privyAppId: string
Returns
string