123456789101112131415161718192021222324252627282930 |
- import BN from 'bn.js';
- export default {
- chains: {
-
-
-
- Kusama: 'kusama',
- Polkadot: 'polkadot',
- 'Polkadot CC1': 'polkadot-cc1'
- },
- create: (chain: string, path: string, data: BN | number | string): string =>
- `https://polkascan.io/${chain}/${path}/${data.toString()}`,
- isActive: true,
- paths: {
- address: 'account',
- block: 'block',
- council: 'council/motion',
- extrinsic: 'transaction',
- proposal: 'democracy/proposal',
- referendum: 'democracy/referendum',
- techcomm: 'techcomm/proposal',
- treasury: 'treasury/proposal'
- },
- url: 'https://polkascan.io/'
- };
|