@dedot/chaintypes 0.0.1-alpha.26 → 0.0.1-alpha.3

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.
Files changed (277) hide show
  1. package/aleph/consts.d.ts +528 -590
  2. package/aleph/consts.js +2 -0
  3. package/aleph/errors.d.ts +818 -981
  4. package/aleph/errors.js +2 -0
  5. package/aleph/events.d.ts +937 -924
  6. package/aleph/events.js +2 -0
  7. package/aleph/index.d.ts +8 -11
  8. package/aleph/index.js +3 -0
  9. package/aleph/query.d.ts +1268 -1477
  10. package/aleph/query.js +2 -0
  11. package/aleph/rpc.d.ts +573 -725
  12. package/aleph/rpc.js +2 -0
  13. package/aleph/runtime.d.ts +406 -541
  14. package/aleph/runtime.js +2 -0
  15. package/aleph/tx.d.ts +2202 -2664
  16. package/aleph/tx.js +2 -0
  17. package/aleph/types.d.ts +5294 -3380
  18. package/aleph/types.js +2 -0
  19. package/astar/consts.d.ts +674 -753
  20. package/astar/consts.js +2 -0
  21. package/astar/errors.d.ts +1313 -1576
  22. package/astar/errors.js +2 -0
  23. package/astar/events.d.ts +1628 -1709
  24. package/astar/events.js +2 -0
  25. package/astar/index.d.ts +8 -11
  26. package/astar/index.js +3 -0
  27. package/astar/query.d.ts +1471 -1756
  28. package/astar/query.js +2 -0
  29. package/astar/rpc.d.ts +773 -972
  30. package/astar/rpc.js +2 -0
  31. package/astar/runtime.d.ts +258 -310
  32. package/astar/runtime.js +2 -0
  33. package/astar/tx.d.ts +4806 -5474
  34. package/astar/tx.js +2 -0
  35. package/astar/types.d.ts +12053 -8793
  36. package/astar/types.js +2 -0
  37. package/cjs/aleph/consts.js +3 -0
  38. package/cjs/aleph/errors.js +3 -0
  39. package/cjs/aleph/events.js +3 -0
  40. package/cjs/aleph/index.js +19 -0
  41. package/cjs/aleph/query.js +3 -0
  42. package/cjs/aleph/rpc.js +3 -0
  43. package/cjs/aleph/runtime.js +3 -0
  44. package/cjs/aleph/tx.js +3 -0
  45. package/cjs/aleph/types.js +3 -0
  46. package/cjs/astar/consts.js +3 -0
  47. package/cjs/astar/errors.js +3 -0
  48. package/cjs/astar/events.js +3 -0
  49. package/cjs/astar/index.js +19 -0
  50. package/cjs/astar/query.js +3 -0
  51. package/cjs/astar/rpc.js +3 -0
  52. package/cjs/astar/runtime.js +3 -0
  53. package/cjs/astar/tx.js +3 -0
  54. package/cjs/astar/types.js +3 -0
  55. package/cjs/index.js +2 -0
  56. package/cjs/kusama/consts.js +3 -0
  57. package/cjs/kusama/errors.js +3 -0
  58. package/cjs/kusama/events.js +3 -0
  59. package/cjs/kusama/index.js +19 -0
  60. package/cjs/kusama/query.js +3 -0
  61. package/cjs/kusama/rpc.js +3 -0
  62. package/cjs/kusama/runtime.js +3 -0
  63. package/cjs/kusama/tx.js +3 -0
  64. package/cjs/kusama/types.js +3 -0
  65. package/cjs/kusamaAssetHub/consts.js +3 -0
  66. package/cjs/kusamaAssetHub/errors.js +3 -0
  67. package/cjs/kusamaAssetHub/events.js +3 -0
  68. package/cjs/kusamaAssetHub/index.js +19 -0
  69. package/cjs/kusamaAssetHub/query.js +3 -0
  70. package/cjs/kusamaAssetHub/rpc.js +3 -0
  71. package/cjs/kusamaAssetHub/runtime.js +3 -0
  72. package/cjs/kusamaAssetHub/tx.js +3 -0
  73. package/cjs/kusamaAssetHub/types.js +3 -0
  74. package/cjs/moonbeam/consts.js +3 -0
  75. package/cjs/moonbeam/errors.js +3 -0
  76. package/cjs/moonbeam/events.js +3 -0
  77. package/cjs/moonbeam/index.js +19 -0
  78. package/cjs/moonbeam/query.js +3 -0
  79. package/cjs/moonbeam/rpc.js +3 -0
  80. package/cjs/moonbeam/runtime.js +3 -0
  81. package/cjs/moonbeam/tx.js +3 -0
  82. package/cjs/moonbeam/types.js +3 -0
  83. package/cjs/package.json +1 -0
  84. package/cjs/packageInfo.js +5 -0
  85. package/cjs/polkadot/consts.js +3 -0
  86. package/cjs/polkadot/errors.js +3 -0
  87. package/cjs/polkadot/events.js +3 -0
  88. package/cjs/polkadot/index.js +19 -0
  89. package/cjs/polkadot/query.js +3 -0
  90. package/cjs/polkadot/rpc.js +3 -0
  91. package/cjs/polkadot/runtime.js +3 -0
  92. package/cjs/polkadot/tx.js +3 -0
  93. package/cjs/polkadot/types.js +3 -0
  94. package/cjs/polkadotAssetHub/consts.js +3 -0
  95. package/cjs/polkadotAssetHub/errors.js +3 -0
  96. package/cjs/polkadotAssetHub/events.js +3 -0
  97. package/cjs/polkadotAssetHub/index.js +19 -0
  98. package/cjs/polkadotAssetHub/query.js +3 -0
  99. package/cjs/polkadotAssetHub/rpc.js +3 -0
  100. package/cjs/polkadotAssetHub/runtime.js +3 -0
  101. package/cjs/polkadotAssetHub/tx.js +3 -0
  102. package/cjs/polkadotAssetHub/types.js +3 -0
  103. package/cjs/rococoAssetHub/consts.js +3 -0
  104. package/cjs/rococoAssetHub/errors.js +3 -0
  105. package/cjs/rococoAssetHub/events.js +3 -0
  106. package/cjs/rococoAssetHub/index.js +19 -0
  107. package/cjs/rococoAssetHub/query.js +3 -0
  108. package/cjs/rococoAssetHub/rpc.js +3 -0
  109. package/cjs/rococoAssetHub/runtime.js +3 -0
  110. package/cjs/rococoAssetHub/tx.js +3 -0
  111. package/cjs/rococoAssetHub/types.js +3 -0
  112. package/cjs/substrate/consts.js +3 -0
  113. package/cjs/substrate/errors.js +3 -0
  114. package/cjs/substrate/events.js +3 -0
  115. package/cjs/substrate/index.js +19 -0
  116. package/cjs/substrate/query.js +3 -0
  117. package/cjs/substrate/rpc.js +3 -0
  118. package/cjs/substrate/runtime.js +3 -0
  119. package/cjs/substrate/tx.js +3 -0
  120. package/cjs/substrate/types.js +3 -0
  121. package/cjs/westendAssetHub/consts.js +3 -0
  122. package/cjs/westendAssetHub/errors.js +3 -0
  123. package/cjs/westendAssetHub/events.js +3 -0
  124. package/cjs/westendAssetHub/index.js +19 -0
  125. package/cjs/westendAssetHub/query.js +3 -0
  126. package/cjs/westendAssetHub/rpc.js +3 -0
  127. package/cjs/westendAssetHub/runtime.js +3 -0
  128. package/cjs/westendAssetHub/tx.js +3 -0
  129. package/cjs/westendAssetHub/types.js +3 -0
  130. package/kusama/consts.d.ts +1422 -1573
  131. package/kusama/consts.js +2 -0
  132. package/kusama/errors.d.ts +2490 -2995
  133. package/kusama/errors.js +2 -0
  134. package/kusama/events.d.ts +2723 -2996
  135. package/kusama/events.js +2 -0
  136. package/kusama/index.d.ts +8 -11
  137. package/kusama/index.js +3 -0
  138. package/kusama/query.d.ts +3248 -3828
  139. package/kusama/query.js +2 -0
  140. package/kusama/rpc.d.ts +724 -902
  141. package/kusama/rpc.js +2 -0
  142. package/kusama/runtime.d.ts +840 -1130
  143. package/kusama/runtime.js +2 -0
  144. package/kusama/tx.d.ts +6010 -7073
  145. package/kusama/tx.js +2 -0
  146. package/kusama/types.d.ts +15336 -10143
  147. package/kusama/types.js +2 -0
  148. package/kusamaAssetHub/consts.d.ts +627 -714
  149. package/kusamaAssetHub/consts.js +2 -0
  150. package/kusamaAssetHub/errors.d.ts +1160 -1405
  151. package/kusamaAssetHub/errors.js +2 -0
  152. package/kusamaAssetHub/events.d.ts +2060 -2149
  153. package/kusamaAssetHub/events.js +2 -0
  154. package/kusamaAssetHub/index.d.ts +8 -11
  155. package/kusamaAssetHub/index.js +3 -0
  156. package/kusamaAssetHub/query.d.ts +1298 -1551
  157. package/kusamaAssetHub/query.js +2 -0
  158. package/kusamaAssetHub/rpc.d.ts +588 -744
  159. package/kusamaAssetHub/rpc.js +2 -0
  160. package/kusamaAssetHub/runtime.d.ts +398 -510
  161. package/kusamaAssetHub/runtime.js +2 -0
  162. package/kusamaAssetHub/tx.d.ts +4212 -5050
  163. package/kusamaAssetHub/tx.js +2 -0
  164. package/kusamaAssetHub/types.d.ts +9997 -5964
  165. package/kusamaAssetHub/types.js +2 -0
  166. package/moonbeam/consts.d.ts +956 -1075
  167. package/moonbeam/consts.js +2 -0
  168. package/moonbeam/errors.d.ts +1793 -2131
  169. package/moonbeam/errors.js +2 -0
  170. package/moonbeam/events.d.ts +2681 -2932
  171. package/moonbeam/events.js +2 -0
  172. package/moonbeam/index.d.ts +8 -11
  173. package/moonbeam/index.js +3 -0
  174. package/moonbeam/query.d.ts +2024 -2391
  175. package/moonbeam/query.js +2 -0
  176. package/moonbeam/rpc.d.ts +807 -1013
  177. package/moonbeam/rpc.js +2 -0
  178. package/moonbeam/runtime.d.ts +502 -665
  179. package/moonbeam/runtime.js +2 -0
  180. package/moonbeam/tx.d.ts +5201 -6152
  181. package/moonbeam/tx.js +2 -0
  182. package/moonbeam/types.d.ts +12035 -7731
  183. package/moonbeam/types.js +2 -0
  184. package/package.json +8 -9
  185. package/packageInfo.js +1 -2
  186. package/polkadot/consts.d.ts +1155 -1272
  187. package/polkadot/consts.js +2 -0
  188. package/polkadot/errors.d.ts +2016 -2420
  189. package/polkadot/errors.js +2 -0
  190. package/polkadot/events.d.ts +2092 -2314
  191. package/polkadot/events.js +2 -0
  192. package/polkadot/index.d.ts +8 -11
  193. package/polkadot/index.js +3 -0
  194. package/polkadot/query.d.ts +2808 -3319
  195. package/polkadot/query.js +2 -0
  196. package/polkadot/rpc.d.ts +724 -902
  197. package/polkadot/rpc.js +2 -0
  198. package/polkadot/runtime.d.ts +840 -1130
  199. package/polkadot/runtime.js +2 -0
  200. package/polkadot/tx.d.ts +5005 -5909
  201. package/polkadot/tx.js +2 -0
  202. package/polkadot/types.d.ts +13402 -8854
  203. package/polkadot/types.js +2 -0
  204. package/polkadotAssetHub/consts.d.ts +519 -586
  205. package/polkadotAssetHub/consts.js +2 -0
  206. package/polkadotAssetHub/errors.d.ts +921 -1115
  207. package/polkadotAssetHub/errors.js +2 -0
  208. package/polkadotAssetHub/events.d.ts +1782 -1850
  209. package/polkadotAssetHub/events.js +2 -0
  210. package/polkadotAssetHub/index.d.ts +8 -11
  211. package/polkadotAssetHub/index.js +3 -0
  212. package/polkadotAssetHub/query.d.ts +1219 -1457
  213. package/polkadotAssetHub/query.js +2 -0
  214. package/polkadotAssetHub/rpc.d.ts +588 -744
  215. package/polkadotAssetHub/rpc.js +2 -0
  216. package/polkadotAssetHub/runtime.d.ts +355 -447
  217. package/polkadotAssetHub/runtime.js +2 -0
  218. package/polkadotAssetHub/tx.d.ts +3487 -4184
  219. package/polkadotAssetHub/tx.js +2 -0
  220. package/polkadotAssetHub/types.d.ts +8891 -5266
  221. package/polkadotAssetHub/types.js +2 -0
  222. package/rococoAssetHub/consts.d.ts +653 -745
  223. package/rococoAssetHub/consts.js +2 -0
  224. package/rococoAssetHub/errors.d.ts +1227 -1490
  225. package/rococoAssetHub/errors.js +2 -0
  226. package/rococoAssetHub/events.d.ts +2047 -2127
  227. package/rococoAssetHub/events.js +2 -0
  228. package/rococoAssetHub/index.d.ts +8 -11
  229. package/rococoAssetHub/index.js +3 -0
  230. package/rococoAssetHub/query.d.ts +1266 -1513
  231. package/rococoAssetHub/query.js +2 -0
  232. package/rococoAssetHub/rpc.d.ts +588 -744
  233. package/rococoAssetHub/rpc.js +2 -0
  234. package/rococoAssetHub/runtime.d.ts +424 -538
  235. package/rococoAssetHub/runtime.js +2 -0
  236. package/rococoAssetHub/tx.d.ts +4302 -5164
  237. package/rococoAssetHub/tx.js +2 -0
  238. package/rococoAssetHub/types.d.ts +10610 -6295
  239. package/rococoAssetHub/types.js +2 -0
  240. package/substrate/consts.d.ts +1966 -2218
  241. package/substrate/consts.js +2 -0
  242. package/substrate/errors.d.ts +3333 -4019
  243. package/substrate/errors.js +2 -0
  244. package/substrate/events.d.ts +4255 -4585
  245. package/substrate/events.js +2 -0
  246. package/substrate/index.d.ts +8 -11
  247. package/substrate/index.js +3 -0
  248. package/substrate/query.d.ts +3347 -3887
  249. package/substrate/query.js +2 -0
  250. package/substrate/rpc.d.ts +716 -892
  251. package/substrate/rpc.js +2 -0
  252. package/substrate/runtime.d.ts +704 -937
  253. package/substrate/runtime.js +2 -0
  254. package/substrate/tx.d.ts +8796 -10387
  255. package/substrate/tx.js +2 -0
  256. package/substrate/types.d.ts +19843 -12891
  257. package/substrate/types.js +2 -0
  258. package/westendAssetHub/consts.d.ts +653 -745
  259. package/westendAssetHub/consts.js +2 -0
  260. package/westendAssetHub/errors.d.ts +1227 -1490
  261. package/westendAssetHub/errors.js +2 -0
  262. package/westendAssetHub/events.d.ts +2047 -2127
  263. package/westendAssetHub/events.js +2 -0
  264. package/westendAssetHub/index.d.ts +8 -11
  265. package/westendAssetHub/index.js +3 -0
  266. package/westendAssetHub/query.d.ts +1266 -1513
  267. package/westendAssetHub/query.js +2 -0
  268. package/westendAssetHub/rpc.d.ts +588 -744
  269. package/westendAssetHub/rpc.js +2 -0
  270. package/westendAssetHub/runtime.d.ts +452 -577
  271. package/westendAssetHub/runtime.js +2 -0
  272. package/westendAssetHub/tx.d.ts +4302 -5164
  273. package/westendAssetHub/tx.js +2 -0
  274. package/westendAssetHub/types.d.ts +10614 -6302
  275. package/westendAssetHub/types.js +2 -0
  276. package/index.ts +0 -10
  277. package/packageInfo.ts +0 -3
