@dedot/chaintypes 0.10.0 → 0.12.0

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.
Files changed (54) hide show
  1. package/index.d.ts +5 -5
  2. package/index.ts +5 -5
  3. package/moonbeam/json-rpc.d.ts +12 -9
  4. package/package.json +2 -2
  5. package/paseo/consts.d.ts +9 -0
  6. package/paseo/events.d.ts +25 -0
  7. package/paseo/index.d.ts +1 -1
  8. package/paseo/tx.d.ts +47 -0
  9. package/paseo/types.d.ts +43 -3
  10. package/kusamaAssetHub/consts.d.ts +0 -765
  11. package/kusamaAssetHub/errors.d.ts +0 -1529
  12. package/kusamaAssetHub/events.d.ts +0 -2443
  13. package/kusamaAssetHub/index.d.ts +0 -27
  14. package/kusamaAssetHub/json-rpc.d.ts +0 -90
  15. package/kusamaAssetHub/query.d.ts +0 -1677
  16. package/kusamaAssetHub/runtime.d.ts +0 -555
  17. package/kusamaAssetHub/tx.d.ts +0 -6364
  18. package/kusamaAssetHub/types.d.ts +0 -6921
  19. package/polkadotAssetHub/consts.d.ts +0 -730
  20. package/polkadotAssetHub/errors.d.ts +0 -1500
  21. package/polkadotAssetHub/events.d.ts +0 -2414
  22. package/polkadotAssetHub/index.d.ts +0 -27
  23. package/polkadotAssetHub/json-rpc.d.ts +0 -90
  24. package/polkadotAssetHub/query.d.ts +0 -1655
  25. package/polkadotAssetHub/runtime.d.ts +0 -558
  26. package/polkadotAssetHub/tx.d.ts +0 -6293
  27. package/polkadotAssetHub/types.d.ts +0 -6829
  28. package/rococoAssetHub/consts.d.ts +0 -835
  29. package/rococoAssetHub/errors.d.ts +0 -1590
  30. package/rococoAssetHub/events.d.ts +0 -2573
  31. package/rococoAssetHub/index.d.ts +0 -27
  32. package/rococoAssetHub/json-rpc.d.ts +0 -90
  33. package/rococoAssetHub/query.d.ts +0 -1829
  34. package/rococoAssetHub/runtime.d.ts +0 -726
  35. package/rococoAssetHub/tx.d.ts +0 -9011
  36. package/rococoAssetHub/types.d.ts +0 -12431
  37. package/westendAssetHub/consts.d.ts +0 -869
  38. package/westendAssetHub/errors.d.ts +0 -1635
  39. package/westendAssetHub/events.d.ts +0 -2610
  40. package/westendAssetHub/index.d.ts +0 -27
  41. package/westendAssetHub/json-rpc.d.ts +0 -90
  42. package/westendAssetHub/query.d.ts +0 -1868
  43. package/westendAssetHub/runtime.d.ts +0 -798
  44. package/westendAssetHub/tx.d.ts +0 -9199
  45. package/westendAssetHub/types.d.ts +0 -12661
  46. package/westendPeople/consts.d.ts +0 -434
  47. package/westendPeople/errors.d.ts +0 -769
  48. package/westendPeople/events.d.ts +0 -1082
  49. package/westendPeople/index.d.ts +0 -27
  50. package/westendPeople/json-rpc.d.ts +0 -89
  51. package/westendPeople/query.d.ts +0 -1209
  52. package/westendPeople/runtime.d.ts +0 -636
  53. package/westendPeople/tx.d.ts +0 -2891
  54. package/westendPeople/types.d.ts +0 -4984
@@ -1,27 +0,0 @@
1
- // Generated by dedot cli
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 VersionedWestendAssetHubApi<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 WestendAssetHubApi {
25
- legacy: VersionedWestendAssetHubApi<RpcLegacy>;
26
- v2: VersionedWestendAssetHubApi<RpcV2>;
27
- }
@@ -1,90 +0,0 @@
1
- // Generated by dedot cli
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
- | 'dev_getBlockStats'
45
- | 'offchain_localStorageGet'
46
- | 'offchain_localStorageSet'
47
- | 'payment_queryFeeDetails'
48
- | 'payment_queryInfo'
49
- | 'rpc_methods'
50
- | 'state_call'
51
- | 'state_getChildReadProof'
52
- | 'state_getKeys'
53
- | 'state_getKeysPaged'
54
- | 'state_getMetadata'
55
- | 'state_getPairs'
56
- | 'state_getReadProof'
57
- | 'state_getRuntimeVersion'
58
- | 'state_getStorage'
59
- | 'state_getStorageHash'
60
- | 'state_getStorageSize'
61
- | 'state_queryStorage'
62
- | 'state_queryStorageAt'
63
- | 'state_subscribeRuntimeVersion'
64
- | 'state_subscribeStorage'
65
- | 'state_traceBlock'
66
- | 'state_trieMigrationStatus'
67
- | 'system_accountNextIndex'
68
- | 'system_addLogFilter'
69
- | 'system_addReservedPeer'
70
- | 'system_chain'
71
- | 'system_chainType'
72
- | 'system_dryRun'
73
- | 'system_health'
74
- | 'system_localListenAddresses'
75
- | 'system_localPeerId'
76
- | 'system_name'
77
- | 'system_nodeRoles'
78
- | 'system_peers'
79
- | 'system_properties'
80
- | 'system_removeReservedPeer'
81
- | 'system_reservedPeers'
82
- | 'system_resetLogFilter'
83
- | 'system_syncState'
84
- | 'system_unstable_networkState'
85
- | 'system_version'
86
- | 'transactionWatch_v1_submitAndWatch'
87
- | 'transaction_v1_broadcast'
88
- | 'transaction_v1_stop'
89
- > &
90
- GenericJsonRpcApis<Rv>;