Skip to content

Commit

Permalink
chore(xcm-api): rename endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
dudo50 committed Nov 20, 2024
1 parent 00a1654 commit f1afc4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/xcm-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,16 +309,16 @@ const response = await fetch(
);

//Retrieve Parachain ID for a particular Parachain
const response = await fetch('http://localhost:3001/assets/:node/para-id');
const response = await fetch('http://localhost:3001/nodes/:node/para-id');

//Retrieve Parachain name from Parachain ID
const response = await fetch('http://localhost:3001/assets/:paraID?ecosystem=polkadot');
const response = await fetch('http://localhost:3001/nodes/:paraID?ecosystem=polkadot');

//Retrieve a list of implemented Parachains
const response = await fetch('http://localhost:3001/nodes');

//Query list of node WS endpoints
const response = await fetch('http://localhost:3001/ws-endpoints/:node ');
const response = await fetch('http://localhost:3001/nodes/:node/ws-endpoints');

//Query supported assets supported between two nodes
const response = await fetch('http://localhost:3001/supported-assets?origin=:node&destination=:node');
Expand Down

0 comments on commit f1afc4e

Please sign in to comment.