@dedot/chaintypes 0.11.0 → 0.13.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 (57) hide show
  1. package/astar/consts.d.ts +25 -12
  2. package/astar/errors.d.ts +1 -6
  3. package/astar/events.d.ts +0 -68
  4. package/astar/index.d.ts +1 -1
  5. package/astar/query.d.ts +18 -31
  6. package/astar/runtime.d.ts +151 -14
  7. package/astar/tx.d.ts +114 -13
  8. package/astar/types.d.ts +185 -121
  9. package/index.d.ts +5 -5
  10. package/index.ts +5 -5
  11. package/moonbeam/json-rpc.d.ts +12 -9
  12. package/package.json +2 -2
  13. package/kusamaAssetHub/consts.d.ts +0 -765
  14. package/kusamaAssetHub/errors.d.ts +0 -1529
  15. package/kusamaAssetHub/events.d.ts +0 -2443
  16. package/kusamaAssetHub/index.d.ts +0 -27
  17. package/kusamaAssetHub/json-rpc.d.ts +0 -90
  18. package/kusamaAssetHub/query.d.ts +0 -1677
  19. package/kusamaAssetHub/runtime.d.ts +0 -555
  20. package/kusamaAssetHub/tx.d.ts +0 -6364
  21. package/kusamaAssetHub/types.d.ts +0 -6921
  22. package/polkadotAssetHub/consts.d.ts +0 -730
  23. package/polkadotAssetHub/errors.d.ts +0 -1500
  24. package/polkadotAssetHub/events.d.ts +0 -2414
  25. package/polkadotAssetHub/index.d.ts +0 -27
  26. package/polkadotAssetHub/json-rpc.d.ts +0 -90
  27. package/polkadotAssetHub/query.d.ts +0 -1655
  28. package/polkadotAssetHub/runtime.d.ts +0 -558
  29. package/polkadotAssetHub/tx.d.ts +0 -6293
  30. package/polkadotAssetHub/types.d.ts +0 -6829
  31. package/rococoAssetHub/consts.d.ts +0 -835
  32. package/rococoAssetHub/errors.d.ts +0 -1590
  33. package/rococoAssetHub/events.d.ts +0 -2573
  34. package/rococoAssetHub/index.d.ts +0 -27
  35. package/rococoAssetHub/json-rpc.d.ts +0 -90
  36. package/rococoAssetHub/query.d.ts +0 -1829
  37. package/rococoAssetHub/runtime.d.ts +0 -726
  38. package/rococoAssetHub/tx.d.ts +0 -9011
  39. package/rococoAssetHub/types.d.ts +0 -12431
  40. package/westendAssetHub/consts.d.ts +0 -869
  41. package/westendAssetHub/errors.d.ts +0 -1635
  42. package/westendAssetHub/events.d.ts +0 -2610
  43. package/westendAssetHub/index.d.ts +0 -27
  44. package/westendAssetHub/json-rpc.d.ts +0 -90
  45. package/westendAssetHub/query.d.ts +0 -1868
  46. package/westendAssetHub/runtime.d.ts +0 -798
  47. package/westendAssetHub/tx.d.ts +0 -9199
  48. package/westendAssetHub/types.d.ts +0 -12661
  49. package/westendPeople/consts.d.ts +0 -434
  50. package/westendPeople/errors.d.ts +0 -769
  51. package/westendPeople/events.d.ts +0 -1082
  52. package/westendPeople/index.d.ts +0 -27
  53. package/westendPeople/json-rpc.d.ts +0 -89
  54. package/westendPeople/query.d.ts +0 -1209
  55. package/westendPeople/runtime.d.ts +0 -636
  56. package/westendPeople/tx.d.ts +0 -2891
  57. 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>;