File tree Expand file tree Collapse file tree 5 files changed +5
-15
lines changed
Expand file tree Collapse file tree 5 files changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,7 @@ const client = createPublicClient({
88
99const webSocketClient = createPublicClient ( {
1010 chain : mainnet ,
11- transport : webSocket (
12- 'wss://eth-mainnet.g.alchemy.com/v2/WV-bLot1hKjjCfpPq603Ro-jViFzwYX8' ,
13- ) ,
11+ transport : webSocket ( 'wss://eth.drpc.org' ) ,
1412} )
1513
1614await client . getBlockNumber ( )
Original file line number Diff line number Diff line change @@ -15,9 +15,7 @@ export function Client() {
1515
1616 const webSocketClient = createPublicClient ( {
1717 chain : mainnet ,
18- transport : webSocket (
19- 'wss://eth-mainnet.g.alchemy.com/v2/WV-bLot1hKjjCfpPq603Ro-jViFzwYX8' ,
20- ) ,
18+ transport : webSocket ( 'wss://eth.drpc.org' ) ,
2119 } )
2220
2321 await client . getBlockNumber ( )
Original file line number Diff line number Diff line change @@ -10,9 +10,7 @@ export default async function Home() {
1010
1111 const webSocketClient = createPublicClient ( {
1212 chain : mainnet ,
13- transport : webSocket (
14- 'wss://eth-mainnet.g.alchemy.com/v2/WV-bLot1hKjjCfpPq603Ro-jViFzwYX8' ,
15- ) ,
13+ transport : webSocket ( 'wss://eth.drpc.org' ) ,
1614 } )
1715
1816 await client . getBlockNumber ( )
Original file line number Diff line number Diff line change @@ -8,9 +8,7 @@ import { mainnet } from 'viem/chains'
88
99 const webSocketClient = createPublicClient ( {
1010 chain : mainnet ,
11- transport : webSocket (
12- 'wss://eth-mainnet.g.alchemy.com/v2/WV-bLot1hKjjCfpPq603Ro-jViFzwYX8' ,
13- ) ,
11+ transport : webSocket ( 'wss://eth.drpc.org' ) ,
1412 } )
1513
1614 await client . getBlockNumber ( )
Original file line number Diff line number Diff line change @@ -8,9 +8,7 @@ const client = createPublicClient({
88
99const webSocketClient = createPublicClient ( {
1010 chain : mainnet ,
11- transport : webSocket (
12- 'wss://eth-mainnet.g.alchemy.com/v2/WV-bLot1hKjjCfpPq603Ro-jViFzwYX8' ,
13- ) ,
11+ transport : webSocket ( 'wss://eth.drpc.org' ) ,
1412} )
1513
1614await client . getBlockNumber ( )
You can’t perform that action at this time.
0 commit comments