@dedot/chaintypes 0.99.0 → 0.100.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 +3 -0
- package/basilisk/consts.d.ts +1183 -0
- package/basilisk/errors.d.ts +2631 -0
- package/basilisk/events.d.ts +3297 -0
- package/basilisk/index.d.ts +31 -0
- package/basilisk/json-rpc.d.ts +92 -0
- package/basilisk/query.d.ts +2380 -0
- package/basilisk/runtime.d.ts +272 -0
- package/basilisk/tx.d.ts +9095 -0
- package/basilisk/types.d.ts +13749 -0
- package/hydration/consts.d.ts +1854 -0
- package/hydration/errors.d.ts +3914 -0
- package/hydration/events.d.ts +4364 -0
- package/hydration/index.d.ts +31 -0
- package/hydration/json-rpc.d.ts +141 -0
- package/hydration/query.d.ts +3243 -0
- package/hydration/runtime.d.ts +940 -0
- package/hydration/tx.d.ts +12766 -0
- package/hydration/types.d.ts +18995 -0
- package/index.d.ts +11 -4
- package/package.json +18 -3
- package/paseo-hydration/consts.d.ts +1854 -0
- package/paseo-hydration/errors.d.ts +3919 -0
- package/paseo-hydration/events.d.ts +4367 -0
- package/paseo-hydration/index.d.ts +31 -0
- package/paseo-hydration/json-rpc.d.ts +138 -0
- package/paseo-hydration/query.d.ts +3256 -0
- package/paseo-hydration/runtime.d.ts +968 -0
- package/paseo-hydration/tx.d.ts +12848 -0
- package/paseo-hydration/types.d.ts +19032 -0
|
@@ -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 VersionedBasiliskApi<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: BasiliskApi
|
|
26
|
+
* @specVersion: 125
|
|
27
|
+
**/
|
|
28
|
+
export interface BasiliskApi {
|
|
29
|
+
legacy: VersionedBasiliskApi<RpcLegacy>;
|
|
30
|
+
v2: VersionedBasiliskApi<RpcV2>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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
|
+
| 'chainSpec_v1_chainName'
|
|
32
|
+
| 'chainSpec_v1_genesisHash'
|
|
33
|
+
| 'chainSpec_v1_properties'
|
|
34
|
+
| 'chain_getBlock'
|
|
35
|
+
| 'chain_getBlockHash'
|
|
36
|
+
| 'chain_getFinalizedHead'
|
|
37
|
+
| 'chain_getHeader'
|
|
38
|
+
| 'chain_subscribeAllHeads'
|
|
39
|
+
| 'chain_subscribeFinalizedHeads'
|
|
40
|
+
| 'chain_subscribeNewHeads'
|
|
41
|
+
| 'childstate_getKeys'
|
|
42
|
+
| 'childstate_getKeysPaged'
|
|
43
|
+
| 'childstate_getStorage'
|
|
44
|
+
| 'childstate_getStorageEntries'
|
|
45
|
+
| 'childstate_getStorageHash'
|
|
46
|
+
| 'childstate_getStorageSize'
|
|
47
|
+
| 'offchain_localStorageGet'
|
|
48
|
+
| 'offchain_localStorageSet'
|
|
49
|
+
| 'payment_queryFeeDetails'
|
|
50
|
+
| 'payment_queryInfo'
|
|
51
|
+
| 'rpc_methods'
|
|
52
|
+
| 'state_call'
|
|
53
|
+
| 'state_getChildReadProof'
|
|
54
|
+
| 'state_getKeys'
|
|
55
|
+
| 'state_getKeysPaged'
|
|
56
|
+
| 'state_getMetadata'
|
|
57
|
+
| 'state_getPairs'
|
|
58
|
+
| 'state_getReadProof'
|
|
59
|
+
| 'state_getRuntimeVersion'
|
|
60
|
+
| 'state_getStorage'
|
|
61
|
+
| 'state_getStorageHash'
|
|
62
|
+
| 'state_getStorageSize'
|
|
63
|
+
| 'state_queryStorage'
|
|
64
|
+
| 'state_queryStorageAt'
|
|
65
|
+
| 'state_subscribeRuntimeVersion'
|
|
66
|
+
| 'state_subscribeStorage'
|
|
67
|
+
| 'state_traceBlock'
|
|
68
|
+
| 'state_trieMigrationStatus'
|
|
69
|
+
| 'system_accountNextIndex'
|
|
70
|
+
| 'system_addLogFilter'
|
|
71
|
+
| 'system_addReservedPeer'
|
|
72
|
+
| 'system_chain'
|
|
73
|
+
| 'system_chainType'
|
|
74
|
+
| 'system_dryRun'
|
|
75
|
+
| 'system_health'
|
|
76
|
+
| 'system_localListenAddresses'
|
|
77
|
+
| 'system_localPeerId'
|
|
78
|
+
| 'system_name'
|
|
79
|
+
| 'system_nodeRoles'
|
|
80
|
+
| 'system_peers'
|
|
81
|
+
| 'system_properties'
|
|
82
|
+
| 'system_removeReservedPeer'
|
|
83
|
+
| 'system_reservedPeers'
|
|
84
|
+
| 'system_resetLogFilter'
|
|
85
|
+
| 'system_syncState'
|
|
86
|
+
| 'system_unstable_networkState'
|
|
87
|
+
| 'system_version'
|
|
88
|
+
| 'transactionWatch_v1_submitAndWatch'
|
|
89
|
+
| 'transaction_v1_broadcast'
|
|
90
|
+
| 'transaction_v1_stop'
|
|
91
|
+
> &
|
|
92
|
+
GenericJsonRpcApis<Rv>;
|