@@ -1,451 +1,359 @@
1
- // Generated by @dedot/codegen
2
-
3
1
  import type { GenericRuntimeApis, GenericRuntimeApiMethod } from '@dedot/types';
4
- import type {
5
- RuntimeVersion,
6
- Header,
7
- DispatchError,
8
- Result,
9
- UncheckedExtrinsicLike,
10
- UncheckedExtrinsic,
11
- H256,
12
- Bytes,
13
- BytesLike,
14
- AccountId32Like,
15
- } from '@dedot/codecs';
16
- import type {
17
- SpConsensusSlotsSlotDuration,
18
- SpConsensusAuraEd25519AppEd25519Public,
19
- SpRuntimeBlock,
20
- SpCoreOpaqueMetadata,
21
- SpRuntimeTransactionValidityTransactionValidityError,
22
- SpInherentsInherentData,
23
- SpInherentsCheckInherentsResult,
24
- SpRuntimeTransactionValidityValidTransaction,
25
- SpRuntimeTransactionValidityTransactionSource,
26
- SpCoreCryptoKeyTypeId,
27
- PalletTransactionPaymentRuntimeDispatchInfo,
28
- PalletTransactionPaymentFeeDetails,
29
- SpWeightsWeightV2Weight,
30
- AssetHubPolkadotRuntimeRuntimeCallLike,
31
- XcmVersionedMultiAssets,
32
- AssetsCommonRuntimeApiFungiblesAccessError,
33
- CumulusPrimitivesCoreCollationInfo,
34
- } from './types';
35
-
2
+ import type { RuntimeVersion, Header, DispatchError, Result, UncheckedExtrinsicLike, UncheckedExtrinsic, H256, Bytes, BytesLike, AccountId32Like } from '@dedot/codecs';
3
+ import type { SpConsensusSlotsSlotDuration, SpConsensusAuraEd25519AppEd25519Public, SpRuntimeBlock, SpCoreOpaqueMetadata, SpRuntimeTransactionValidityTransactionValidityError, SpInherentsInherentData, SpInherentsCheckInherentsResult, SpRuntimeTransactionValidityValidTransaction, SpRuntimeTransactionValidityTransactionSource, SpCoreCryptoKeyTypeId, PalletTransactionPaymentRuntimeDispatchInfo, PalletTransactionPaymentFeeDetails, SpWeightsWeightV2Weight, AssetHubPolkadotRuntimeRuntimeCallLike, XcmVersionedMultiAssets, AssetsCommonRuntimeApiFungiblesAccessError, CumulusPrimitivesCoreCollationInfo } from './types';
36
4
  export interface RuntimeApis extends GenericRuntimeApis {
37
- /**
38
- * @runtimeapi: AuraApi - 0xdd718d5cc53262d4
39
- **/
40
- auraApi: {
41
5
  /**
42
- * Returns the slot duration for Aura.
43
- *
44
- * Currently, only the value provided by this type at genesis will be used.
45
- *
46
- * @callname: AuraApi_slot_duration
47
- **/
48
- slotDuration: GenericRuntimeApiMethod<() => Promise<SpConsensusSlotsSlotDuration>>;
49
-
50
- /**
51
- * Return the current set of authorities.
52
- *
53
- * @callname: AuraApi_authorities
54
- **/
55
- authorities: GenericRuntimeApiMethod<() => Promise<Array<SpConsensusAuraEd25519AppEd25519Public>>>;
56
-
57
- /**
58
- * Generic runtime api call
59
- **/
60
- [method: string]: GenericRuntimeApiMethod;
61
- };
62
- /**
63
- * @runtimeapi: Core - 0xdf6acb689907609b
64
- **/
65
- core: {
66
- /**
67
- * Returns the version of the runtime.
68
- *
69
- * @callname: Core_version
70
- **/
71
- version: GenericRuntimeApiMethod<() => Promise<RuntimeVersion>>;
72
-
73
- /**
74
- * Execute the given block.
75
- *
76
- * @callname: Core_execute_block
77
- * @param {SpRuntimeBlock} block
78
- **/
79
- executeBlock: GenericRuntimeApiMethod<(block: SpRuntimeBlock) => Promise<[]>>;
80
-
81
- /**
82
- * Initialize a block with the given header.
83
- *
84
- * @callname: Core_initialize_block
85
- * @param {Header} header
86
- **/
87
- initializeBlock: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
88
-
89
- /**
90
- * Generic runtime api call
91
- **/
92
- [method: string]: GenericRuntimeApiMethod;
93
- };
94
- /**
95
- * @runtimeapi: Metadata - 0x37e397fc7c91f5e4
96
- **/
97
- metadata: {
98
- /**
99
- * Returns the metadata of a runtime.
100
- *
101
- * @callname: Metadata_metadata
102
- **/
103
- metadata: GenericRuntimeApiMethod<() => Promise<SpCoreOpaqueMetadata>>;
104
-
105
- /**
106
- * Returns the metadata at a given version.
107
- *
108
- * If the given `version` isn't supported, this will return `None`.
109
- * Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime.
110
- *
111
- * @callname: Metadata_metadata_at_version
112
- * @param {number} version
113
- **/
114
- metadataAtVersion: GenericRuntimeApiMethod<(version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
115
-
116
- /**
117
- * Returns the supported metadata versions.
118
- *
119
- * This can be used to call `metadata_at_version`.
120
- *
121
- * @callname: Metadata_metadata_versions
122
- **/
123
- metadataVersions: GenericRuntimeApiMethod<() => Promise<Array<number>>>;
124
-
125
- /**
126
- * Generic runtime api call
127
- **/
128
- [method: string]: GenericRuntimeApiMethod;
129
- };
130
- /**
131
- * @runtimeapi: BlockBuilder - 0x40fe3ad401f8959a
132
- **/
133
- blockBuilder: {
134
- /**
135
- * Apply the given extrinsic.
136
- *
137
- * Returns an inclusion outcome which specifies if this extrinsic is included in
138
- * this block or not.
139
- *
140
- * @callname: BlockBuilder_apply_extrinsic
141
- * @param {UncheckedExtrinsicLike} extrinsic
142
- **/
143
- applyExtrinsic: GenericRuntimeApiMethod<
144
- (
145
- extrinsic: UncheckedExtrinsicLike,
146
- ) => Promise<Result<Result<[], DispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>
147
- >;
148
-
149
- /**
150
- * Finish the current block.
151
- *
152
- * @callname: BlockBuilder_finalize_block
153
- **/
154
- finalizeBlock: GenericRuntimeApiMethod<() => Promise<Header>>;
155
-
156
- /**
157
- * Generate inherent extrinsics. The inherent data will vary from chain to chain.
158
- *
159
- * @callname: BlockBuilder_inherent_extrinsics
160
- * @param {SpInherentsInherentData} inherent
161
- **/
162
- inherentExtrinsics: GenericRuntimeApiMethod<
163
- (inherent: SpInherentsInherentData) => Promise<Array<UncheckedExtrinsic>>
164
- >;
165
-
166
- /**
167
- * Check that the inherents are valid. The inherent data will vary from chain to chain.
168
- *
169
- * @callname: BlockBuilder_check_inherents
170
- * @param {SpRuntimeBlock} block
171
- * @param {SpInherentsInherentData} data
172
- **/
173
- checkInherents: GenericRuntimeApiMethod<
174
- (block: SpRuntimeBlock, data: SpInherentsInherentData) => Promise<SpInherentsCheckInherentsResult>
175
- >;
176
-
177
- /**
178
- * Generic runtime api call
179
- **/
180
- [method: string]: GenericRuntimeApiMethod;
181
- };
182
- /**
183
- * @runtimeapi: TaggedTransactionQueue - 0xd2bc9897eed08f15
184
- **/
185
- taggedTransactionQueue: {
186
- /**
187
- * Validate the transaction.
188
- *
189
- * This method is invoked by the transaction pool to learn details about given transaction.
190
- * The implementation should make sure to verify the correctness of the transaction
191
- * against current state. The given `block_hash` corresponds to the hash of the block
192
- * that is used as current state.
193
- *
194
- * Note that this call may be performed by the pool multiple times and transactions
195
- * might be verified in any possible order.
196
- *
197
- * @callname: TaggedTransactionQueue_validate_transaction
198
- * @param {SpRuntimeTransactionValidityTransactionSource} source
199
- * @param {UncheckedExtrinsicLike} tx
200
- * @param {H256} block_hash
201
- **/
202
- validateTransaction: GenericRuntimeApiMethod<
203
- (
204
- source: SpRuntimeTransactionValidityTransactionSource,
205
- tx: UncheckedExtrinsicLike,
206
- blockHash: H256,
207
- ) => Promise<
208
- Result<SpRuntimeTransactionValidityValidTransaction, SpRuntimeTransactionValidityTransactionValidityError>
209
- >
210
- >;
211
-
212
- /**
213
- * Generic runtime api call
214
- **/
215
- [method: string]: GenericRuntimeApiMethod;
216
- };
217
- /**
218
- * @runtimeapi: OffchainWorkerApi - 0xf78b278be53f454c
219
- **/
220
- offchainWorkerApi: {
221
- /**
222
- * Starts the off-chain task for given block header.
223
- *
224
- * @callname: OffchainWorkerApi_offchain_worker
225
- * @param {Header} header
226
- **/
227
- offchainWorker: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
228
-
229
- /**
230
- * Generic runtime api call
231
- **/
232
- [method: string]: GenericRuntimeApiMethod;
233
- };
234
- /**
235
- * @runtimeapi: SessionKeys - 0xab3c0572291feb8b
236
- **/
237
- sessionKeys: {
238
- /**
239
- * Generate a set of session keys with optionally using the given seed.
240
- * The keys should be stored within the keystore exposed via runtime
241
- * externalities.
242
- *
243
- * The seed needs to be a valid `utf8` string.
244
- *
245
- * Returns the concatenated SCALE encoded public keys.
246
- *
247
- * @callname: SessionKeys_generate_session_keys
248
- * @param {BytesLike | undefined} seed
249
- **/
250
- generateSessionKeys: GenericRuntimeApiMethod<(seed?: BytesLike | undefined) => Promise<Bytes>>;
251
-
252
- /**
253
- * Decode the given public session keys.
254
- *
255
- * Returns the list of public raw public keys + key type.
256
- *
257
- * @callname: SessionKeys_decode_session_keys
258
- * @param {BytesLike} encoded
259
- **/
260
- decodeSessionKeys: GenericRuntimeApiMethod<
261
- (encoded: BytesLike) => Promise<Array<[Bytes, SpCoreCryptoKeyTypeId]> | undefined>
262
- >;
263
-
264
- /**
265
- * Generic runtime api call
266
- **/
267
- [method: string]: GenericRuntimeApiMethod;
268
- };
269
- /**
270
- * @runtimeapi: AccountNonceApi - 0xbc9d89904f5b923f
271
- **/
272
- accountNonceApi: {
273
- /**
274
- * Get current account nonce of given `AccountId`.
275
- *
276
- * @callname: AccountNonceApi_account_nonce
277
- * @param {AccountId32Like} account
278
- **/
279
- accountNonce: GenericRuntimeApiMethod<(account: AccountId32Like) => Promise<number>>;
280
-
281
- /**
282
- * Generic runtime api call
283
- **/
284
- [method: string]: GenericRuntimeApiMethod;
285
- };
286
- /**
287
- * @runtimeapi: TransactionPaymentApi - 0x37c8bb1350a9a2a8
288
- **/
289
- transactionPaymentApi: {
290
- /**
291
- *
292
- * @callname: TransactionPaymentApi_query_info
293
- * @param {UncheckedExtrinsicLike} uxt
294
- * @param {number} len
295
- **/
296
- queryInfo: GenericRuntimeApiMethod<
297
- (uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
298
- >;
299
-
300
- /**
301
- *
302
- * @callname: TransactionPaymentApi_query_fee_details
303
- * @param {UncheckedExtrinsicLike} uxt
304
- * @param {number} len
305
- **/
306
- queryFeeDetails: GenericRuntimeApiMethod<
307
- (uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>
308
- >;
309
-
310
- /**
311
- *
312
- * @callname: TransactionPaymentApi_query_weight_to_fee
313
- * @param {SpWeightsWeightV2Weight} weight
314
- **/
315
- queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
316
-
317
- /**
318
- *
319
- * @callname: TransactionPaymentApi_query_length_to_fee
320
- * @param {number} length
321
- **/
322
- queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
323
-
324
- /**
325
- * Generic runtime api call
326
- **/
327
- [method: string]: GenericRuntimeApiMethod;
328
- };
329
- /**
330
- * @runtimeapi: TransactionPaymentCallApi - 0xf3ff14d5ab527059
331
- **/
332
- transactionPaymentCallApi: {
333
- /**
334
- * Query information of a dispatch class, weight, and fee of a given encoded `Call`.
335
- *
336
- * @callname: TransactionPaymentCallApi_query_call_info
337
- * @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
338
- * @param {number} len
339
- **/
340
- queryCallInfo: GenericRuntimeApiMethod<
341
- (
342
- call: AssetHubPolkadotRuntimeRuntimeCallLike,
343
- len: number,
344
- ) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>
345
- >;
346
-
347
- /**
348
- * Query fee details of a given encoded `Call`.
349
- *
350
- * @callname: TransactionPaymentCallApi_query_call_fee_details
351
- * @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
352
- * @param {number} len
353
- **/
354
- queryCallFeeDetails: GenericRuntimeApiMethod<
355
- (call: AssetHubPolkadotRuntimeRuntimeCallLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>
356
- >;
357
-
358
- /**
359
- * Query the output of the current `WeightToFee` given some input.
360
- *
361
- * @callname: TransactionPaymentCallApi_query_weight_to_fee
362
- * @param {SpWeightsWeightV2Weight} weight
363
- **/
364
- queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
365
-
366
- /**
367
- * Query the output of the current `LengthToFee` given some input.
368
- *
369
- * @callname: TransactionPaymentCallApi_query_length_to_fee
370
- * @param {number} length
371
- **/
372
- queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
373
-
374
- /**
375
- * Generic runtime api call
376
- **/
377
- [method: string]: GenericRuntimeApiMethod;
378
- };
379
- /**
380
- * @runtimeapi: FungiblesApi - 0xde92b8a0426b9bf6
381
- **/
382
- fungiblesApi: {
383
- /**
384
- * Returns the list of all [`MultiAsset`] that an `AccountId` has.
385
- *
386
- * @callname: FungiblesApi_query_account_balances
387
- * @param {AccountId32Like} account
388
- **/
389
- queryAccountBalances: GenericRuntimeApiMethod<
390
- (account: AccountId32Like) => Promise<Result<XcmVersionedMultiAssets, AssetsCommonRuntimeApiFungiblesAccessError>>
391
- >;
392
-
393
- /**
394
- * Generic runtime api call
395
- **/
396
- [method: string]: GenericRuntimeApiMethod;
397
- };
398
- /**
399
- * @runtimeapi: CollectCollationInfo - 0xea93e3f16f3d6962
400
- **/
401
- collectCollationInfo: {
402
- /**
403
- * Collect information about a collation.
404
- *
405
- * The given `header` is the header of the built block for that
406
- * we are collecting the collation info for.
407
- *
408
- * @callname: CollectCollationInfo_collect_collation_info
409
- * @param {Header} header
410
- **/
411
- collectCollationInfo: GenericRuntimeApiMethod<(header: Header) => Promise<CumulusPrimitivesCoreCollationInfo>>;
412
-
413
- /**
414
- * Generic runtime api call
415
- **/
416
- [method: string]: GenericRuntimeApiMethod;
417
- };
418
- /**
419
- * @runtimeapi: GenesisBuilder - 0xfbc577b9d747efd6
420
- **/
421
- genesisBuilder: {
422
- /**
423
- * Creates the default `GenesisConfig` and returns it as a JSON blob.
424
- *
425
- * This function instantiates the default `GenesisConfig` struct for the runtime and serializes it into a JSON
426
- * blob. It returns a `Vec<u8>` containing the JSON representation of the default `GenesisConfig`.
427
- *
428
- * @callname: GenesisBuilder_create_default_config
429
- **/
430
- createDefaultConfig: GenericRuntimeApiMethod<() => Promise<Bytes>>;
431
-
432
- /**
433
- * Build `GenesisConfig` from a JSON blob not using any defaults and store it in the storage.
434
- *
435
- * This function deserializes the full `GenesisConfig` from the given JSON blob and puts it into the storage.
436
- * If the provided JSON blob is incorrect or incomplete or the deserialization fails, an error is returned.
437
- * It is recommended to log any errors encountered during the process.
438
- *
439
- * Please note that provided json blob must contain all `GenesisConfig` fields, no defaults will be used.
440
- *
441
- * @callname: GenesisBuilder_build_config
442
- * @param {BytesLike} json
443
- **/
444
- buildConfig: GenericRuntimeApiMethod<(json: BytesLike) => Promise<Result<[], string>>>;
445
-
446
- /**
447
- * Generic runtime api call
448
- **/
449
- [method: string]: GenericRuntimeApiMethod;
450
- };
6
+ * @runtimeapi: AuraApi - 0xdd718d5cc53262d4
7
+ **/
8
+ auraApi: {
9
+ /**
10
+ * Returns the slot duration for Aura.
11
+ *
12
+ * Currently, only the value provided by this type at genesis will be used.
13
+ *
14
+ * @callname: AuraApi_slot_duration
15
+ **/
16
+ slotDuration: GenericRuntimeApiMethod<() => Promise<SpConsensusSlotsSlotDuration>>;
17
+ /**
18
+ * Return the current set of authorities.
19
+ *
20
+ * @callname: AuraApi_authorities
21
+ **/
22
+ authorities: GenericRuntimeApiMethod<() => Promise<Array<SpConsensusAuraEd25519AppEd25519Public>>>;
23
+ /**
24
+ * Generic runtime api call
25
+ **/
26
+ [method: string]: GenericRuntimeApiMethod;
27
+ };
28
+ /**
29
+ * @runtimeapi: Core - 0xdf6acb689907609b
30
+ **/
31
+ core: {
32
+ /**
33
+ * Returns the version of the runtime.
34
+ *
35
+ * @callname: Core_version
36
+ **/
37
+ version: GenericRuntimeApiMethod<() => Promise<RuntimeVersion>>;
38
+ /**
39
+ * Execute the given block.
40
+ *
41
+ * @callname: Core_execute_block
42
+ * @param {SpRuntimeBlock} block
43
+ **/
44
+ executeBlock: GenericRuntimeApiMethod<(block: SpRuntimeBlock) => Promise<[]>>;
45
+ /**
46
+ * Initialize a block with the given header.
47
+ *
48
+ * @callname: Core_initialize_block
49
+ * @param {Header} header
50
+ **/
51
+ initializeBlock: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
52
+ /**
53
+ * Generic runtime api call
54
+ **/
55
+ [method: string]: GenericRuntimeApiMethod;
56
+ };
57
+ /**
58
+ * @runtimeapi: Metadata - 0x37e397fc7c91f5e4
59
+ **/
60
+ metadata: {
61
+ /**
62
+ * Returns the metadata of a runtime.
63
+ *
64
+ * @callname: Metadata_metadata
65
+ **/
66
+ metadata: GenericRuntimeApiMethod<() => Promise<SpCoreOpaqueMetadata>>;
67
+ /**
68
+ * Returns the metadata at a given version.
69
+ *
70
+ * If the given `version` isn't supported, this will return `None`.
71
+ * Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime.
72
+ *
73
+ * @callname: Metadata_metadata_at_version
74
+ * @param {number} version
75
+ **/
76
+ metadataAtVersion: GenericRuntimeApiMethod<(version: number) => Promise<SpCoreOpaqueMetadata | undefined>>;
77
+ /**
78
+ * Returns the supported metadata versions.
79
+ *
80
+ * This can be used to call `metadata_at_version`.
81
+ *
82
+ * @callname: Metadata_metadata_versions
83
+ **/
84
+ metadataVersions: GenericRuntimeApiMethod<() => Promise<Array<number>>>;
85
+ /**
86
+ * Generic runtime api call
87
+ **/
88
+ [method: string]: GenericRuntimeApiMethod;
89
+ };
90
+ /**
91
+ * @runtimeapi: BlockBuilder - 0x40fe3ad401f8959a
92
+ **/
93
+ blockBuilder: {
94
+ /**
95
+ * Apply the given extrinsic.
96
+ *
97
+ * Returns an inclusion outcome which specifies if this extrinsic is included in
98
+ * this block or not.
99
+ *
100
+ * @callname: BlockBuilder_apply_extrinsic
101
+ * @param {UncheckedExtrinsicLike} extrinsic
102
+ **/
103
+ applyExtrinsic: GenericRuntimeApiMethod<(extrinsic: UncheckedExtrinsicLike) => Promise<Result<Result<[], DispatchError>, SpRuntimeTransactionValidityTransactionValidityError>>>;
104
+ /**
105
+ * Finish the current block.
106
+ *
107
+ * @callname: BlockBuilder_finalize_block
108
+ **/
109
+ finalizeBlock: GenericRuntimeApiMethod<() => Promise<Header>>;
110
+ /**
111
+ * Generate inherent extrinsics. The inherent data will vary from chain to chain.
112
+ *
113
+ * @callname: BlockBuilder_inherent_extrinsics
114
+ * @param {SpInherentsInherentData} inherent
115
+ **/
116
+ inherentExtrinsics: GenericRuntimeApiMethod<(inherent: SpInherentsInherentData) => Promise<Array<UncheckedExtrinsic>>>;
117
+ /**
118
+ * Check that the inherents are valid. The inherent data will vary from chain to chain.
119
+ *
120
+ * @callname: BlockBuilder_check_inherents
121
+ * @param {SpRuntimeBlock} block
122
+ * @param {SpInherentsInherentData} data
123
+ **/
124
+ checkInherents: GenericRuntimeApiMethod<(block: SpRuntimeBlock, data: SpInherentsInherentData) => Promise<SpInherentsCheckInherentsResult>>;
125
+ /**
126
+ * Generic runtime api call
127
+ **/
128
+ [method: string]: GenericRuntimeApiMethod;
129
+ };
130
+ /**
131
+ * @runtimeapi: TaggedTransactionQueue - 0xd2bc9897eed08f15
132
+ **/
133
+ taggedTransactionQueue: {
134
+ /**
135
+ * Validate the transaction.
136
+ *
137
+ * This method is invoked by the transaction pool to learn details about given transaction.
138
+ * The implementation should make sure to verify the correctness of the transaction
139
+ * against current state. The given `block_hash` corresponds to the hash of the block
140
+ * that is used as current state.
141
+ *
142
+ * Note that this call may be performed by the pool multiple times and transactions
143
+ * might be verified in any possible order.
144
+ *
145
+ * @callname: TaggedTransactionQueue_validate_transaction
146
+ * @param {SpRuntimeTransactionValidityTransactionSource} source
147
+ * @param {UncheckedExtrinsicLike} tx
148
+ * @param {H256} block_hash
149
+ **/
150
+ validateTransaction: GenericRuntimeApiMethod<(source: SpRuntimeTransactionValidityTransactionSource, tx: UncheckedExtrinsicLike, blockHash: H256) => Promise<Result<SpRuntimeTransactionValidityValidTransaction, SpRuntimeTransactionValidityTransactionValidityError>>>;
151
+ /**
152
+ * Generic runtime api call
153
+ **/
154
+ [method: string]: GenericRuntimeApiMethod;
155
+ };
156
+ /**
157
+ * @runtimeapi: OffchainWorkerApi - 0xf78b278be53f454c
158
+ **/
159
+ offchainWorkerApi: {
160
+ /**
161
+ * Starts the off-chain task for given block header.
162
+ *
163
+ * @callname: OffchainWorkerApi_offchain_worker
164
+ * @param {Header} header
165
+ **/
166
+ offchainWorker: GenericRuntimeApiMethod<(header: Header) => Promise<[]>>;
167
+ /**
168
+ * Generic runtime api call
169
+ **/
170
+ [method: string]: GenericRuntimeApiMethod;
171
+ };
172
+ /**
173
+ * @runtimeapi: SessionKeys - 0xab3c0572291feb8b
174
+ **/
175
+ sessionKeys: {
176
+ /**
177
+ * Generate a set of session keys with optionally using the given seed.
178
+ * The keys should be stored within the keystore exposed via runtime
179
+ * externalities.
180
+ *
181
+ * The seed needs to be a valid `utf8` string.
182
+ *
183
+ * Returns the concatenated SCALE encoded public keys.
184
+ *
185
+ * @callname: SessionKeys_generate_session_keys
186
+ * @param {BytesLike | undefined} seed
187
+ **/
188
+ generateSessionKeys: GenericRuntimeApiMethod<(seed?: BytesLike | undefined) => Promise<Bytes>>;
189
+ /**
190
+ * Decode the given public session keys.
191
+ *
192
+ * Returns the list of public raw public keys + key type.
193
+ *
194
+ * @callname: SessionKeys_decode_session_keys
195
+ * @param {BytesLike} encoded
196
+ **/
197
+ decodeSessionKeys: GenericRuntimeApiMethod<(encoded: BytesLike) => Promise<Array<[Bytes, SpCoreCryptoKeyTypeId]> | undefined>>;
198
+ /**
199
+ * Generic runtime api call
200
+ **/
201
+ [method: string]: GenericRuntimeApiMethod;
202
+ };
203
+ /**
204
+ * @runtimeapi: AccountNonceApi - 0xbc9d89904f5b923f
205
+ **/
206
+ accountNonceApi: {
207
+ /**
208
+ * Get current account nonce of given `AccountId`.
209
+ *
210
+ * @callname: AccountNonceApi_account_nonce
211
+ * @param {AccountId32Like} account
212
+ **/
213
+ accountNonce: GenericRuntimeApiMethod<(account: AccountId32Like) => Promise<number>>;
214
+ /**
215
+ * Generic runtime api call
216
+ **/
217
+ [method: string]: GenericRuntimeApiMethod;
218
+ };
219
+ /**
220
+ * @runtimeapi: TransactionPaymentApi - 0x37c8bb1350a9a2a8
221
+ **/
222
+ transactionPaymentApi: {
223
+ /**
224
+ *
225
+ * @callname: TransactionPaymentApi_query_info
226
+ * @param {UncheckedExtrinsicLike} uxt
227
+ * @param {number} len
228
+ **/
229
+ queryInfo: GenericRuntimeApiMethod<(uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>>;
230
+ /**
231
+ *
232
+ * @callname: TransactionPaymentApi_query_fee_details
233
+ * @param {UncheckedExtrinsicLike} uxt
234
+ * @param {number} len
235
+ **/
236
+ queryFeeDetails: GenericRuntimeApiMethod<(uxt: UncheckedExtrinsicLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>>;
237
+ /**
238
+ *
239
+ * @callname: TransactionPaymentApi_query_weight_to_fee
240
+ * @param {SpWeightsWeightV2Weight} weight
241
+ **/
242
+ queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
243
+ /**
244
+ *
245
+ * @callname: TransactionPaymentApi_query_length_to_fee
246
+ * @param {number} length
247
+ **/
248
+ queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
249
+ /**
250
+ * Generic runtime api call
251
+ **/
252
+ [method: string]: GenericRuntimeApiMethod;
253
+ };
254
+ /**
255
+ * @runtimeapi: TransactionPaymentCallApi - 0xf3ff14d5ab527059
256
+ **/
257
+ transactionPaymentCallApi: {
258
+ /**
259
+ * Query information of a dispatch class, weight, and fee of a given encoded `Call`.
260
+ *
261
+ * @callname: TransactionPaymentCallApi_query_call_info
262
+ * @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
263
+ * @param {number} len
264
+ **/
265
+ queryCallInfo: GenericRuntimeApiMethod<(call: AssetHubPolkadotRuntimeRuntimeCallLike, len: number) => Promise<PalletTransactionPaymentRuntimeDispatchInfo>>;
266
+ /**
267
+ * Query fee details of a given encoded `Call`.
268
+ *
269
+ * @callname: TransactionPaymentCallApi_query_call_fee_details
270
+ * @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
271
+ * @param {number} len
272
+ **/
273
+ queryCallFeeDetails: GenericRuntimeApiMethod<(call: AssetHubPolkadotRuntimeRuntimeCallLike, len: number) => Promise<PalletTransactionPaymentFeeDetails>>;
274
+ /**
275
+ * Query the output of the current `WeightToFee` given some input.
276
+ *
277
+ * @callname: TransactionPaymentCallApi_query_weight_to_fee
278
+ * @param {SpWeightsWeightV2Weight} weight
279
+ **/
280
+ queryWeightToFee: GenericRuntimeApiMethod<(weight: SpWeightsWeightV2Weight) => Promise<bigint>>;
281
+ /**
282
+ * Query the output of the current `LengthToFee` given some input.
283
+ *
284
+ * @callname: TransactionPaymentCallApi_query_length_to_fee
285
+ * @param {number} length
286
+ **/
287
+ queryLengthToFee: GenericRuntimeApiMethod<(length: number) => Promise<bigint>>;
288
+ /**
289
+ * Generic runtime api call
290
+ **/
291
+ [method: string]: GenericRuntimeApiMethod;
292
+ };
293
+ /**
294
+ * @runtimeapi: FungiblesApi - 0xde92b8a0426b9bf6
295
+ **/
296
+ fungiblesApi: {
297
+ /**
298
+ * Returns the list of all [`MultiAsset`] that an `AccountId` has.
299
+ *
300
+ * @callname: FungiblesApi_query_account_balances
301
+ * @param {AccountId32Like} account
302
+ **/
303
+ queryAccountBalances: GenericRuntimeApiMethod<(account: AccountId32Like) => Promise<Result<XcmVersionedMultiAssets, AssetsCommonRuntimeApiFungiblesAccessError>>>;
304
+ /**
305
+ * Generic runtime api call
306
+ **/
307
+ [method: string]: GenericRuntimeApiMethod;
308
+ };
309
+ /**
310
+ * @runtimeapi: CollectCollationInfo - 0xea93e3f16f3d6962
311
+ **/
312
+ collectCollationInfo: {
313
+ /**
314
+ * Collect information about a collation.
315
+ *
316
+ * The given `header` is the header of the built block for that
317
+ * we are collecting the collation info for.
318
+ *
319
+ * @callname: CollectCollationInfo_collect_collation_info
320
+ * @param {Header} header
321
+ **/
322
+ collectCollationInfo: GenericRuntimeApiMethod<(header: Header) => Promise<CumulusPrimitivesCoreCollationInfo>>;
323
+ /**
324
+ * Generic runtime api call
325
+ **/
326
+ [method: string]: GenericRuntimeApiMethod;
327
+ };
328
+ /**
329
+ * @runtimeapi: GenesisBuilder - 0xfbc577b9d747efd6
330
+ **/
331
+ genesisBuilder: {
332
+ /**
333
+ * Creates the default `GenesisConfig` and returns it as a JSON blob.
334
+ *
335
+ * This function instantiates the default `GenesisConfig` struct for the runtime and serializes it into a JSON
336
+ * blob. It returns a `Vec<u8>` containing the JSON representation of the default `GenesisConfig`.
337
+ *
338
+ * @callname: GenesisBuilder_create_default_config
339
+ **/
340
+ createDefaultConfig: GenericRuntimeApiMethod<() => Promise<Bytes>>;
341
+ /**
342
+ * Build `GenesisConfig` from a JSON blob not using any defaults and store it in the storage.
343
+ *
344
+ * This function deserializes the full `GenesisConfig` from the given JSON blob and puts it into the storage.
345
+ * If the provided JSON blob is incorrect or incomplete or the deserialization fails, an error is returned.
346
+ * It is recommended to log any errors encountered during the process.
347
+ *
348
+ * Please note that provided json blob must contain all `GenesisConfig` fields, no defaults will be used.
349
+ *
350
+ * @callname: GenesisBuilder_build_config
351
+ * @param {BytesLike} json
352
+ **/
353
+ buildConfig: GenericRuntimeApiMethod<(json: BytesLike) => Promise<Result<[], string>>>;
354
+ /**
355
+ * Generic runtime api call
356
+ **/
357
+ [method: string]: GenericRuntimeApiMethod;
358
+ };
451
359
  }