@functionland/react-native-fula 1.55.0 → 1.55.2

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 (98) hide show
  1. package/LICENSE +20 -20
  2. package/android/build.gradle +114 -115
  3. package/android/gradle.properties +8 -8
  4. package/android/src/main/AndroidManifest.xml +3 -3
  5. package/android/src/main/AndroidManifestNew.xml +2 -2
  6. package/android/src/main/java/land/fx/fula/ConfigRef.java +7 -7
  7. package/android/src/main/java/land/fx/fula/Cryptography.java +62 -62
  8. package/android/src/main/java/land/fx/fula/FulaModule.java +1991 -1868
  9. package/android/src/main/java/land/fx/fula/FulaPackage.java +32 -32
  10. package/android/src/main/java/land/fx/fula/SharedPreferenceHelper.java +65 -65
  11. package/android/src/main/java/land/fx/fula/StaticHelper.java +13 -13
  12. package/android/src/main/java/land/fx/fula/ThreadUtils.java +42 -42
  13. package/ios/Cryptography.swift +59 -59
  14. package/ios/Fula-Bridging-Header.h +3 -3
  15. package/ios/UserDataHelper.swift +143 -143
  16. package/lib/commonjs/index.js +3 -1
  17. package/lib/commonjs/index.js.map +1 -1
  18. package/lib/commonjs/interfaces/augment-api-consts.js.map +1 -1
  19. package/lib/commonjs/interfaces/augment-api-errors.js.map +1 -1
  20. package/lib/commonjs/interfaces/augment-api-events.js.map +1 -1
  21. package/lib/commonjs/interfaces/augment-api-query.js.map +1 -1
  22. package/lib/commonjs/interfaces/augment-api-rpc.js.map +1 -1
  23. package/lib/commonjs/interfaces/augment-api-runtime.js.map +1 -1
  24. package/lib/commonjs/interfaces/augment-api-tx.js.map +1 -1
  25. package/lib/commonjs/interfaces/augment-api.js.map +1 -1
  26. package/lib/commonjs/interfaces/augment-types.js.map +1 -1
  27. package/lib/commonjs/interfaces/definitions.js.map +1 -1
  28. package/lib/commonjs/interfaces/defintions.js.map +1 -1
  29. package/lib/commonjs/interfaces/fulaNativeModule.js.map +1 -1
  30. package/lib/commonjs/interfaces/index.js.map +1 -1
  31. package/lib/commonjs/interfaces/lookup.js +300 -300
  32. package/lib/commonjs/interfaces/lookup.js.map +1 -1
  33. package/lib/commonjs/interfaces/registry.js.map +1 -1
  34. package/lib/commonjs/interfaces/types-lookup.js.map +1 -1
  35. package/lib/commonjs/interfaces/types.js.map +1 -1
  36. package/lib/commonjs/protocols/blockchain.js +66 -66
  37. package/lib/commonjs/protocols/blockchain.js.map +1 -1
  38. package/lib/commonjs/protocols/chain-api.js.map +1 -1
  39. package/lib/commonjs/protocols/fula.js.map +1 -1
  40. package/lib/commonjs/protocols/fx-ai.js +161 -0
  41. package/lib/commonjs/protocols/fx-ai.js.map +1 -0
  42. package/lib/commonjs/protocols/fxblox.js +3 -3
  43. package/lib/commonjs/protocols/fxblox.js.map +1 -1
  44. package/lib/commonjs/types/blockchain.js.map +1 -1
  45. package/lib/commonjs/types/fxblox.js.map +1 -1
  46. package/lib/module/index.js +1 -0
  47. package/lib/module/index.js.map +1 -1
  48. package/lib/module/interfaces/augment-api-consts.js.map +1 -1
  49. package/lib/module/interfaces/augment-api-errors.js.map +1 -1
  50. package/lib/module/interfaces/augment-api-events.js.map +1 -1
  51. package/lib/module/interfaces/augment-api-query.js.map +1 -1
  52. package/lib/module/interfaces/augment-api-rpc.js.map +1 -1
  53. package/lib/module/interfaces/augment-api-runtime.js.map +1 -1
  54. package/lib/module/interfaces/augment-api-tx.js.map +1 -1
  55. package/lib/module/interfaces/augment-api.js.map +1 -1
  56. package/lib/module/interfaces/augment-types.js.map +1 -1
  57. package/lib/module/interfaces/definitions.js.map +1 -1
  58. package/lib/module/interfaces/defintions.js.map +1 -1
  59. package/lib/module/interfaces/fulaNativeModule.js.map +1 -1
  60. package/lib/module/interfaces/index.js.map +1 -1
  61. package/lib/module/interfaces/lookup.js +300 -300
  62. package/lib/module/interfaces/lookup.js.map +1 -1
  63. package/lib/module/interfaces/registry.js.map +1 -1
  64. package/lib/module/interfaces/types-lookup.js.map +1 -1
  65. package/lib/module/interfaces/types.js.map +1 -1
  66. package/lib/module/protocols/blockchain.js +66 -66
  67. package/lib/module/protocols/blockchain.js.map +1 -1
  68. package/lib/module/protocols/chain-api.js.map +1 -1
  69. package/lib/module/protocols/fula.js.map +1 -1
  70. package/lib/module/protocols/fx-ai.js +150 -0
  71. package/lib/module/protocols/fx-ai.js.map +1 -0
  72. package/lib/module/protocols/fxblox.js +3 -3
  73. package/lib/module/protocols/fxblox.js.map +1 -1
  74. package/lib/module/types/blockchain.js.map +1 -1
  75. package/lib/module/types/fxblox.js.map +1 -1
  76. package/package.json +176 -176
  77. package/react-native-fula.podspec +47 -47
  78. package/src/index.tsx +5 -4
  79. package/src/interfaces/augment-api-consts.ts +273 -273
  80. package/src/interfaces/augment-api-errors.ts +474 -474
  81. package/src/interfaces/augment-api-events.ts +448 -448
  82. package/src/interfaces/augment-api-query.ts +466 -466
  83. package/src/interfaces/augment-api-rpc.ts +617 -617
  84. package/src/interfaces/augment-api-runtime.ts +223 -223
  85. package/src/interfaces/augment-api-tx.ts +709 -709
  86. package/src/interfaces/augment-api.ts +9 -9
  87. package/src/interfaces/augment-types.ts +1322 -1322
  88. package/src/interfaces/definitions.ts +1 -1
  89. package/src/interfaces/defintions.ts +1 -1
  90. package/src/interfaces/fulaNativeModule.ts +175 -168
  91. package/src/interfaces/index.ts +3 -3
  92. package/src/interfaces/lookup.ts +2011 -2011
  93. package/src/interfaces/registry.ts +163 -163
  94. package/src/interfaces/types-lookup.ts +2165 -2165
  95. package/src/interfaces/types.ts +2 -2
  96. package/src/protocols/blockchain.ts +644 -644
  97. package/src/protocols/fx-ai.ts +182 -0
  98. package/src/protocols/fxblox.ts +443 -443
