⚠️Blast API (blastapi.io) ends Oct 31. Migrate to Dwellir and skip Alchemy's expensive compute units.
Switch Today →
Skip to main content

system_properties - JSON-RPC Method

Description

Retrieves static runtime configuration published by Enjin Matrix nodes, including the SS58 address prefix and token metadata. These values help wallets, explorers, and SDKs encode addresses and format balances correctly.

Parameters

No parameters are required.

Returns

FieldTypeDescription
ss58FormatnumberSS58 prefix used for address encoding (1110 for Matrix mainnet)
tokenDecimalsnumberToken decimal precision (ENJ = 18)
tokenSymbolstringTicker symbol for the native token (ENJ)

Request Example

{
"jsonrpc": "2.0",
"method": "system_properties",
"params": [],
"id": 1
}

Response Example

{
"jsonrpc": "2.0",
"result": {
"ss58Format": 1110,
"tokenDecimals": 18,
"tokenSymbol": "ENJ"
},
"id": 1
}

Code Examples

cURL

curl https://api-enjin-matrixchain.n.dwellir.com/YOUR_API_KEY \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "system_properties",
"params": [],
"id": 1
}'

JavaScript

const response = await fetch('https://api-enjin-matrixchain.n.dwellir.com/YOUR_API_KEY', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
jsonrpc: '2.0',
method: 'system_properties',
params: [],
id: 1
})
});

const { result } = await response.json();
console.log(result.ss58Format); // 1110
console.log(result.tokenSymbol[0]); // ENJ

Python

import json
import requests

payload = {
"jsonrpc": "2.0",
"method": "system_properties",
"params": [],
"id": 1,
}

properties = requests.post(
"https://api-enjin-matrixchain.n.dwellir.com/YOUR_API_KEY",
headers={"Content-Type": "application/json"},
data=json.dumps(payload),
timeout=10,
).json()["result"]

print(properties)

Integration Notes

  • Configure address encoding libraries (e.g. @polkadot/util-crypto) with prefix 1110 for Matrixchain accounts.
  • Use the reported decimals when normalizing ENJ balances for UI display or analytics.
  • Canary and relay networks expose different SS58 prefixes; capture the value from properties instead of hard-coding.