Skip to main content

API access

ENDPOINT Rules#

Https access

https://api.elara.patract.io/<Network>/<YOUR-PROJECT-ID>

Websocket access

wss://api.elara.patract.io/<Network>/<YOUR-PROJECT-ID>

Support network#

NETWORKDESCRIPTIONENDPOINT
PolkadotJSON-RPC over HTTPShttps://api.elara.patract.io/Polkadot/YOUR-PROJECT-ID
PolkadotJSON-RPC over WebSocketwss://api.elara.patract.io/Polkadot/YOUR-PROJECT-ID
KusamaJSON-RPC over HTTPShttps://api.elara.patract.io/Kusama/YOUR-PROJECT-ID
KusamaJSON-RPC over WebSocketwss://api.elara.patract.io/Kusama/YOUR-PROJECT-ID
RococoJSON-RPC over HTTPShttps://api.elara.patract.io/Rococo/YOUR-PROJECT-ID
RococoJSON-RPC over WebSocketwss://api.elara.patract.io/Rococo/YOUR-PROJECT-ID
JupiterJSON-RPC over HTTPShttps://api.elara.patract.io/Jupiter/YOUR-PROJECT-ID
JupiterJSON-RPC over WebSocketwss://api.elara.patract.io/Jupiter/YOUR-PROJECT-ID
DarwiniaJSON-RPC over HTTPShttps://api.elara.patract.io/Darwinia/YOUR-PROJECT-ID
DarwiniaJSON-RPC over WebSocketwss://api.elara.patract.io/Darwinia/YOUR-PROJECT-ID
DockJSON-RPC over HTTPShttps://api.elara.patract.io/Dock/YOUR-PROJECT-ID
DockJSON-RPC over WebSocketwss://api.elara.patract.io/Dock/YOUR-PROJECT-ID
EdgewareJSON-RPC over HTTPShttps://api.elara.patract.io/Edgeware/YOUR-PROJECT-ID
EdgewareJSON-RPC over WebSocketwss://api.elara.patract.io/Edgeware/YOUR-PROJECT-ID
KulupuJSON-RPC over HTTPShttps://api.elara.patract.io/Kulupu/YOUR-PROJECT-ID
KulupuJSON-RPC over WebSocketwss://api.elara.patract.io/Kulupu/YOUR-PROJECT-ID
NodleJSON-RPC over HTTPShttps://api.elara.patract.io/Nodle/YOUR-PROJECT-ID
NodleJSON-RPC over WebSocketwss://api.elara.patract.io/Nodle/YOUR-PROJECT-ID
PlasmJSON-RPC over HTTPShttps://api.elara.patract.io/Plasm/YOUR-PROJECT-ID
PlasmJSON-RPC over WebSocketwss://api.elara.patract.io/Plasm/YOUR-PROJECT-ID
StafiJSON-RPC over HTTPShttps://api.elara.patract.io/Stafi/YOUR-PROJECT-ID
StafiJSON-RPC over WebSocketwss://api.elara.patract.io/Stafi/YOUR-PROJECT-ID
Chainx​​JSON-RPC over HTTPShttps://api.elara.patract.io/Chainx/YOUR-PROJECT-ID
Chainx​​JSON-RPC over WebSocketwss://api.elara.patract.io/Chainx/YOUR-PROJECT-ID
MandalaJSON-RPC over HTTPShttps://api.elara.patract.io/Mandala/YOUR-PROJECT-ID
MandalaJSON-RPC over WebSocketwss://api.elara.patract.io/Mandala/YOUR-PROJECT-ID

error code#

If the Substrate RPC method encounters an error, the error member contained in the response object must be an object containing code members and descriptive message members. The following list contains all possible error codes and associated messages:

CODE**MEANING**CATEGORY
-32700Parse errorInvalid JSON
-32600Invalid requestJSON is not a valid request object
-32601Method not foundMethod does not exist
-32602Invalid paramsInvalid method parameters
-32603Internal errorInternal JSON-RPC error
-1CheckAuthenticated Failnon-standard
-2Project Name Emptynon-standard
-3Project Name Error!non-standard
-4Chain Errornon-standard
-5Out Of Limitnon-standard
-6NotActivenon-standard
-7RPC Errornon-standard
-8Project Errornon-standard
-9No Access Allowednon-standard
-10Black Uidnon-standard
-11Duplicate Namenon-standard