File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed
Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const client = createPublicClient({
88
99const webSocketClient = createPublicClient ( {
1010 chain : mainnet ,
11- transport : webSocket ( 'wss://eth.drpc.org ' ) ,
11+ transport : webSocket ( 'wss://ethereum-rpc.publicnode.com ' ) ,
1212} )
1313
1414await client . getBlockNumber ( )
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export function Client() {
1515
1616 const webSocketClient = createPublicClient ( {
1717 chain : mainnet ,
18- transport : webSocket ( 'wss://eth.drpc.org ' ) ,
18+ transport : webSocket ( 'wss://ethereum-rpc.publicnode.com ' ) ,
1919 } )
2020
2121 await client . getBlockNumber ( )
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export default async function Home() {
1010
1111 const webSocketClient = createPublicClient ( {
1212 chain : mainnet ,
13- transport : webSocket ( 'wss://eth.drpc.org ' ) ,
13+ transport : webSocket ( 'wss://ethereum-rpc.publicnode.com ' ) ,
1414 } )
1515
1616 await client . getBlockNumber ( )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const client = createPublicClient({
88
99const webSocketClient = createPublicClient ( {
1010 chain : mainnet ,
11- transport : webSocket ( 'wss://eth.drpc.org ' ) ,
11+ transport : webSocket ( 'wss://ethereum-rpc.publicnode.com ' ) ,
1212} )
1313; ( async ( ) => {
1414 await client . getBlockNumber ( )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const client = createPublicClient({
88
99const webSocketClient = createPublicClient ( {
1010 chain : mainnet ,
11- transport : webSocket ( 'wss://eth.drpc.org ' ) ,
11+ transport : webSocket ( 'wss://ethereum-rpc.publicnode.com ' ) ,
1212} )
1313
1414await client . getBlockNumber ( )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { mainnet } from 'viem/chains'
88
99 const webSocketClient = createPublicClient ( {
1010 chain : mainnet ,
11- transport : webSocket ( 'wss://eth.drpc.org ' ) ,
11+ transport : webSocket ( 'wss://ethereum-rpc.publicnode.com ' ) ,
1212 } )
1313
1414 await client . getBlockNumber ( )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const client = createPublicClient({
88
99const webSocketClient = createPublicClient ( {
1010 chain : mainnet ,
11- transport : webSocket ( 'wss://eth.drpc.org ' ) ,
11+ transport : webSocket ( 'wss://ethereum-rpc.publicnode.com ' ) ,
1212} )
1313
1414await client . getBlockNumber ( )
You can’t perform that action at this time.
0 commit comments