From 2ca4b89af53ee31c1ec021a052beef512fa5bfbf Mon Sep 17 00:00:00 2001 From: Dusan Morhac <55763425+dudo50@users.noreply.github.com> Date: Sun, 17 Nov 2024 22:54:55 +0100 Subject: [PATCH] chode(xcm-api): Update readme --- apps/xcm-api/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/xcm-api/README.md b/apps/xcm-api/README.md index 0c521b85..8c3b89cd 100644 --- a/apps/xcm-api/README.md +++ b/apps/xcm-api/README.md @@ -315,7 +315,13 @@ const response = await fetch('http://localhost:3001/assets/:node/para-id'); const response = await fetch('http://localhost:3001/assets/:paraID?ecosystem=polkadot'); //Retrieve a list of implemented Parachains -const response = await fetch('http://localhost:3001/assets'); +const response = await fetch('http://localhost:3001/nodes'); + +//Query list of node WS endpoints +const response = await fetch('http://localhost:3001/ws-endpoints/:node '); + +//Query supported assets supported between two nodes +const response = await fetch('http://localhost:3001/supported-assets?origin=:node&destination=:node'); //Query native asset balance const response = await fetch("http://localhost:3001/balance/:node/native", {