system_properties
Returns static chain configuration values such as token symbol, decimals, and SS58 address format. Use this to configure wallets, indexers, and explorers targeting Manta Atlantic.
Parametersβ
This method does not take parameters.
Returnsβ
Field | Type | Description |
---|---|---|
result.ss58format | number | SS58 network identifier (77 for Manta Atlantic). |
result.tokenSymbol | string or array | Symbol(s) of native tokens (MANTA ). |
result.tokenDecimals | number or array | Decimal precision (18). |
Response Snapshotβ
{
"jsonrpc": "2.0",
"result": {
"ss58format": 77,
"tokenDecimals": 18,
"tokenSymbol": "MANTA"
},
"id": 1
}
Usage Examplesβ
import { ApiPromise, WsProvider } from '@polkadot/api';
const provider = new WsProvider('wss://api-manta-atlantic-mainnet.n.dwellir.com/YOUR_API_KEY');
const api = await ApiPromise.create({ provider });
const props = await api.rpc.system.properties();
console.log(props.toHuman());
import json
import requests
resp = requests.post(
"https://api-manta-atlantic-mainnet.n.dwellir.com/YOUR_API_KEY",
headers={"Content-Type": "application/json"},
data=json.dumps({
"jsonrpc": "2.0",
"method": "system_properties",
"params": [],
"id": 1
}),
timeout=10,
)
print(resp.json()["result"])
Operational Tipsβ
- Use
ss58format = 77
when encoding addresses; mismatched formats will yield different checksums. - Update UI displays to use 18 decimalsβ
1 MANTA = 10^18 planck
. - Some parachain runtimes return arrays for multi-token chains; handle both string and array forms defensively.