@@ -1,224 +1,224 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
- /* eslint-disable */
3
-
4
- // import type lookup before we augment - in some environments
5
- // this is required to allow for ambient/previous definitions
6
- import '@polkadot/api-base/types/calls';
7
-
8
- import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
9
- import type { Bytes, Null, Option, Vec, u32 } from '@polkadot/types-codec';
10
- import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
11
- import type { OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
12
- import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
13
- import type { BlockHash } from '@polkadot/types/interfaces/chain';
14
- import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
15
- import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
16
- import type { AuthorityList, GrandpaEquivocationProof, SetId } from '@polkadot/types/interfaces/grandpa';
17
- import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
18
- import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
19
- import type { AccountId, Balance, Block, Call, Header, Index, KeyTypeId, SlotDuration, Weight } from '@polkadot/types/interfaces/runtime';
20
- import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
21
- import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
22
- import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
23
- import type { IExtrinsic, Observable } from '@polkadot/types/types';
24
-
25
- export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
26
- export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
27
-
28
- declare module '@polkadot/api-base/types/calls' {
29
- interface AugmentedCalls<ApiType extends ApiTypes> {
30
- /** 0xbc9d89904f5b923f/1 */
31
- accountNonceApi: {
32
- /**
33
- * The API to query account nonce (aka transaction index)
34
- **/
35
- accountNonce: AugmentedCall<ApiType, (accountId: AccountId | string | Uint8Array) => Observable<Index>>;
36
- /**
37
- * Generic call
38
- **/
39
- [key: string]: DecoratedCallBase<ApiType>;
40
- };
41
- /** 0xdd718d5cc53262d4/1 */
42
- auraApi: {
43
- /**
44
- * Return the current set of authorities.
45
- **/
46
- authorities: AugmentedCall<ApiType, () => Observable<Vec<AuthorityId>>>;
47
- /**
48
- * Returns the slot duration for Aura.
49
- **/
50
- slotDuration: AugmentedCall<ApiType, () => Observable<SlotDuration>>;
51
- /**
52
- * Generic call
53
- **/
54
- [key: string]: DecoratedCallBase<ApiType>;
55
- };
56
- /** 0x40fe3ad401f8959a/6 */
57
- blockBuilder: {
58
- /**
59
- * Apply the given extrinsic.
60
- **/
61
- applyExtrinsic: AugmentedCall<ApiType, (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable<ApplyExtrinsicResult>>;
62
- /**
63
- * Check that the inherents are valid.
64
- **/
65
- checkInherents: AugmentedCall<ApiType, (block: Block | { header?: any; extrinsics?: any } | string | Uint8Array, data: InherentData | { data?: any } | string | Uint8Array) => Observable<CheckInherentsResult>>;
66
- /**
67
- * Finish the current block.
68
- **/
69
- finalizeBlock: AugmentedCall<ApiType, () => Observable<Header>>;
70
- /**
71
- * Generate inherent extrinsics.
72
- **/
73
- inherentExtrinsics: AugmentedCall<ApiType, (inherent: InherentData | { data?: any } | string | Uint8Array) => Observable<Vec<Extrinsic>>>;
74
- /**
75
- * Generic call
76
- **/
77
- [key: string]: DecoratedCallBase<ApiType>;
78
- };
79
- /** 0xdf6acb689907609b/4 */
80
- core: {
81
- /**
82
- * Execute the given block.
83
- **/
84
- executeBlock: AugmentedCall<ApiType, (block: Block | { header?: any; extrinsics?: any } | string | Uint8Array) => Observable<Null>>;
85
- /**
86
- * Initialize a block with the given header.
87
- **/
88
- initializeBlock: AugmentedCall<ApiType, (header: Header | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array) => Observable<Null>>;
89
- /**
90
- * Returns the version of the runtime.
91
- **/
92
- version: AugmentedCall<ApiType, () => Observable<RuntimeVersion>>;
93
- /**
94
- * Generic call
95
- **/
96
- [key: string]: DecoratedCallBase<ApiType>;
97
- };
98
- /** 0xed99c5acb25eedf5/3 */
99
- grandpaApi: {
100
- /**
101
- * Get current GRANDPA authority set id.
102
- **/
103
- currentSetId: AugmentedCall<ApiType, () => Observable<SetId>>;
104
- /**
105
- * Generates a proof of key ownership for the given authority in the given set.
106
- **/
107
- generateKeyOwnershipProof: AugmentedCall<ApiType, (setId: SetId | AnyNumber | Uint8Array, authorityId: AuthorityId | string | Uint8Array) => Observable<Option<OpaqueKeyOwnershipProof>>>;
108
- /**
109
- * Get the current GRANDPA authorities and weights. This should not change except for when changes are scheduled and the corresponding delay has passed.
110
- **/
111
- grandpaAuthorities: AugmentedCall<ApiType, () => Observable<AuthorityList>>;
112
- /**
113
- * Submits an unsigned extrinsic to report an equivocation.
114
- **/
115
- submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocationProof: GrandpaEquivocationProof | { setId?: any; equivocation?: any } | string | Uint8Array, keyOwnerProof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
116
- /**
117
- * Generic call
118
- **/
119
- [key: string]: DecoratedCallBase<ApiType>;
120
- };
121
- /** 0x37e397fc7c91f5e4/2 */
122
- metadata: {
123
- /**
124
- * Returns the metadata of a runtime
125
- **/
126
- metadata: AugmentedCall<ApiType, () => Observable<OpaqueMetadata>>;
127
- /**
128
- * Returns the metadata at a given version.
129
- **/
130
- metadataAtVersion: AugmentedCall<ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable<Option<OpaqueMetadata>>>;
131
- /**
132
- * Returns the supported metadata versions.
133
- **/
134
- metadataVersions: AugmentedCall<ApiType, () => Observable<Vec<u32>>>;
135
- /**
136
- * Generic call
137
- **/
138
- [key: string]: DecoratedCallBase<ApiType>;
139
- };
140
- /** 0xf78b278be53f454c/2 */
141
- offchainWorkerApi: {
142
- /**
143
- * Starts the off-chain task for given block header.
144
- **/
145
- offchainWorker: AugmentedCall<ApiType, (header: Header | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array) => Observable<Null>>;
146
- /**
147
- * Generic call
148
- **/
149
- [key: string]: DecoratedCallBase<ApiType>;
150
- };
151
- /** 0xab3c0572291feb8b/1 */
152
- sessionKeys: {
153
- /**
154
- * Decode the given public session keys.
155
- **/
156
- decodeSessionKeys: AugmentedCall<ApiType, (encoded: Bytes | string | Uint8Array) => Observable<Option<Vec<ITuple<[Bytes, KeyTypeId]>>>>>;
157
- /**
158
- * Generate a set of session keys with optionally using the given seed.
159
- **/
160
- generateSessionKeys: AugmentedCall<ApiType, (seed: Option<Bytes> | null | Uint8Array | Bytes | string) => Observable<Bytes>>;
161
- /**
162
- * Generic call
163
- **/
164
- [key: string]: DecoratedCallBase<ApiType>;
165
- };
166
- /** 0xd2bc9897eed08f15/3 */
167
- taggedTransactionQueue: {
168
- /**
169
- * Validate the transaction.
170
- **/
171
- validateTransaction: AugmentedCall<ApiType, (source: TransactionSource | 'InBlock' | 'Local' | 'External' | number | Uint8Array, tx: Extrinsic | IExtrinsic | string | Uint8Array, blockHash: BlockHash | string | Uint8Array) => Observable<TransactionValidity>>;
172
- /**
173
- * Generic call
174
- **/
175
- [key: string]: DecoratedCallBase<ApiType>;
176
- };
177
- /** 0x37c8bb1350a9a2a8/4 */
178
- transactionPaymentApi: {
179
- /**
180
- * The transaction fee details
181
- **/
182
- queryFeeDetails: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<FeeDetails>>;
183
- /**
184
- * The transaction info
185
- **/
186
- queryInfo: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
187
- /**
188
- * Query the output of the current LengthToFee given some input
189
- **/
190
- queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<Balance>>;
191
- /**
192
- * Query the output of the current WeightToFee given some input
193
- **/
194
- queryWeightToFee: AugmentedCall<ApiType, (weight: Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => Observable<Balance>>;
195
- /**
196
- * Generic call
197
- **/
198
- [key: string]: DecoratedCallBase<ApiType>;
199
- };
200
- /** 0xf3ff14d5ab527059/3 */
201
- transactionPaymentCallApi: {
202
- /**
203
- * The call fee details
204
- **/
205
- queryCallFeeDetails: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<FeeDetails>>;
206
- /**
207
- * The call info
208
- **/
209
- queryCallInfo: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
210
- /**
211
- * Query the output of the current LengthToFee given some input
212
- **/
213
- queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<Balance>>;
214
- /**
215
- * Query the output of the current WeightToFee given some input
216
- **/
217
- queryWeightToFee: AugmentedCall<ApiType, (weight: Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => Observable<Balance>>;
218
- /**
219
- * Generic call
220
- **/
221
- [key: string]: DecoratedCallBase<ApiType>;
222
- };
223
- } // AugmentedCalls
224
- } // declare module
2
+ /* eslint-disable */
3
+
4
+ // import type lookup before we augment - in some environments
5
+ // this is required to allow for ambient/previous definitions
6
+ import '@polkadot/api-base/types/calls';
7
+
8
+ import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
9
+ import type { Bytes, Null, Option, Vec, u32 } from '@polkadot/types-codec';
10
+ import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
11
+ import type { OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
12
+ import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
13
+ import type { BlockHash } from '@polkadot/types/interfaces/chain';
14
+ import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
15
+ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
16
+ import type { AuthorityList, GrandpaEquivocationProof, SetId } from '@polkadot/types/interfaces/grandpa';
17
+ import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
18
+ import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
19
+ import type { AccountId, Balance, Block, Call, Header, Index, KeyTypeId, SlotDuration, Weight } from '@polkadot/types/interfaces/runtime';
20
+ import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
21
+ import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
22
+ import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
23
+ import type { IExtrinsic, Observable } from '@polkadot/types/types';
24
+
25
+ export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
26
+ export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
27
+
28
+ declare module '@polkadot/api-base/types/calls' {
29
+ interface AugmentedCalls<ApiType extends ApiTypes> {
30
+ /** 0xbc9d89904f5b923f/1 */
31
+ accountNonceApi: {
32
+ /**
33
+ * The API to query account nonce (aka transaction index)
34
+ **/
35
+ accountNonce: AugmentedCall<ApiType, (accountId: AccountId | string | Uint8Array) => Observable<Index>>;
36
+ /**
37
+ * Generic call
38
+ **/
39
+ [key: string]: DecoratedCallBase<ApiType>;
40
+ };
41
+ /** 0xdd718d5cc53262d4/1 */
42
+ auraApi: {
43
+ /**
44
+ * Return the current set of authorities.
45
+ **/
46
+ authorities: AugmentedCall<ApiType, () => Observable<Vec<AuthorityId>>>;
47
+ /**
48
+ * Returns the slot duration for Aura.
49
+ **/
50
+ slotDuration: AugmentedCall<ApiType, () => Observable<SlotDuration>>;
51
+ /**
52
+ * Generic call
53
+ **/
54
+ [key: string]: DecoratedCallBase<ApiType>;
55
+ };
56
+ /** 0x40fe3ad401f8959a/6 */
57
+ blockBuilder: {
58
+ /**
59
+ * Apply the given extrinsic.
60
+ **/
61
+ applyExtrinsic: AugmentedCall<ApiType, (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable<ApplyExtrinsicResult>>;
62
+ /**
63
+ * Check that the inherents are valid.
64
+ **/
65
+ checkInherents: AugmentedCall<ApiType, (block: Block | { header?: any; extrinsics?: any } | string | Uint8Array, data: InherentData | { data?: any } | string | Uint8Array) => Observable<CheckInherentsResult>>;
66
+ /**
67
+ * Finish the current block.
68
+ **/
69
+ finalizeBlock: AugmentedCall<ApiType, () => Observable<Header>>;
70
+ /**
71
+ * Generate inherent extrinsics.
72
+ **/
73
+ inherentExtrinsics: AugmentedCall<ApiType, (inherent: InherentData | { data?: any } | string | Uint8Array) => Observable<Vec<Extrinsic>>>;
74
+ /**
75
+ * Generic call
76
+ **/
77
+ [key: string]: DecoratedCallBase<ApiType>;
78
+ };
79
+ /** 0xdf6acb689907609b/4 */
80
+ core: {
81
+ /**
82
+ * Execute the given block.
83
+ **/
84
+ executeBlock: AugmentedCall<ApiType, (block: Block | { header?: any; extrinsics?: any } | string | Uint8Array) => Observable<Null>>;
85
+ /**
86
+ * Initialize a block with the given header.
87
+ **/
88
+ initializeBlock: AugmentedCall<ApiType, (header: Header | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array) => Observable<Null>>;
89
+ /**
90
+ * Returns the version of the runtime.
91
+ **/
92
+ version: AugmentedCall<ApiType, () => Observable<RuntimeVersion>>;
93
+ /**
94
+ * Generic call
95
+ **/
96
+ [key: string]: DecoratedCallBase<ApiType>;
97
+ };
98
+ /** 0xed99c5acb25eedf5/3 */
99
+ grandpaApi: {
100
+ /**
101
+ * Get current GRANDPA authority set id.
102
+ **/
103
+ currentSetId: AugmentedCall<ApiType, () => Observable<SetId>>;
104
+ /**
105
+ * Generates a proof of key ownership for the given authority in the given set.
106
+ **/
107
+ generateKeyOwnershipProof: AugmentedCall<ApiType, (setId: SetId | AnyNumber | Uint8Array, authorityId: AuthorityId | string | Uint8Array) => Observable<Option<OpaqueKeyOwnershipProof>>>;
108
+ /**
109
+ * Get the current GRANDPA authorities and weights. This should not change except for when changes are scheduled and the corresponding delay has passed.
110
+ **/
111
+ grandpaAuthorities: AugmentedCall<ApiType, () => Observable<AuthorityList>>;
112
+ /**
113
+ * Submits an unsigned extrinsic to report an equivocation.
114
+ **/
115
+ submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocationProof: GrandpaEquivocationProof | { setId?: any; equivocation?: any } | string | Uint8Array, keyOwnerProof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
116
+ /**
117
+ * Generic call
118
+ **/
119
+ [key: string]: DecoratedCallBase<ApiType>;
120
+ };
121
+ /** 0x37e397fc7c91f5e4/2 */
122
+ metadata: {
123
+ /**
124
+ * Returns the metadata of a runtime
125
+ **/
126
+ metadata: AugmentedCall<ApiType, () => Observable<OpaqueMetadata>>;
127
+ /**
128
+ * Returns the metadata at a given version.
129
+ **/
130
+ metadataAtVersion: AugmentedCall<ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable<Option<OpaqueMetadata>>>;
131
+ /**
132
+ * Returns the supported metadata versions.
133
+ **/
134
+ metadataVersions: AugmentedCall<ApiType, () => Observable<Vec<u32>>>;
135
+ /**
136
+ * Generic call
137
+ **/
138
+ [key: string]: DecoratedCallBase<ApiType>;
139
+ };
140
+ /** 0xf78b278be53f454c/2 */
141
+ offchainWorkerApi: {
142
+ /**
143
+ * Starts the off-chain task for given block header.
144
+ **/
145
+ offchainWorker: AugmentedCall<ApiType, (header: Header | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array) => Observable<Null>>;
146
+ /**
147
+ * Generic call
148
+ **/
149
+ [key: string]: DecoratedCallBase<ApiType>;
150
+ };
151
+ /** 0xab3c0572291feb8b/1 */
152
+ sessionKeys: {
153
+ /**
154
+ * Decode the given public session keys.
155
+ **/
156
+ decodeSessionKeys: AugmentedCall<ApiType, (encoded: Bytes | string | Uint8Array) => Observable<Option<Vec<ITuple<[Bytes, KeyTypeId]>>>>>;
157
+ /**
158
+ * Generate a set of session keys with optionally using the given seed.
159
+ **/
160
+ generateSessionKeys: AugmentedCall<ApiType, (seed: Option<Bytes> | null | Uint8Array | Bytes | string) => Observable<Bytes>>;
161
+ /**
162
+ * Generic call
163
+ **/
164
+ [key: string]: DecoratedCallBase<ApiType>;
165
+ };
166
+ /** 0xd2bc9897eed08f15/3 */
167
+ taggedTransactionQueue: {
168
+ /**
169
+ * Validate the transaction.
170
+ **/
171
+ validateTransaction: AugmentedCall<ApiType, (source: TransactionSource | 'InBlock' | 'Local' | 'External' | number | Uint8Array, tx: Extrinsic | IExtrinsic | string | Uint8Array, blockHash: BlockHash | string | Uint8Array) => Observable<TransactionValidity>>;
172
+ /**
173
+ * Generic call
174
+ **/
175
+ [key: string]: DecoratedCallBase<ApiType>;
176
+ };
177
+ /** 0x37c8bb1350a9a2a8/4 */
178
+ transactionPaymentApi: {
179
+ /**
180
+ * The transaction fee details
181
+ **/
182
+ queryFeeDetails: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<FeeDetails>>;
183
+ /**
184
+ * The transaction info
185
+ **/
186
+ queryInfo: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
187
+ /**
188
+ * Query the output of the current LengthToFee given some input
189
+ **/
190
+ queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<Balance>>;
191
+ /**
192
+ * Query the output of the current WeightToFee given some input
193
+ **/
194
+ queryWeightToFee: AugmentedCall<ApiType, (weight: Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => Observable<Balance>>;
195
+ /**
196
+ * Generic call
197
+ **/
198
+ [key: string]: DecoratedCallBase<ApiType>;
199
+ };
200
+ /** 0xf3ff14d5ab527059/3 */
201
+ transactionPaymentCallApi: {
202
+ /**
203
+ * The call fee details
204
+ **/
205
+ queryCallFeeDetails: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<FeeDetails>>;
206
+ /**
207
+ * The call info
208
+ **/
209
+ queryCallInfo: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
210
+ /**
211
+ * Query the output of the current LengthToFee given some input
212
+ **/
213
+ queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<Balance>>;
214
+ /**
215
+ * Query the output of the current WeightToFee given some input
216
+ **/
217
+ queryWeightToFee: AugmentedCall<ApiType, (weight: Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => Observable<Balance>>;
218
+ /**
219
+ * Generic call
220
+ **/
221
+ [key: string]: DecoratedCallBase<ApiType>;
222
+ };
223
+ } // AugmentedCalls
224
+ } // declare module