Connecting to parachain nodes:
- Kintsugi (by Kintsugi Labs):
wss://api-kusama.interlay.io/parachain - Kintsugi (by OnFinality):
wss://kintsugi.api.onfinality.io/public-ws - Testnet:
wss://api.interlay.io/parachain
| Asset | CURRENCY_ID | CURRENCY_INDEX | DECIMALS |
|---|---|---|---|
| DOT | DOT | 0 | 10 |
| interBTC | INTERBTC | 1 | 8 |
| INTR | INTR | 2 | 10 |
| KSM | KSM | 10 | 12 |
| kBTC | KBTC | 11 | 8 |
| KINT | KINT | 12 | 12 |
?> For any newly added assets, please refer to the on-chain implementation. We will not update the currency id or index of already published assets.
Returns the amount of tokens in the smallest denomination.
api.query.tokens.accounts('address', {Token: CURRENCY_ID})Transfers an amount of tokens in the smallest denomination.
api.tx.tokens.transfer('address', {Token: CURRENCY_ID}, amount)All assets in Kintsugi and Interlay networks are implemented using orml.
- Asset implementation: orml-tokens
- Cross-chain transfer implementation (XCM): orml-xtokens
?> Querying the system account is not supported on Kintsugi or Interlay. Please use the API methods described above to achieve transfers.