@polkadot/api-augment 9.2.2 → 9.3.1
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/consts.d.ts +16 -1
- package/kusama/runtime.d.ts +18 -4
- package/kusama/tx.d.ts +478 -38
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +41 -1
- package/polkadot/errors.d.ts +98 -0
- package/polkadot/events.d.ts +111 -1
- package/polkadot/query.d.ts +93 -1
- package/polkadot/runtime.d.ts +28 -2
- package/polkadot/tx.d.ts +569 -25
- package/substrate/consts.d.ts +16 -1
- package/substrate/errors.d.ts +12 -10
- package/substrate/events.d.ts +6 -6
- package/substrate/query.d.ts +6 -11
- package/substrate/runtime.d.ts +1 -2
- package/substrate/tx.d.ts +567 -63
package/cjs/packageInfo.js
CHANGED
package/kusama/consts.d.ts
CHANGED
|
@@ -498,6 +498,21 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
498
498
|
* Number of runners_up to keep.
|
|
499
499
|
**/
|
|
500
500
|
desiredRunnersUp: u32 & AugmentedConst<ApiType>;
|
|
501
|
+
/**
|
|
502
|
+
* The maximum number of candidates in a phragmen election.
|
|
503
|
+
*
|
|
504
|
+
* Warning: The election happens onchain, and this value will determine
|
|
505
|
+
* the size of the election. When this limit is reached no more
|
|
506
|
+
* candidates are accepted in the election.
|
|
507
|
+
**/
|
|
508
|
+
maxCandidates: u32 & AugmentedConst<ApiType>;
|
|
509
|
+
/**
|
|
510
|
+
* The maximum number of voters to allow in a phragmen election.
|
|
511
|
+
*
|
|
512
|
+
* Warning: This impacts the size of the election which is run onchain.
|
|
513
|
+
* When the limit is reached the new voters are ignored.
|
|
514
|
+
**/
|
|
515
|
+
maxVoters: u32 & AugmentedConst<ApiType>;
|
|
501
516
|
/**
|
|
502
517
|
* Identifier for the elections-phragmen pallet's lock
|
|
503
518
|
**/
|
|
@@ -751,7 +766,7 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
751
766
|
**/
|
|
752
767
|
dbWeight: FrameSupportWeightsRuntimeDbWeight & AugmentedConst<ApiType>;
|
|
753
768
|
/**
|
|
754
|
-
* The designated
|
|
769
|
+
* The designated SS58 prefix of this chain.
|
|
755
770
|
*
|
|
756
771
|
* This replaces the "ss58Format" property declared in the chain spec. Reason is
|
|
757
772
|
* that the runtime should know about the prefix in order to make use of it as
|
package/kusama/runtime.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@polkadot/api-base/types/calls';
|
|
2
2
|
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
|
|
3
3
|
import type { Bytes, Null, Option, Result, Vec, bool, u32 } from '@polkadot/types-codec';
|
|
4
|
-
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
4
|
+
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
|
|
6
6
|
import type { ValidatorSet } from '@polkadot/types/interfaces/beefy';
|
|
7
7
|
import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
|
|
@@ -11,10 +11,9 @@ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
|
|
|
11
11
|
import type { AuthorityList, GrandpaEquivocationProof, SetId } from '@polkadot/types/interfaces/grandpa';
|
|
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
|
-
import type { NpApiError } from '@polkadot/types/interfaces/nompools';
|
|
15
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';
|
|
16
15
|
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
|
|
17
|
-
import type { AccountId, Balance, Block, Hash, Header, Index, KeyTypeId, Slot, ValidatorId } from '@polkadot/types/interfaces/runtime';
|
|
16
|
+
import type { AccountId, Balance, Block, Call, Hash, Header, Index, KeyTypeId, Slot, ValidatorId } from '@polkadot/types/interfaces/runtime';
|
|
18
17
|
import type { SessionIndex } from '@polkadot/types/interfaces/session';
|
|
19
18
|
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
|
20
19
|
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
|
@@ -244,7 +243,7 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
244
243
|
/**
|
|
245
244
|
* Returns the pending rewards for the given member.
|
|
246
245
|
**/
|
|
247
|
-
pendingRewards: AugmentedCall<ApiType, (member: AccountId | string | Uint8Array) => Observable<
|
|
246
|
+
pendingRewards: AugmentedCall<ApiType, (member: AccountId | string | Uint8Array) => Observable<Balance>>;
|
|
248
247
|
/**
|
|
249
248
|
* Generic call
|
|
250
249
|
**/
|
|
@@ -399,5 +398,20 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
399
398
|
**/
|
|
400
399
|
[key: string]: DecoratedCallBase<ApiType>;
|
|
401
400
|
};
|
|
401
|
+
/** 0xf3ff14d5ab527059/1 */
|
|
402
|
+
transactionPaymentCallApi: {
|
|
403
|
+
/**
|
|
404
|
+
* The call fee details
|
|
405
|
+
**/
|
|
406
|
+
queryCallFeeDetails: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<FeeDetails>>;
|
|
407
|
+
/**
|
|
408
|
+
* The call info
|
|
409
|
+
**/
|
|
410
|
+
queryCallInfo: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
|
|
411
|
+
/**
|
|
412
|
+
* Generic call
|
|
413
|
+
**/
|
|
414
|
+
[key: string]: DecoratedCallBase<ApiType>;
|
|
415
|
+
};
|
|
402
416
|
}
|
|
403
417
|
}
|