Skip to content

Documentation / react-auth / addPrivyRpcToChain

Function: addPrivyRpcToChain()

addPrivyRpcToChain(chain, rpcUrl): Object

Parameters

chain: Chain

rpcUrl: string

Returns

Object

blockExplorers?

blockExplorers?: Object

Collection of block explorers

Index signature

[key: string]: BlockExplorer

blockExplorers.default

blockExplorers.default: BlockExplorer

id

id: number

Id in number form

name

name: string

Human readable name

nativeCurrency

nativeCurrency: NativeCurrency

Currency used by chain

network?

network?: string

Internal network name

rpcUrls

rpcUrls: Object | Object

testnet?

testnet?: boolean

Flag for test networks