@polkadot/api-augment 9.12.1 → 9.13.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.
- package/cjs/packageInfo.js +1 -1
- package/kusama/events.d.ts +4 -2
- package/kusama/runtime.d.ts +25 -3
- package/kusama/tx.d.ts +1 -1
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/polkadot/events.d.ts +4 -2
- package/polkadot/runtime.d.ts +25 -3
- package/polkadot/tx.d.ts +1 -1
- package/substrate/events.d.ts +13 -4
- package/substrate/query.d.ts +32 -0
- package/substrate/runtime.d.ts +25 -3
- package/substrate/tx.d.ts +9 -1
package/cjs/packageInfo.js
CHANGED
package/kusama/events.d.ts
CHANGED
|
@@ -565,12 +565,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
565
565
|
eras: Vec<u32>;
|
|
566
566
|
}>;
|
|
567
567
|
/**
|
|
568
|
-
* A batch was terminated.
|
|
568
|
+
* A batch of a given size was terminated.
|
|
569
569
|
*
|
|
570
570
|
* This is always follows by a number of `Unstaked` or `Slashed` events, marking the end
|
|
571
571
|
* of the batch. A new batch will be created upon next block.
|
|
572
572
|
**/
|
|
573
|
-
BatchFinished: AugmentedEvent<ApiType, []
|
|
573
|
+
BatchFinished: AugmentedEvent<ApiType, [size_: u32], {
|
|
574
|
+
size_: u32;
|
|
575
|
+
}>;
|
|
574
576
|
/**
|
|
575
577
|
* An internal error happened. Operations will be paused now.
|
|
576
578
|
**/
|
package/kusama/runtime.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
|
|
13
13
|
import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrLeafIndex, MmrProof } from '@polkadot/types/interfaces/mmr';
|
|
14
14
|
import type { CandidateCommitments, CandidateEvent, CommittedCandidateReceipt, CoreState, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
|
|
15
15
|
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
|
|
16
|
-
import type { AccountId, Balance, Block, Call, Hash, Header, Index, KeyTypeId, Slot, ValidatorId } from '@polkadot/types/interfaces/runtime';
|
|
16
|
+
import type { AccountId, Balance, Block, Call, Hash, Header, Index, KeyTypeId, Slot, ValidatorId, Weight } from '@polkadot/types/interfaces/runtime';
|
|
17
17
|
import type { SessionIndex } from '@polkadot/types/interfaces/session';
|
|
18
18
|
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
|
19
19
|
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
|
@@ -383,7 +383,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
383
383
|
**/
|
|
384
384
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
385
385
|
};
|
|
386
|
-
/** 0x37c8bb1350a9a2a8/
|
|
386
|
+
/** 0x37c8bb1350a9a2a8/3 */
|
|
387
387
|
transactionPaymentApi: {
|
|
388
388
|
/**
|
|
389
389
|
* The transaction fee details
|
|
@@ -393,12 +393,23 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
393
393
|
* The transaction info
|
|
394
394
|
**/
|
|
395
395
|
queryInfo: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
|
|
396
|
+
/**
|
|
397
|
+
* Query the output of the current LengthToFee given some input
|
|
398
|
+
**/
|
|
399
|
+
queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<Balance>>;
|
|
400
|
+
/**
|
|
401
|
+
* Query the output of the current WeightToFee given some input
|
|
402
|
+
**/
|
|
403
|
+
queryWeightToFee: AugmentedCall<ApiType, (weight: Weight | {
|
|
404
|
+
refTime?: any;
|
|
405
|
+
proofSize?: any;
|
|
406
|
+
} | string | Uint8Array) => Observable<Balance>>;
|
|
396
407
|
/**
|
|
397
408
|
* Generic call
|
|
398
409
|
**/
|
|
399
410
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
400
411
|
};
|
|
401
|
-
/** 0xf3ff14d5ab527059/
|
|
412
|
+
/** 0xf3ff14d5ab527059/3 */
|
|
402
413
|
transactionPaymentCallApi: {
|
|
403
414
|
/**
|
|
404
415
|
* The call fee details
|
|
@@ -408,6 +419,17 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
408
419
|
* The call info
|
|
409
420
|
**/
|
|
410
421
|
queryCallInfo: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
|
|
422
|
+
/**
|
|
423
|
+
* Query the output of the current LengthToFee given some input
|
|
424
|
+
**/
|
|
425
|
+
queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<Balance>>;
|
|
426
|
+
/**
|
|
427
|
+
* Query the output of the current WeightToFee given some input
|
|
428
|
+
**/
|
|
429
|
+
queryWeightToFee: AugmentedCall<ApiType, (weight: Weight | {
|
|
430
|
+
refTime?: any;
|
|
431
|
+
proofSize?: any;
|
|
432
|
+
} | string | Uint8Array) => Observable<Balance>>;
|
|
411
433
|
/**
|
|
412
434
|
* Generic call
|
|
413
435
|
**/
|
package/kusama/tx.d.ts
CHANGED
|
@@ -1763,7 +1763,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1763
1763
|
*
|
|
1764
1764
|
* Dispatch origin must be signed by the [`Config::ControlOrigin`].
|
|
1765
1765
|
**/
|
|
1766
|
-
control: AugmentedSubmittable<(
|
|
1766
|
+
control: AugmentedSubmittable<(erasToCheck: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1767
1767
|
/**
|
|
1768
1768
|
* Deregister oneself from the fast-unstake.
|
|
1769
1769
|
*
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"./cjs/detectPackage.js"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "9.
|
|
23
|
+
"version": "9.13.2",
|
|
24
24
|
"main": "./cjs/index.js",
|
|
25
25
|
"module": "./index.js",
|
|
26
26
|
"types": "./index.d.ts",
|
|
@@ -186,11 +186,11 @@
|
|
|
186
186
|
},
|
|
187
187
|
"dependencies": {
|
|
188
188
|
"@babel/runtime": "^7.20.13",
|
|
189
|
-
"@polkadot/api-base": "9.
|
|
190
|
-
"@polkadot/rpc-augment": "9.
|
|
191
|
-
"@polkadot/types": "9.
|
|
192
|
-
"@polkadot/types-augment": "9.
|
|
193
|
-
"@polkadot/types-codec": "9.
|
|
194
|
-
"@polkadot/util": "^10.
|
|
189
|
+
"@polkadot/api-base": "9.13.2",
|
|
190
|
+
"@polkadot/rpc-augment": "9.13.2",
|
|
191
|
+
"@polkadot/types": "9.13.2",
|
|
192
|
+
"@polkadot/types-augment": "9.13.2",
|
|
193
|
+
"@polkadot/types-codec": "9.13.2",
|
|
194
|
+
"@polkadot/util": "^10.3.1"
|
|
195
195
|
}
|
|
196
196
|
}
|
package/packageInfo.js
CHANGED
|
@@ -7,5 +7,5 @@ export const packageInfo = {
|
|
|
7
7
|
name: '@polkadot/api-augment',
|
|
8
8
|
path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
|
|
9
9
|
type: 'esm',
|
|
10
|
-
version: '9.
|
|
10
|
+
version: '9.13.2'
|
|
11
11
|
};
|
package/polkadot/events.d.ts
CHANGED
|
@@ -551,12 +551,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
551
551
|
eras: Vec<u32>;
|
|
552
552
|
}>;
|
|
553
553
|
/**
|
|
554
|
-
* A batch was terminated.
|
|
554
|
+
* A batch of a given size was terminated.
|
|
555
555
|
*
|
|
556
556
|
* This is always follows by a number of `Unstaked` or `Slashed` events, marking the end
|
|
557
557
|
* of the batch. A new batch will be created upon next block.
|
|
558
558
|
**/
|
|
559
|
-
BatchFinished: AugmentedEvent<ApiType, []
|
|
559
|
+
BatchFinished: AugmentedEvent<ApiType, [size_: u32], {
|
|
560
|
+
size_: u32;
|
|
561
|
+
}>;
|
|
560
562
|
/**
|
|
561
563
|
* An internal error happened. Operations will be paused now.
|
|
562
564
|
**/
|
package/polkadot/runtime.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
|
|
13
13
|
import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrLeafIndex, MmrProof } from '@polkadot/types/interfaces/mmr';
|
|
14
14
|
import type { CandidateCommitments, CandidateEvent, CommittedCandidateReceipt, CoreState, GroupRotationInfo, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, ParaId, ParaValidatorIndex, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionInfo, ValidationCode, ValidationCodeHash, ValidatorSignature } from '@polkadot/types/interfaces/parachains';
|
|
15
15
|
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
|
|
16
|
-
import type { AccountId, Balance, Block, Call, Hash, Header, Index, KeyTypeId, Slot, ValidatorId } from '@polkadot/types/interfaces/runtime';
|
|
16
|
+
import type { AccountId, Balance, Block, Call, Hash, Header, Index, KeyTypeId, Slot, ValidatorId, Weight } from '@polkadot/types/interfaces/runtime';
|
|
17
17
|
import type { SessionIndex } from '@polkadot/types/interfaces/session';
|
|
18
18
|
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
|
19
19
|
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
|
@@ -383,7 +383,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
383
383
|
**/
|
|
384
384
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
385
385
|
};
|
|
386
|
-
/** 0x37c8bb1350a9a2a8/
|
|
386
|
+
/** 0x37c8bb1350a9a2a8/3 */
|
|
387
387
|
transactionPaymentApi: {
|
|
388
388
|
/**
|
|
389
389
|
* The transaction fee details
|
|
@@ -393,12 +393,23 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
393
393
|
* The transaction info
|
|
394
394
|
**/
|
|
395
395
|
queryInfo: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
|
|
396
|
+
/**
|
|
397
|
+
* Query the output of the current LengthToFee given some input
|
|
398
|
+
**/
|
|
399
|
+
queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<Balance>>;
|
|
400
|
+
/**
|
|
401
|
+
* Query the output of the current WeightToFee given some input
|
|
402
|
+
**/
|
|
403
|
+
queryWeightToFee: AugmentedCall<ApiType, (weight: Weight | {
|
|
404
|
+
refTime?: any;
|
|
405
|
+
proofSize?: any;
|
|
406
|
+
} | string | Uint8Array) => Observable<Balance>>;
|
|
396
407
|
/**
|
|
397
408
|
* Generic call
|
|
398
409
|
**/
|
|
399
410
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
400
411
|
};
|
|
401
|
-
/** 0xf3ff14d5ab527059/
|
|
412
|
+
/** 0xf3ff14d5ab527059/3 */
|
|
402
413
|
transactionPaymentCallApi: {
|
|
403
414
|
/**
|
|
404
415
|
* The call fee details
|
|
@@ -408,6 +419,17 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
408
419
|
* The call info
|
|
409
420
|
**/
|
|
410
421
|
queryCallInfo: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
|
|
422
|
+
/**
|
|
423
|
+
* Query the output of the current LengthToFee given some input
|
|
424
|
+
**/
|
|
425
|
+
queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<Balance>>;
|
|
426
|
+
/**
|
|
427
|
+
* Query the output of the current WeightToFee given some input
|
|
428
|
+
**/
|
|
429
|
+
queryWeightToFee: AugmentedCall<ApiType, (weight: Weight | {
|
|
430
|
+
refTime?: any;
|
|
431
|
+
proofSize?: any;
|
|
432
|
+
} | string | Uint8Array) => Observable<Balance>>;
|
|
411
433
|
/**
|
|
412
434
|
* Generic call
|
|
413
435
|
**/
|
package/polkadot/tx.d.ts
CHANGED
|
@@ -1603,7 +1603,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1603
1603
|
*
|
|
1604
1604
|
* Dispatch origin must be signed by the [`Config::ControlOrigin`].
|
|
1605
1605
|
**/
|
|
1606
|
-
control: AugmentedSubmittable<(
|
|
1606
|
+
control: AugmentedSubmittable<(erasToCheck: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1607
1607
|
/**
|
|
1608
1608
|
* Deregister oneself from the fast-unstake.
|
|
1609
1609
|
*
|
package/substrate/events.d.ts
CHANGED
|
@@ -256,10 +256,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
256
256
|
/**
|
|
257
257
|
* Some assets were issued.
|
|
258
258
|
**/
|
|
259
|
-
Issued: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32,
|
|
259
|
+
Issued: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, amount: u128], {
|
|
260
260
|
assetId: u32;
|
|
261
261
|
owner: AccountId32;
|
|
262
|
-
|
|
262
|
+
amount: u128;
|
|
263
263
|
}>;
|
|
264
264
|
/**
|
|
265
265
|
* Metadata has been cleared for an asset.
|
|
@@ -880,12 +880,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
880
880
|
eras: Vec<u32>;
|
|
881
881
|
}>;
|
|
882
882
|
/**
|
|
883
|
-
* A batch was terminated.
|
|
883
|
+
* A batch of a given size was terminated.
|
|
884
884
|
*
|
|
885
885
|
* This is always follows by a number of `Unstaked` or `Slashed` events, marking the end
|
|
886
886
|
* of the batch. A new batch will be created upon next block.
|
|
887
887
|
**/
|
|
888
|
-
BatchFinished: AugmentedEvent<ApiType, []
|
|
888
|
+
BatchFinished: AugmentedEvent<ApiType, [size_: u32], {
|
|
889
|
+
size_: u32;
|
|
890
|
+
}>;
|
|
889
891
|
/**
|
|
890
892
|
* An internal error happened. Operations will be paused now.
|
|
891
893
|
**/
|
|
@@ -1659,6 +1661,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1659
1661
|
**/
|
|
1660
1662
|
[key: string]: AugmentedEvent<ApiType>;
|
|
1661
1663
|
};
|
|
1664
|
+
pov: {
|
|
1665
|
+
TestEvent: AugmentedEvent<ApiType, []>;
|
|
1666
|
+
/**
|
|
1667
|
+
* Generic event
|
|
1668
|
+
**/
|
|
1669
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1670
|
+
};
|
|
1662
1671
|
preimage: {
|
|
1663
1672
|
/**
|
|
1664
1673
|
* A preimage has ben cleared.
|
package/substrate/query.d.ts
CHANGED
|
@@ -1071,6 +1071,38 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1071
1071
|
**/
|
|
1072
1072
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1073
1073
|
};
|
|
1074
|
+
pov: {
|
|
1075
|
+
/**
|
|
1076
|
+
* A value with a MEL bound of 32 byte.
|
|
1077
|
+
**/
|
|
1078
|
+
boundedValue: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1079
|
+
doubleMap1M: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
1080
|
+
/**
|
|
1081
|
+
* 4MiB value.
|
|
1082
|
+
**/
|
|
1083
|
+
largeValue: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1084
|
+
largeValue2: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1085
|
+
/**
|
|
1086
|
+
* A map with a maximum of 16M entries.
|
|
1087
|
+
**/
|
|
1088
|
+
map16M: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1089
|
+
/**
|
|
1090
|
+
* A map with a maximum of 1M entries.
|
|
1091
|
+
**/
|
|
1092
|
+
map1M: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1093
|
+
unboundedMap: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<u32>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1094
|
+
unboundedMap2: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Vec<u32>>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
1095
|
+
/**
|
|
1096
|
+
* A value without a MEL bound.
|
|
1097
|
+
**/
|
|
1098
|
+
unboundedValue: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1099
|
+
value: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1100
|
+
value2: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1101
|
+
/**
|
|
1102
|
+
* Generic query
|
|
1103
|
+
**/
|
|
1104
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1105
|
+
};
|
|
1074
1106
|
preimage: {
|
|
1075
1107
|
preimageFor: AugmentedQuery<ApiType, (arg: ITuple<[H256, u32]> | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<Bytes>>, [ITuple<[H256, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[H256, u32]>]>;
|
|
1076
1108
|
/**
|
package/substrate/runtime.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import type { AuthorityList, GrandpaEquivocationProof, SetId } from '@polkadot/t
|
|
|
12
12
|
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
|
13
13
|
import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrLeafIndex, MmrProof } from '@polkadot/types/interfaces/mmr';
|
|
14
14
|
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
|
|
15
|
-
import type { AccountId, Balance, Block, Call, Hash, Header, Index, KeyTypeId, Slot, WeightV2 } from '@polkadot/types/interfaces/runtime';
|
|
15
|
+
import type { AccountId, Balance, Block, Call, Hash, Header, Index, KeyTypeId, Slot, Weight, WeightV2 } from '@polkadot/types/interfaces/runtime';
|
|
16
16
|
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
|
17
17
|
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
|
18
18
|
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
|
|
@@ -312,7 +312,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
312
312
|
**/
|
|
313
313
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
314
314
|
};
|
|
315
|
-
/** 0x37c8bb1350a9a2a8/
|
|
315
|
+
/** 0x37c8bb1350a9a2a8/3 */
|
|
316
316
|
transactionPaymentApi: {
|
|
317
317
|
/**
|
|
318
318
|
* The transaction fee details
|
|
@@ -322,12 +322,23 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
322
322
|
* The transaction info
|
|
323
323
|
**/
|
|
324
324
|
queryInfo: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
|
|
325
|
+
/**
|
|
326
|
+
* Query the output of the current LengthToFee given some input
|
|
327
|
+
**/
|
|
328
|
+
queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<Balance>>;
|
|
329
|
+
/**
|
|
330
|
+
* Query the output of the current WeightToFee given some input
|
|
331
|
+
**/
|
|
332
|
+
queryWeightToFee: AugmentedCall<ApiType, (weight: Weight | {
|
|
333
|
+
refTime?: any;
|
|
334
|
+
proofSize?: any;
|
|
335
|
+
} | string | Uint8Array) => Observable<Balance>>;
|
|
325
336
|
/**
|
|
326
337
|
* Generic call
|
|
327
338
|
**/
|
|
328
339
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
329
340
|
};
|
|
330
|
-
/** 0xf3ff14d5ab527059/
|
|
341
|
+
/** 0xf3ff14d5ab527059/3 */
|
|
331
342
|
transactionPaymentCallApi: {
|
|
332
343
|
/**
|
|
333
344
|
* The call fee details
|
|
@@ -337,6 +348,17 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
337
348
|
* The call info
|
|
338
349
|
**/
|
|
339
350
|
queryCallInfo: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
|
|
351
|
+
/**
|
|
352
|
+
* Query the output of the current LengthToFee given some input
|
|
353
|
+
**/
|
|
354
|
+
queryLengthToFee: AugmentedCall<ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable<Balance>>;
|
|
355
|
+
/**
|
|
356
|
+
* Query the output of the current WeightToFee given some input
|
|
357
|
+
**/
|
|
358
|
+
queryWeightToFee: AugmentedCall<ApiType, (weight: Weight | {
|
|
359
|
+
refTime?: any;
|
|
360
|
+
proofSize?: any;
|
|
361
|
+
} | string | Uint8Array) => Observable<Balance>>;
|
|
340
362
|
/**
|
|
341
363
|
* Generic call
|
|
342
364
|
**/
|
package/substrate/tx.d.ts
CHANGED
|
@@ -2668,7 +2668,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2668
2668
|
*
|
|
2669
2669
|
* Dispatch origin must be signed by the [`Config::ControlOrigin`].
|
|
2670
2670
|
**/
|
|
2671
|
-
control: AugmentedSubmittable<(
|
|
2671
|
+
control: AugmentedSubmittable<(erasToCheck: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
2672
2672
|
/**
|
|
2673
2673
|
* Deregister oneself from the fast-unstake.
|
|
2674
2674
|
*
|
|
@@ -4765,6 +4765,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4765
4765
|
**/
|
|
4766
4766
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
4767
4767
|
};
|
|
4768
|
+
pov: {
|
|
4769
|
+
emitEvent: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
4770
|
+
noop: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
4771
|
+
/**
|
|
4772
|
+
* Generic tx
|
|
4773
|
+
**/
|
|
4774
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
4775
|
+
};
|
|
4768
4776
|
preimage: {
|
|
4769
4777
|
/**
|
|
4770
4778
|
* Register a preimage on-chain.
|