@dedot/chaintypes 0.10.0 → 0.12.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/index.d.ts +5 -5
- package/index.ts +5 -5
- package/moonbeam/json-rpc.d.ts +12 -9
- package/package.json +2 -2
- package/paseo/consts.d.ts +9 -0
- package/paseo/events.d.ts +25 -0
- package/paseo/index.d.ts +1 -1
- package/paseo/tx.d.ts +47 -0
- package/paseo/types.d.ts +43 -3
- package/kusamaAssetHub/consts.d.ts +0 -765
- package/kusamaAssetHub/errors.d.ts +0 -1529
- package/kusamaAssetHub/events.d.ts +0 -2443
- package/kusamaAssetHub/index.d.ts +0 -27
- package/kusamaAssetHub/json-rpc.d.ts +0 -90
- package/kusamaAssetHub/query.d.ts +0 -1677
- package/kusamaAssetHub/runtime.d.ts +0 -555
- package/kusamaAssetHub/tx.d.ts +0 -6364
- package/kusamaAssetHub/types.d.ts +0 -6921
- package/polkadotAssetHub/consts.d.ts +0 -730
- package/polkadotAssetHub/errors.d.ts +0 -1500
- package/polkadotAssetHub/events.d.ts +0 -2414
- package/polkadotAssetHub/index.d.ts +0 -27
- package/polkadotAssetHub/json-rpc.d.ts +0 -90
- package/polkadotAssetHub/query.d.ts +0 -1655
- package/polkadotAssetHub/runtime.d.ts +0 -558
- package/polkadotAssetHub/tx.d.ts +0 -6293
- package/polkadotAssetHub/types.d.ts +0 -6829
- package/rococoAssetHub/consts.d.ts +0 -835
- package/rococoAssetHub/errors.d.ts +0 -1590
- package/rococoAssetHub/events.d.ts +0 -2573
- package/rococoAssetHub/index.d.ts +0 -27
- package/rococoAssetHub/json-rpc.d.ts +0 -90
- package/rococoAssetHub/query.d.ts +0 -1829
- package/rococoAssetHub/runtime.d.ts +0 -726
- package/rococoAssetHub/tx.d.ts +0 -9011
- package/rococoAssetHub/types.d.ts +0 -12431
- package/westendAssetHub/consts.d.ts +0 -869
- package/westendAssetHub/errors.d.ts +0 -1635
- package/westendAssetHub/events.d.ts +0 -2610
- package/westendAssetHub/index.d.ts +0 -27
- package/westendAssetHub/json-rpc.d.ts +0 -90
- package/westendAssetHub/query.d.ts +0 -1868
- package/westendAssetHub/runtime.d.ts +0 -798
- package/westendAssetHub/tx.d.ts +0 -9199
- package/westendAssetHub/types.d.ts +0 -12661
- package/westendPeople/consts.d.ts +0 -434
- package/westendPeople/errors.d.ts +0 -769
- package/westendPeople/events.d.ts +0 -1082
- package/westendPeople/index.d.ts +0 -27
- package/westendPeople/json-rpc.d.ts +0 -89
- package/westendPeople/query.d.ts +0 -1209
- package/westendPeople/runtime.d.ts +0 -636
- package/westendPeople/tx.d.ts +0 -2891
- 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>;
|