From b59c2b9f788a0176013c93d0cf2300da6b87a62a Mon Sep 17 00:00:00 2001 From: Ake Date: Thu, 26 Dec 2024 15:46:40 +0700 Subject: [PATCH] Remove deprecated x-chain wss endpoint examples --- content/docs/api-reference/rpc-providers.mdx | 10 ++++------ content/docs/tooling/rpc-providers.mdx | 10 ++++------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/content/docs/api-reference/rpc-providers.mdx b/content/docs/api-reference/rpc-providers.mdx index 690df0e2b81..447ae2824cf 100644 --- a/content/docs/api-reference/rpc-providers.mdx +++ b/content/docs/api-reference/rpc-providers.mdx @@ -140,10 +140,9 @@ Features: ##### Websockets[​](#websockets-2 "Direct link to heading") -Websockets are available for the C-chain and the X-chain. +Websockets are available for the C-chain -- For C-Chain API, the regional elastic node URL is `wss://ws-nd-123-145-789.p2pify.com/API_KEY/ext/bc/C/ws`, and the global elastic node URL is `wss://avalanche-mainnet.core.chainstack.com/ws/ext/bc/C/ws/API_KEY` -- For X-Chain API, the regional elastic node URL is `wss://ws-nd-123-145-789.p2pify.com/API_KEY/ext/bc/X/events`, and the global elastic node URL is `wss://avalanche-mainnet.core.chainstack.com/ws/ext/bc/X/events/API_KEY` +For C-Chain API, the regional elastic node URL is `wss://ws-nd-123-145-789.p2pify.com/API_KEY/ext/bc/C/ws`, and the global elastic node URL is wss://avalanche-mainnet.core.chainstack.com/ext/bc/C/ws/API_KEY` #### Testnet (Fuji)[​](#testnet-fuji-2 "Direct link to heading") @@ -155,10 +154,9 @@ Websockets are available for the C-chain and the X-chain. ##### Websockets[​](#websockets-3 "Direct link to heading") -Websockets are available for the C-chain and the X-chain. +Websockets are available for the C-chain -- For C-Chain API, the URL is `wss://ws-nd-123-145-789.p2pify.com/API_KEY/ext/bc/C/ws` -- For X-Chain API, the URL is `wss://ws-nd-123-145-789.p2pify.com/API_KEY/ext/bc/X/events` +For C-Chain API, the regional elastic node URL is `wss://ws-nd-123-145-789.p2pify.com/API_KEY/ext/bc/C/ws`, and the global elastic node URL is wss://avalanche-fuji.core.chainstack.com/ext/bc/C/ws/API_KEY` ### DRPC[​](#drpc "Direct link to heading") diff --git a/content/docs/tooling/rpc-providers.mdx b/content/docs/tooling/rpc-providers.mdx index c3da7b8eba0..7fdfb4682ea 100644 --- a/content/docs/tooling/rpc-providers.mdx +++ b/content/docs/tooling/rpc-providers.mdx @@ -208,10 +208,9 @@ Features: ##### Websockets -Websockets are available for the C-chain and the X-chain. +Websockets are available for the C-chain -- For C-Chain API, the regional elastic node URL is `wss://ws-nd-123-145-789.p2pify.com/API_KEY/ext/bc/C/ws`, and the global elastic node URL is `wss://avalanche-mainnet.core.chainstack.com/ws/ext/bc/C/ws/API_KEY` -- For X-Chain API, the regional elastic node URL is `wss://ws-nd-123-145-789.p2pify.com/API_KEY/ext/bc/X/events`, and the global elastic node URL is `wss://avalanche-mainnet.core.chainstack.com/ws/ext/bc/X/events/API_KEY` +For C-Chain API, the regional elastic node URL is `wss://ws-nd-123-145-789.p2pify.com/API_KEY/ext/bc/C/ws`, and the global elastic node URL is wss://avalanche-mainnet.core.chainstack.com/ext/bc/C/ws/API_KEY` #### Testnet (Fuji) @@ -223,10 +222,9 @@ Websockets are available for the C-chain and the X-chain. ##### Websockets -Websockets are available for the C-chain and the X-chain. +Websockets are available for the C-chain -- For C-Chain API, the URL is `wss://ws-nd-123-145-789.p2pify.com/API_KEY/ext/bc/C/ws` -- For X-Chain API, the URL is `wss://ws-nd-123-145-789.p2pify.com/API_KEY/ext/bc/X/events` +For C-Chain API, the regional elastic node URL is `wss://ws-nd-123-145-789.p2pify.com/API_KEY/ext/bc/C/ws`, and the global elastic node URL is wss://avalanche-fuji.core.chainstack.com/ext/bc/C/ws/API_KEY` ### DRPC