@dedot/chaintypes 0.0.1-alpha.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +5 -0
- package/aleph/consts.d.ts +676 -0
- package/aleph/errors.d.ts +1054 -0
- package/aleph/events.d.ts +1201 -0
- package/aleph/index.d.ts +27 -0
- package/aleph/json-rpc.d.ts +85 -0
- package/aleph/query.d.ts +1573 -0
- package/aleph/runtime.d.ts +596 -0
- package/aleph/tx.d.ts +3440 -0
- package/aleph/types.d.ts +3951 -0
- package/astar/consts.d.ts +737 -0
- package/astar/errors.d.ts +1508 -0
- package/astar/events.d.ts +1878 -0
- package/astar/index.d.ts +27 -0
- package/astar/json-rpc.d.ts +131 -0
- package/astar/query.d.ts +1851 -0
- package/astar/runtime.d.ts +803 -0
- package/astar/tx.d.ts +4516 -0
- package/astar/types.d.ts +6141 -0
- package/index.d.ts +11 -0
- package/index.js +1 -0
- package/index.ts +11 -0
- package/kusama/consts.d.ts +1578 -0
- package/kusama/errors.d.ts +3152 -0
- package/kusama/events.d.ts +3579 -0
- package/kusama/index.d.ts +27 -0
- package/kusama/json-rpc.d.ts +103 -0
- package/kusama/query.d.ts +4229 -0
- package/kusama/runtime.d.ts +1196 -0
- package/kusama/tx.d.ts +9040 -0
- package/kusama/types.d.ts +11369 -0
- package/kusamaAssetHub/consts.d.ts +759 -0
- package/kusamaAssetHub/errors.d.ts +1494 -0
- package/kusamaAssetHub/events.d.ts +2491 -0
- package/kusamaAssetHub/index.d.ts +27 -0
- package/kusamaAssetHub/json-rpc.d.ts +89 -0
- package/kusamaAssetHub/query.d.ts +1662 -0
- package/kusamaAssetHub/runtime.d.ts +555 -0
- package/kusamaAssetHub/tx.d.ts +6192 -0
- package/kusamaAssetHub/types.d.ts +6831 -0
- package/moonbeam/consts.d.ts +1010 -0
- package/moonbeam/errors.d.ts +1932 -0
- package/moonbeam/events.d.ts +2928 -0
- package/moonbeam/index.d.ts +27 -0
- package/moonbeam/json-rpc.d.ts +137 -0
- package/moonbeam/query.d.ts +2282 -0
- package/moonbeam/runtime.d.ts +724 -0
- package/moonbeam/tx.d.ts +6222 -0
- package/moonbeam/types.d.ts +8165 -0
- package/package.json +25 -0
- package/polkadot/consts.d.ts +1313 -0
- package/polkadot/errors.d.ts +2575 -0
- package/polkadot/events.d.ts +2757 -0
- package/polkadot/index.d.ts +27 -0
- package/polkadot/json-rpc.d.ts +103 -0
- package/polkadot/query.d.ts +3693 -0
- package/polkadot/runtime.d.ts +1196 -0
- package/polkadot/tx.d.ts +7706 -0
- package/polkadot/types.d.ts +9893 -0
- package/polkadotAssetHub/consts.d.ts +724 -0
- package/polkadotAssetHub/errors.d.ts +1465 -0
- package/polkadotAssetHub/events.d.ts +2462 -0
- package/polkadotAssetHub/index.d.ts +27 -0
- package/polkadotAssetHub/json-rpc.d.ts +89 -0
- package/polkadotAssetHub/query.d.ts +1640 -0
- package/polkadotAssetHub/runtime.d.ts +558 -0
- package/polkadotAssetHub/tx.d.ts +6121 -0
- package/polkadotAssetHub/types.d.ts +6739 -0
- package/rococo/consts.d.ts +1423 -0
- package/rococo/errors.d.ts +2783 -0
- package/rococo/events.d.ts +3361 -0
- package/rococo/index.d.ts +27 -0
- package/rococo/json-rpc.d.ts +103 -0
- package/rococo/query.d.ts +3561 -0
- package/rococo/runtime.d.ts +1257 -0
- package/rococo/tx.d.ts +10721 -0
- package/rococo/types.d.ts +14828 -0
- package/rococoAssetHub/consts.d.ts +787 -0
- package/rococoAssetHub/errors.d.ts +1523 -0
- package/rococoAssetHub/events.d.ts +2517 -0
- package/rococoAssetHub/index.d.ts +27 -0
- package/rococoAssetHub/json-rpc.d.ts +89 -0
- package/rococoAssetHub/query.d.ts +1682 -0
- package/rococoAssetHub/runtime.d.ts +704 -0
- package/rococoAssetHub/tx.d.ts +9013 -0
- package/rococoAssetHub/types.d.ts +12352 -0
- package/substrate/consts.d.ts +2223 -0
- package/substrate/errors.d.ts +4023 -0
- package/substrate/events.d.ts +5430 -0
- package/substrate/index.d.ts +27 -0
- package/substrate/json-rpc.d.ts +101 -0
- package/substrate/query.d.ts +4083 -0
- package/substrate/runtime.d.ts +971 -0
- package/substrate/tx.d.ts +12501 -0
- package/substrate/types.d.ts +13380 -0
- package/westendAssetHub/consts.d.ts +787 -0
- package/westendAssetHub/errors.d.ts +1523 -0
- package/westendAssetHub/events.d.ts +2477 -0
- package/westendAssetHub/index.d.ts +27 -0
- package/westendAssetHub/json-rpc.d.ts +89 -0
- package/westendAssetHub/query.d.ts +1656 -0
- package/westendAssetHub/runtime.d.ts +652 -0
- package/westendAssetHub/tx.d.ts +8984 -0
- package/westendAssetHub/types.d.ts +12292 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// Generated by @dedot/codegen
|
|
2
|
+
|
|
3
|
+
import type { GenericSubstrateApi, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
|
|
4
|
+
import { ChainConsts } from './consts';
|
|
5
|
+
import { ChainStorage } from './query';
|
|
6
|
+
import { ChainJsonRpcApis } from './json-rpc';
|
|
7
|
+
import { ChainErrors } from './errors';
|
|
8
|
+
import { ChainEvents } from './events';
|
|
9
|
+
import { RuntimeApis } from './runtime';
|
|
10
|
+
import { ChainTx } from './tx';
|
|
11
|
+
|
|
12
|
+
export * from './types';
|
|
13
|
+
|
|
14
|
+
export interface VersionedKusamaAssetHubApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
15
|
+
rpc: ChainJsonRpcApis<Rv>;
|
|
16
|
+
consts: ChainConsts<Rv>;
|
|
17
|
+
query: ChainStorage<Rv>;
|
|
18
|
+
errors: ChainErrors<Rv>;
|
|
19
|
+
events: ChainEvents<Rv>;
|
|
20
|
+
call: RuntimeApis<Rv>;
|
|
21
|
+
tx: ChainTx<Rv>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface KusamaAssetHubApi {
|
|
25
|
+
legacy: VersionedKusamaAssetHubApi<RpcLegacy>;
|
|
26
|
+
v2: VersionedKusamaAssetHubApi<RpcV2>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
// Generated by @dedot/codegen
|
|
2
|
+
|
|
3
|
+
import type { GenericJsonRpcApis, RpcVersion } from 'dedot/types';
|
|
4
|
+
import type { JsonRpcApis } from 'dedot/types/json-rpc';
|
|
5
|
+
|
|
6
|
+
export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
|
|
7
|
+
JsonRpcApis,
|
|
8
|
+
| 'archive_unstable_body'
|
|
9
|
+
| 'archive_unstable_call'
|
|
10
|
+
| 'archive_unstable_finalizedHeight'
|
|
11
|
+
| 'archive_unstable_genesisHash'
|
|
12
|
+
| 'archive_unstable_hashByHeight'
|
|
13
|
+
| 'archive_unstable_header'
|
|
14
|
+
| 'archive_unstable_storage'
|
|
15
|
+
| 'author_hasKey'
|
|
16
|
+
| 'author_hasSessionKeys'
|
|
17
|
+
| 'author_insertKey'
|
|
18
|
+
| 'author_pendingExtrinsics'
|
|
19
|
+
| 'author_removeExtrinsic'
|
|
20
|
+
| 'author_rotateKeys'
|
|
21
|
+
| 'author_submitAndWatchExtrinsic'
|
|
22
|
+
| 'author_submitExtrinsic'
|
|
23
|
+
| 'chainHead_v1_body'
|
|
24
|
+
| 'chainHead_v1_call'
|
|
25
|
+
| 'chainHead_v1_continue'
|
|
26
|
+
| 'chainHead_v1_follow'
|
|
27
|
+
| 'chainHead_v1_header'
|
|
28
|
+
| 'chainHead_v1_stopOperation'
|
|
29
|
+
| 'chainHead_v1_storage'
|
|
30
|
+
| 'chainHead_v1_unpin'
|
|
31
|
+
| 'chain_getBlock'
|
|
32
|
+
| 'chain_getBlockHash'
|
|
33
|
+
| 'chain_getFinalizedHead'
|
|
34
|
+
| 'chain_getHeader'
|
|
35
|
+
| 'chain_subscribeAllHeads'
|
|
36
|
+
| 'chain_subscribeFinalizedHeads'
|
|
37
|
+
| 'chain_subscribeNewHeads'
|
|
38
|
+
| 'childstate_getKeys'
|
|
39
|
+
| 'childstate_getKeysPaged'
|
|
40
|
+
| 'childstate_getStorage'
|
|
41
|
+
| 'childstate_getStorageEntries'
|
|
42
|
+
| 'childstate_getStorageHash'
|
|
43
|
+
| 'childstate_getStorageSize'
|
|
44
|
+
| 'offchain_localStorageGet'
|
|
45
|
+
| 'offchain_localStorageSet'
|
|
46
|
+
| 'payment_queryFeeDetails'
|
|
47
|
+
| 'payment_queryInfo'
|
|
48
|
+
| 'rpc_methods'
|
|
49
|
+
| 'state_call'
|
|
50
|
+
| 'state_getChildReadProof'
|
|
51
|
+
| 'state_getKeys'
|
|
52
|
+
| 'state_getKeysPaged'
|
|
53
|
+
| 'state_getMetadata'
|
|
54
|
+
| 'state_getPairs'
|
|
55
|
+
| 'state_getReadProof'
|
|
56
|
+
| 'state_getRuntimeVersion'
|
|
57
|
+
| 'state_getStorage'
|
|
58
|
+
| 'state_getStorageHash'
|
|
59
|
+
| 'state_getStorageSize'
|
|
60
|
+
| 'state_queryStorage'
|
|
61
|
+
| 'state_queryStorageAt'
|
|
62
|
+
| 'state_subscribeRuntimeVersion'
|
|
63
|
+
| 'state_subscribeStorage'
|
|
64
|
+
| 'state_traceBlock'
|
|
65
|
+
| 'state_trieMigrationStatus'
|
|
66
|
+
| 'system_accountNextIndex'
|
|
67
|
+
| 'system_addLogFilter'
|
|
68
|
+
| 'system_addReservedPeer'
|
|
69
|
+
| 'system_chain'
|
|
70
|
+
| 'system_chainType'
|
|
71
|
+
| 'system_dryRun'
|
|
72
|
+
| 'system_health'
|
|
73
|
+
| 'system_localListenAddresses'
|
|
74
|
+
| 'system_localPeerId'
|
|
75
|
+
| 'system_name'
|
|
76
|
+
| 'system_nodeRoles'
|
|
77
|
+
| 'system_peers'
|
|
78
|
+
| 'system_properties'
|
|
79
|
+
| 'system_removeReservedPeer'
|
|
80
|
+
| 'system_reservedPeers'
|
|
81
|
+
| 'system_resetLogFilter'
|
|
82
|
+
| 'system_syncState'
|
|
83
|
+
| 'system_unstable_networkState'
|
|
84
|
+
| 'system_version'
|
|
85
|
+
| 'transactionWatch_v1_submitAndWatch'
|
|
86
|
+
| 'transaction_v1_broadcast'
|
|
87
|
+
| 'transaction_v1_stop'
|
|
88
|
+
> &
|
|
89
|
+
GenericJsonRpcApis<Rv>;
|