@dedot/chaintypes 0.76.0 → 0.78.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/README.md +8 -4
- package/kusama-people/consts.d.ts +477 -0
- package/kusama-people/errors.d.ts +818 -0
- package/kusama-people/events.d.ts +1108 -0
- package/kusama-people/index.d.ts +31 -0
- package/kusama-people/json-rpc.d.ts +97 -0
- package/kusama-people/query.d.ts +1245 -0
- package/kusama-people/runtime.d.ts +636 -0
- package/kusama-people/tx.d.ts +3153 -0
- package/kusama-people/types.d.ts +5330 -0
- package/package.json +14 -2
- package/paseo-asset-hub/consts.d.ts +788 -0
- package/paseo-asset-hub/errors.d.ts +1539 -0
- package/paseo-asset-hub/events.d.ts +2538 -0
- package/paseo-asset-hub/index.d.ts +31 -0
- package/paseo-asset-hub/json-rpc.d.ts +97 -0
- package/paseo-asset-hub/query.d.ts +1753 -0
- package/paseo-asset-hub/runtime.d.ts +726 -0
- package/paseo-asset-hub/tx.d.ts +9202 -0
- package/paseo-asset-hub/types.d.ts +12526 -0
- package/paseo-people/consts.d.ts +486 -0
- package/paseo-people/errors.d.ts +832 -0
- package/paseo-people/events.d.ts +1172 -0
- package/paseo-people/index.d.ts +31 -0
- package/paseo-people/json-rpc.d.ts +96 -0
- package/paseo-people/query.d.ts +1257 -0
- package/paseo-people/runtime.d.ts +636 -0
- package/paseo-people/tx.d.ts +3273 -0
- package/paseo-people/types.d.ts +5460 -0
- package/polkadot-people/consts.d.ts +477 -0
- package/polkadot-people/errors.d.ts +818 -0
- package/polkadot-people/events.d.ts +1108 -0
- package/polkadot-people/index.d.ts +31 -0
- package/polkadot-people/json-rpc.d.ts +97 -0
- package/polkadot-people/query.d.ts +1245 -0
- package/polkadot-people/runtime.d.ts +636 -0
- package/polkadot-people/tx.d.ts +3153 -0
- package/polkadot-people/types.d.ts +5349 -0
- package/westend/json-rpc.d.ts +10 -10
- package/westend-asset-hub/json-rpc.d.ts +10 -10
- package/westend-people/json-rpc.d.ts +11 -10
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// Generated by dedot cli
|
|
2
|
+
|
|
3
|
+
import type { GenericSubstrateApi, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
|
|
4
|
+
import { ChainConsts } from './consts.js';
|
|
5
|
+
import { ChainStorage } from './query.js';
|
|
6
|
+
import { ChainJsonRpcApis } from './json-rpc.js';
|
|
7
|
+
import { ChainErrors } from './errors.js';
|
|
8
|
+
import { ChainEvents } from './events.js';
|
|
9
|
+
import { RuntimeApis } from './runtime.js';
|
|
10
|
+
import { ChainTx } from './tx.js';
|
|
11
|
+
|
|
12
|
+
export * from './types.js';
|
|
13
|
+
|
|
14
|
+
export interface VersionedKusamaPeopleApi<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: KusamaPeopleApi
|
|
26
|
+
* @specVersion: 1004000
|
|
27
|
+
**/
|
|
28
|
+
export interface KusamaPeopleApi {
|
|
29
|
+
legacy: VersionedKusamaPeopleApi<RpcLegacy>;
|
|
30
|
+
v2: VersionedKusamaPeopleApi<RpcV2>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
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_v1_body'
|
|
9
|
+
| 'archive_v1_call'
|
|
10
|
+
| 'archive_v1_finalizedHeight'
|
|
11
|
+
| 'archive_v1_genesisHash'
|
|
12
|
+
| 'archive_v1_hashByHeight'
|
|
13
|
+
| 'archive_v1_header'
|
|
14
|
+
| 'archive_v1_stopStorage'
|
|
15
|
+
| 'archive_v1_storage'
|
|
16
|
+
| 'archive_v1_storageDiff'
|
|
17
|
+
| 'archive_v1_storageDiff_stopStorageDiff'
|
|
18
|
+
| 'author_hasKey'
|
|
19
|
+
| 'author_hasSessionKeys'
|
|
20
|
+
| 'author_insertKey'
|
|
21
|
+
| 'author_pendingExtrinsics'
|
|
22
|
+
| 'author_removeExtrinsic'
|
|
23
|
+
| 'author_rotateKeys'
|
|
24
|
+
| 'author_submitAndWatchExtrinsic'
|
|
25
|
+
| 'author_submitExtrinsic'
|
|
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
|
+
| 'dev_getBlockStats'
|
|
51
|
+
| 'offchain_localStorageClear'
|
|
52
|
+
| 'offchain_localStorageGet'
|
|
53
|
+
| 'offchain_localStorageSet'
|
|
54
|
+
| 'payment_queryFeeDetails'
|
|
55
|
+
| 'payment_queryInfo'
|
|
56
|
+
| 'rpc_methods'
|
|
57
|
+
| 'state_call'
|
|
58
|
+
| 'state_getChildReadProof'
|
|
59
|
+
| 'state_getKeys'
|
|
60
|
+
| 'state_getKeysPaged'
|
|
61
|
+
| 'state_getMetadata'
|
|
62
|
+
| 'state_getPairs'
|
|
63
|
+
| 'state_getReadProof'
|
|
64
|
+
| 'state_getRuntimeVersion'
|
|
65
|
+
| 'state_getStorage'
|
|
66
|
+
| 'state_getStorageHash'
|
|
67
|
+
| 'state_getStorageSize'
|
|
68
|
+
| 'state_queryStorage'
|
|
69
|
+
| 'state_queryStorageAt'
|
|
70
|
+
| 'state_subscribeRuntimeVersion'
|
|
71
|
+
| 'state_subscribeStorage'
|
|
72
|
+
| 'state_traceBlock'
|
|
73
|
+
| 'state_trieMigrationStatus'
|
|
74
|
+
| 'system_accountNextIndex'
|
|
75
|
+
| 'system_addLogFilter'
|
|
76
|
+
| 'system_addReservedPeer'
|
|
77
|
+
| 'system_chain'
|
|
78
|
+
| 'system_chainType'
|
|
79
|
+
| 'system_dryRun'
|
|
80
|
+
| 'system_health'
|
|
81
|
+
| 'system_localListenAddresses'
|
|
82
|
+
| 'system_localPeerId'
|
|
83
|
+
| 'system_name'
|
|
84
|
+
| 'system_nodeRoles'
|
|
85
|
+
| 'system_peers'
|
|
86
|
+
| 'system_properties'
|
|
87
|
+
| 'system_removeReservedPeer'
|
|
88
|
+
| 'system_reservedPeers'
|
|
89
|
+
| 'system_resetLogFilter'
|
|
90
|
+
| 'system_syncState'
|
|
91
|
+
| 'system_unstable_networkState'
|
|
92
|
+
| 'system_version'
|
|
93
|
+
| 'transactionWatch_v1_submitAndWatch'
|
|
94
|
+
| 'transaction_v1_broadcast'
|
|
95
|
+
| 'transaction_v1_stop'
|
|
96
|
+
> &
|
|
97
|
+
GenericJsonRpcApis<Rv>;
|