@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 VersionedPaseoHydrationApi<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: PaseoHydrationApi
|
|
26
|
+
* @specVersion: 312
|
|
27
|
+
**/
|
|
28
|
+
export interface PaseoHydrationApi {
|
|
29
|
+
legacy: VersionedPaseoHydrationApi<RpcLegacy>;
|
|
30
|
+
v2: VersionedPaseoHydrationApi<RpcV2>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
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
|
+
| 'eth_accounts'
|
|
45
|
+
| 'eth_blockNumber'
|
|
46
|
+
| 'eth_call'
|
|
47
|
+
| 'eth_chainId'
|
|
48
|
+
| 'eth_coinbase'
|
|
49
|
+
| 'eth_estimateGas'
|
|
50
|
+
| 'eth_feeHistory'
|
|
51
|
+
| 'eth_gasPrice'
|
|
52
|
+
| 'eth_getBalance'
|
|
53
|
+
| 'eth_getBlockByHash'
|
|
54
|
+
| 'eth_getBlockByNumber'
|
|
55
|
+
| 'eth_getBlockReceipts'
|
|
56
|
+
| 'eth_getBlockTransactionCountByHash'
|
|
57
|
+
| 'eth_getBlockTransactionCountByNumber'
|
|
58
|
+
| 'eth_getCode'
|
|
59
|
+
| 'eth_getFilterChanges'
|
|
60
|
+
| 'eth_getFilterLogs'
|
|
61
|
+
| 'eth_getLogs'
|
|
62
|
+
| 'eth_getStorageAt'
|
|
63
|
+
| 'eth_getTransactionByBlockHashAndIndex'
|
|
64
|
+
| 'eth_getTransactionByBlockNumberAndIndex'
|
|
65
|
+
| 'eth_getTransactionByHash'
|
|
66
|
+
| 'eth_getTransactionCount'
|
|
67
|
+
| 'eth_getTransactionReceipt'
|
|
68
|
+
| 'eth_getUncleByBlockHashAndIndex'
|
|
69
|
+
| 'eth_getUncleByBlockNumberAndIndex'
|
|
70
|
+
| 'eth_getUncleCountByBlockHash'
|
|
71
|
+
| 'eth_getUncleCountByBlockNumber'
|
|
72
|
+
| 'eth_getWork'
|
|
73
|
+
| 'eth_hashrate'
|
|
74
|
+
| 'eth_maxPriorityFeePerGas'
|
|
75
|
+
| 'eth_mining'
|
|
76
|
+
| 'eth_newBlockFilter'
|
|
77
|
+
| 'eth_newFilter'
|
|
78
|
+
| 'eth_newPendingTransactionFilter'
|
|
79
|
+
| 'eth_protocolVersion'
|
|
80
|
+
| 'eth_sendRawTransaction'
|
|
81
|
+
| 'eth_sendTransaction'
|
|
82
|
+
| 'eth_submitHashrate'
|
|
83
|
+
| 'eth_submitWork'
|
|
84
|
+
| 'eth_subscribe'
|
|
85
|
+
| 'eth_syncing'
|
|
86
|
+
| 'eth_uninstallFilter'
|
|
87
|
+
| 'eth_unsubscribe'
|
|
88
|
+
| 'net_listening'
|
|
89
|
+
| 'net_peerCount'
|
|
90
|
+
| 'net_version'
|
|
91
|
+
| 'offchain_localStorageGet'
|
|
92
|
+
| 'offchain_localStorageSet'
|
|
93
|
+
| 'payment_queryFeeDetails'
|
|
94
|
+
| 'payment_queryInfo'
|
|
95
|
+
| 'rpc_methods'
|
|
96
|
+
| 'state_call'
|
|
97
|
+
| 'state_getChildReadProof'
|
|
98
|
+
| 'state_getKeys'
|
|
99
|
+
| 'state_getKeysPaged'
|
|
100
|
+
| 'state_getMetadata'
|
|
101
|
+
| 'state_getPairs'
|
|
102
|
+
| 'state_getReadProof'
|
|
103
|
+
| 'state_getRuntimeVersion'
|
|
104
|
+
| 'state_getStorage'
|
|
105
|
+
| 'state_getStorageHash'
|
|
106
|
+
| 'state_getStorageSize'
|
|
107
|
+
| 'state_queryStorage'
|
|
108
|
+
| 'state_queryStorageAt'
|
|
109
|
+
| 'state_subscribeRuntimeVersion'
|
|
110
|
+
| 'state_subscribeStorage'
|
|
111
|
+
| 'state_traceBlock'
|
|
112
|
+
| 'state_trieMigrationStatus'
|
|
113
|
+
| 'system_accountNextIndex'
|
|
114
|
+
| 'system_addLogFilter'
|
|
115
|
+
| 'system_addReservedPeer'
|
|
116
|
+
| 'system_chain'
|
|
117
|
+
| 'system_chainType'
|
|
118
|
+
| 'system_dryRun'
|
|
119
|
+
| 'system_health'
|
|
120
|
+
| 'system_localListenAddresses'
|
|
121
|
+
| 'system_localPeerId'
|
|
122
|
+
| 'system_name'
|
|
123
|
+
| 'system_nodeRoles'
|
|
124
|
+
| 'system_peers'
|
|
125
|
+
| 'system_properties'
|
|
126
|
+
| 'system_removeReservedPeer'
|
|
127
|
+
| 'system_reservedPeers'
|
|
128
|
+
| 'system_resetLogFilter'
|
|
129
|
+
| 'system_syncState'
|
|
130
|
+
| 'system_unstable_networkState'
|
|
131
|
+
| 'system_version'
|
|
132
|
+
| 'transactionWatch_v1_submitAndWatch'
|
|
133
|
+
| 'transaction_v1_broadcast'
|
|
134
|
+
| 'transaction_v1_stop'
|
|
135
|
+
| 'web3_clientVersion'
|
|
136
|
+
| 'web3_sha3'
|
|
137
|
+
> &
|
|
138
|
+
GenericJsonRpcApis<Rv>;
|