Documentation ¶
Index ¶
Constants ¶
View Source
const ( // For Ethereum Ethereum string = "https://cloudflare-eth.com" // For Goerli Testnet Goerli string = "https://goerli.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161" // For Binance Smart Chain (BSC) BinanceSmartChain string = "https://bsc-dataseed.binance.org" // For Polygon Polygon string = "https://polygon-rpc.com" // For Optimism Optimisim string = "https://mainnet.optimism.io" // For Arbitrum Arbitrum string = "https://arb1.arbitrum.io/rpc" )
Variables ¶
This section is empty.
Functions ¶
func GetRpcURLByChainID ¶
GetRpcURLByChainID returns the RPC url for the given chain id
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.