@dedot/chaintypes 0.28.0 → 0.29.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.
package/rococo/index.d.ts DELETED
@@ -1,31 +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 VersionedRococoApi<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
- /**
25
- * @name: RococoApi
26
- * @specVersion: 1016001
27
- **/
28
- export interface RococoApi {
29
- legacy: VersionedRococoApi<RpcLegacy>;
30
- v2: VersionedRococoApi<RpcV2>;
31
- }
@@ -1,103 +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
- | 'babe_epochAuthorship'
24
- | 'beefy_getFinalizedHead'
25
- | 'beefy_subscribeJustifications'
26
- | 'chainHead_v1_body'
27
- | 'chainHead_v1_call'
28
- | 'chainHead_v1_continue'
29
- | 'chainHead_v1_follow'
30
- | 'chainHead_v1_header'
31
- | 'chainHead_v1_stopOperation'
32
- | 'chainHead_v1_storage'
33
- | 'chainHead_v1_unpin'
34
- | 'chainSpec_v1_chainName'
35
- | 'chainSpec_v1_genesisHash'
36
- | 'chainSpec_v1_properties'
37
- | 'chain_getBlock'
38
- | 'chain_getBlockHash'
39
- | 'chain_getFinalizedHead'
40
- | 'chain_getHeader'
41
- | 'chain_subscribeAllHeads'
42
- | 'chain_subscribeFinalizedHeads'
43
- | 'chain_subscribeNewHeads'
44
- | 'childstate_getKeys'
45
- | 'childstate_getKeysPaged'
46
- | 'childstate_getStorage'
47
- | 'childstate_getStorageEntries'
48
- | 'childstate_getStorageHash'
49
- | 'childstate_getStorageSize'
50
- | 'grandpa_proveFinality'
51
- | 'grandpa_roundState'
52
- | 'grandpa_subscribeJustifications'
53
- | 'mmr_generateProof'
54
- | 'mmr_root'
55
- | 'mmr_verifyProof'
56
- | 'mmr_verifyProofStateless'
57
- | 'offchain_localStorageGet'
58
- | 'offchain_localStorageSet'
59
- | 'payment_queryFeeDetails'
60
- | 'payment_queryInfo'
61
- | 'rpc_methods'
62
- | 'state_call'
63
- | 'state_getChildReadProof'
64
- | 'state_getKeys'
65
- | 'state_getKeysPaged'
66
- | 'state_getMetadata'
67
- | 'state_getPairs'
68
- | 'state_getReadProof'
69
- | 'state_getRuntimeVersion'
70
- | 'state_getStorage'
71
- | 'state_getStorageHash'
72
- | 'state_getStorageSize'
73
- | 'state_queryStorage'
74
- | 'state_queryStorageAt'
75
- | 'state_subscribeRuntimeVersion'
76
- | 'state_subscribeStorage'
77
- | 'state_traceBlock'
78
- | 'state_trieMigrationStatus'
79
- | 'sync_state_genSyncSpec'
80
- | 'system_accountNextIndex'
81
- | 'system_addLogFilter'
82
- | 'system_addReservedPeer'
83
- | 'system_chain'
84
- | 'system_chainType'
85
- | 'system_dryRun'
86
- | 'system_health'
87
- | 'system_localListenAddresses'
88
- | 'system_localPeerId'
89
- | 'system_name'
90
- | 'system_nodeRoles'
91
- | 'system_peers'
92
- | 'system_properties'
93
- | 'system_removeReservedPeer'
94
- | 'system_reservedPeers'
95
- | 'system_resetLogFilter'
96
- | 'system_syncState'
97
- | 'system_unstable_networkState'
98
- | 'system_version'
99
- | 'transactionWatch_v1_submitAndWatch'
100
- | 'transaction_v1_broadcast'
101
- | 'transaction_v1_stop'
102
- > &
103
- GenericJsonRpcApis<Rv>;