import '@polkadot/api-base/types/calls'; import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types'; import type { BTreeMap, BitVec, Bytes, Null, Option, Result, Text, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; import type { OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe'; import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics'; import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata'; import type { ParaId, ValidationCodeHash } from '@polkadot/types/interfaces/parachains'; import type { AccountId32, H256, RuntimeCall, Slot } from '@polkadot/types/interfaces/runtime'; import type { FrameSupportViewFunctionsViewFunctionDispatchError, FrameSupportViewFunctionsViewFunctionId, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotPrimitivesV8ApprovalVotingParams, PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, PolkadotPrimitivesV8CandidateCommitments, PolkadotPrimitivesV8DisputeState, PolkadotPrimitivesV8ExecutorParams, PolkadotPrimitivesV8GroupRotationInfo, PolkadotPrimitivesV8OccupiedCoreAssumption, PolkadotPrimitivesV8PersistedValidationData, PolkadotPrimitivesV8PvfCheckStatement, PolkadotPrimitivesV8SessionInfo, PolkadotPrimitivesV8SlashingDisputeProof, PolkadotPrimitivesV8SlashingPendingSlashes, PolkadotPrimitivesV8ValidatorAppPublic, PolkadotPrimitivesV8ValidatorAppSignature, PolkadotPrimitivesVstagingAsyncBackingBackingState, PolkadotPrimitivesVstagingAsyncBackingConstraints, PolkadotPrimitivesVstagingCandidateEvent, PolkadotPrimitivesVstagingCommittedCandidateReceiptV2, PolkadotPrimitivesVstagingCoreState, PolkadotPrimitivesVstagingScrapedOnChainVotes, PolkadotRuntimeOriginCaller, RelayCommonApisInflationInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpVersionRuntimeVersion, SpWeightsWeightV2Weight, XcmRuntimeApisConversionsError, XcmRuntimeApisDryRunCallDryRunEffects, XcmRuntimeApisDryRunError, XcmRuntimeApisDryRunXcmDryRunEffects, XcmRuntimeApisFeesError, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; import type { IExtrinsic, Observable } from '@polkadot/types/types'; export type __AugmentedCall = AugmentedCall; export type __DecoratedCallBase = DecoratedCallBase; declare module '@polkadot/api-base/types/calls' { interface AugmentedCalls { /** 0xbc9d89904f5b923f/ */ accountNonceApi: { /** * Get current account nonce of given `AccountId`. **/ accountNonce: AugmentedCall Observable>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0x687ad44ad37f03c2/ */ authorityDiscoveryApi: { /** * Retrieve authority identifiers of the current and next authority set. **/ authorities: AugmentedCall Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0xcbca25e39f142387/ */ babeApi: { /** * Return the configuration for BABE. **/ configuration: AugmentedCall Observable>; /** * Returns information regarding the current epoch. **/ currentEpoch: AugmentedCall Observable>; /** * Returns the slot that started the current epoch. **/ currentEpochStart: AugmentedCall Observable>; /** * Generates a proof of key ownership for the given authority in the, current epoch. An example usage of this module is coupled with the, session historical module to prove that a given authority key is, tied to a given staking identity during a specific session. Proofs, of key ownership are necessary for submitting equivocation reports., NOTE: even though the API takes a `slot` as parameter the current, implementations ignores this parameter and instead relies on this, method being called at the correct block height, i.e. any point at, which the epoch for the given slot is live on-chain. Future, implementations will instead use indexed data through an offchain, worker, not requiring older states to be available. **/ generateKeyOwnershipProof: AugmentedCall Observable>>; /** * Returns information regarding the next epoch (which was already, previously announced). **/ nextEpoch: AugmentedCall Observable>; /** * Submits an unsigned extrinsic to report an equivocation. The caller, must provide the equivocation proof and a key ownership proof, (should be obtained using `generate_key_ownership_proof`). The, extrinsic will be unsigned and should only be accepted for local, authorship (not to be broadcast to the network). This method returns, `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context. **/ submitReportEquivocationUnsignedExtrinsic: AugmentedCall Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0x49eaaf1b548a0cb0/ */ beefyApi: { /** * Return the block number where BEEFY consensus is enabled/started **/ beefyGenesis: AugmentedCall Observable>>; /** * Generates a proof that the `prev_block_number` is part of the canonical chain at, `best_known_block_number`. **/ generateAncestryProof: AugmentedCall | null | Uint8Array | u32 | AnyNumber) => Observable>>; /** * Generates a proof of key ownership for the given authority in the, given set. An example usage of this module is coupled with the, session historical module to prove that a given authority key is, tied to a given staking identity during a specific session. Proofs, of key ownership are necessary for submitting equivocation reports., NOTE: even though the API takes a `set_id` as parameter the current, implementations ignores this parameter and instead relies on this, method being called at the correct block height, i.e. any point at, which the given set id is live on-chain. Future implementations will, instead use indexed data through an offchain worker, not requiring, older states to be available. **/ generateKeyOwnershipProof: AugmentedCall Observable>>; /** * Submits an unsigned extrinsic to report a double voting equivocation. The caller, must provide the double voting proof and a key ownership proof, (should be obtained using `generate_key_ownership_proof`). The, extrinsic will be unsigned and should only be accepted for local, authorship (not to be broadcast to the network). This method returns, `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context. **/ submitReportDoubleVotingUnsignedExtrinsic: AugmentedCall Observable>>; /** * Submits an unsigned extrinsic to report a fork voting equivocation. The caller, must provide the fork voting proof (the ancestry proof should be obtained using, `generate_ancestry_proof`) and a key ownership proof (should be obtained using, `generate_key_ownership_proof`). The extrinsic will be unsigned and should only, be accepted for local authorship (not to be broadcast to the network). This method, returns `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context. **/ submitReportForkVotingUnsignedExtrinsic: AugmentedCall Observable>>; /** * Submits an unsigned extrinsic to report a future block voting equivocation. The caller, must provide the future block voting proof and a key ownership proof, (should be obtained using `generate_key_ownership_proof`)., The extrinsic will be unsigned and should only be accepted for local, authorship (not to be broadcast to the network). This method returns, `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context. **/ submitReportFutureBlockVotingUnsignedExtrinsic: AugmentedCall Observable>>; /** * Return the current active BEEFY validator set **/ validatorSet: AugmentedCall Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0x2a5e924655399e60/ */ beefyMmrApi: { /** * Return the currently active BEEFY authority set proof. **/ authoritySetProof: AugmentedCall Observable>; /** * Return the next/queued BEEFY authority set proof. **/ nextAuthoritySetProof: AugmentedCall Observable>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0x40fe3ad401f8959a/ */ blockBuilder: { /** * Apply the given extrinsic.,, Returns an inclusion outcome which specifies if this extrinsic is included in, this block or not. **/ applyExtrinsic: AugmentedCall Observable, SpRuntimeTransactionValidityTransactionValidityError>>>; /** * Check that the inherents are valid. The inherent data will vary from chain to chain. **/ checkInherents: AugmentedCall Observable>; /** * Finish the current block. **/ finalizeBlock: AugmentedCall Observable>; /** * Generate inherent extrinsics. The inherent data will vary from chain to chain. **/ inherentExtrinsics: AugmentedCall Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0xdf6acb689907609b/ */ core: { /** * Execute the given block. **/ executeBlock: AugmentedCall Observable>; /** * Initialize a block with the given header and return the runtime executive mode. **/ initializeBlock: AugmentedCall Observable>; /** * Returns the version of the runtime. **/ version: AugmentedCall Observable>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0x91b1c8b16328eb92/ */ dryRunApi: { /** * Dry run call V2. **/ dryRunCall: AugmentedCall Observable>>; /** * Dry run XCM program **/ dryRunXcm: AugmentedCall Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0xfbc577b9d747efd6/ */ genesisBuilder: { /** * Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the, storage.,, In the case of a FRAME-based runtime, this function deserializes the full, `RuntimeGenesisConfig` from the given JSON blob and puts it into the storage. If the, provided JSON blob is incorrect or incomplete or the deserialization fails, an error, is returned.,, Please note that provided JSON blob must contain all `RuntimeGenesisConfig` fields, no, defaults will be used. **/ buildState: AugmentedCall Observable>>; /** * Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by, `id`.,, If `id` is `None` the function should return JSON blob representation of the default, `RuntimeGenesisConfig` struct of the runtime. Implementation must provide default, `RuntimeGenesisConfig`.,, Otherwise function returns a JSON representation of the built-in, named, `RuntimeGenesisConfig` preset identified by `id`, or `None` if such preset does not, exist. Returned `Vec` contains bytes of JSON blob (patch) which comprises a list of, (potentially nested) key-value pairs that are intended for customizing the default, runtime genesis config. The patch shall be merged (rfc7386) with the JSON representation, of the default `RuntimeGenesisConfig` to create a comprehensive genesis config that can, be used in `build_state` method. **/ getPreset: AugmentedCall | null | Uint8Array | Text | string) => Observable>>; /** * Returns a list of identifiers for available builtin `RuntimeGenesisConfig` presets.,, The presets from the list can be queried with [`GenesisBuilder::get_preset`] method. If, no named presets are provided by the runtime the list is empty. **/ presetNames: AugmentedCall Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0xed99c5acb25eedf5/ */ grandpaApi: { /** * Get current GRANDPA authority set id. **/ currentSetId: AugmentedCall Observable>; /** * Generates a proof of key ownership for the given authority in the, given set. An example usage of this module is coupled with the, session historical module to prove that a given authority key is, tied to a given staking identity during a specific session. Proofs, of key ownership are necessary for submitting equivocation reports., NOTE: even though the API takes a `set_id` as parameter the current, implementations ignore this parameter and instead rely on this, method being called at the correct block height, i.e. any point at, which the given set id is live on-chain. Future implementations will, instead use indexed data through an offchain worker, not requiring, older states to be available. **/ generateKeyOwnershipProof: AugmentedCall Observable>>; /** * Get the current GRANDPA authorities and weights. This should not change except, for when changes are scheduled and the corresponding delay has passed.,, When called at block B, it will return the set of authorities that should be, used to finalize descendants of this block (B+1, B+2, ...). The block B itself, is finalized by the authorities from block B-1. **/ grandpaAuthorities: AugmentedCall Observable>>>; /** * Submits an unsigned extrinsic to report an equivocation. The caller, must provide the equivocation proof and a key ownership proof, (should be obtained using `generate_key_ownership_proof`). The, extrinsic will be unsigned and should only be accepted for local, authorship (not to be broadcast to the network). This method returns, `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context. **/ submitReportEquivocationUnsignedExtrinsic: AugmentedCall Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0xc51ff1fa3f5d0cca/ */ inflation: { /** * Return the current estimates of the inflation amount.,, This is marked as experimental in light of RFC#89. Nonetheless, its usage is highly, recommended over trying to read-storage, or re-create the onchain logic. **/ experimentalInflationPredictionInfo: AugmentedCall Observable>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0x9ffb505aa738d69c/ */ locationToAccountApi: { /** * Converts `Location` to `AccountId`. **/ convertLocation: AugmentedCall Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0x37e397fc7c91f5e4/ */ metadata: { /** * Returns the metadata of a runtime. **/ metadata: AugmentedCall Observable>; /** * Returns the metadata at a given version.,, If the given `version` isn't supported, this will return `None`., Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime. **/ metadataAtVersion: AugmentedCall Observable>>; /** * Returns the supported metadata versions.,, This can be used to call `metadata_at_version`. **/ metadataVersions: AugmentedCall Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0x91d5df18b0d2cf58/ */ mmrApi: { /** * Generate MMR proof for a series of block numbers. If `best_known_block_number = Some(n)`,, use historical MMR state at given block height `n`. Else, use current MMR state. **/ generateProof: AugmentedCall | (u32 | AnyNumber | Uint8Array)[], best_known_block_number: Option | null | Uint8Array | u32 | AnyNumber) => Observable, SpMmrPrimitivesLeafProof]>, SpMmrPrimitivesError>>>; /** * Return the number of MMR blocks in the chain. **/ mmrLeafCount: AugmentedCall Observable>>; /** * Return the on-chain MMR root hash. **/ mmrRoot: AugmentedCall Observable>>; /** * Verify MMR proof against on-chain MMR for a batch of leaves.,, Note this function will use on-chain MMR root hash and check if the proof matches the hash., Note, the leaves should be sorted such that corresponding leaves and leaf indices have the, same position in both the `leaves` vector and the `leaf_indices` vector contained in the [LeafProof] **/ verifyProof: AugmentedCall | (Bytes | string | Uint8Array)[], proof: SpMmrPrimitivesLeafProof | { leafIndices?: any; leafCount?: any; items?: any; } | string | Uint8Array) => Observable>>; /** * Verify MMR proof against given root hash for a batch of leaves.,, Note this function does not require any on-chain storage - the, proof is verified against given MMR root hash.,, Note, the leaves should be sorted such that corresponding leaves and leaf indices have the, same position in both the `leaves` vector and the `leaf_indices` vector contained in the [LeafProof] **/ verifyProofStateless: AugmentedCall | (Bytes | string | Uint8Array)[], proof: SpMmrPrimitivesLeafProof | { leafIndices?: any; leafCount?: any; items?: any; } | string | Uint8Array) => Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0x17a6bc0d0062aeb3/ */ nominationPoolsApi: { /** * Returns the equivalent points of `new_funds` for a given pool. **/ balanceToPoints: AugmentedCall Observable>; /** * Returns true if the delegated funds of the pool `member` needs migration.,, Once a pool has successfully migrated to the strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake), the funds of the, member can be migrated from pool account to the member's account. Use, [`migrate_delegation`](pallet_nomination_pools::Call::migrate_delegation), to migrate the funds of the pool member. **/ memberNeedsDelegateMigration: AugmentedCall Observable>; /** * Returns the pending slash for a given pool member.,, If pending slash of the member exceeds `ExistentialDeposit`, it can be reported on, chain. **/ memberPendingSlash: AugmentedCall Observable>; /** * Returns the total contribution of a pool member including any balance that is unbonding. **/ memberTotalBalance: AugmentedCall Observable>; /** * Returns the pending rewards for the member that the AccountId was given for. **/ pendingRewards: AugmentedCall Observable>; /** * Returns the equivalent balance of `points` for a given pool. **/ pointsToBalance: AugmentedCall Observable>; /** * Returns the bonded account and reward account associated with the pool_id. **/ poolAccounts: AugmentedCall Observable>>; /** * Total balance contributed to the pool. **/ poolBalance: AugmentedCall Observable>; /** * Returns true if the pool with `pool_id` needs migration.,, This can happen when the `pallet-nomination-pools` has switched to using strategy, [`DelegateStake`](pallet_nomination_pools::adapter::DelegateStake) but the pool, still has funds that were staked using the older strategy, [TransferStake](pallet_nomination_pools::adapter::TransferStake). Use, [`migrate_pool_to_delegate_stake`](pallet_nomination_pools::Call::migrate_pool_to_delegate_stake), to migrate the pool. **/ poolNeedsDelegateMigration: AugmentedCall Observable>; /** * Returns the pending slash for a given pool. **/ poolPendingSlash: AugmentedCall Observable>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0xf78b278be53f454c/ */ offchainWorkerApi: { /** * Starts the off-chain task for given block header. **/ offchainWorker: AugmentedCall Observable>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0xaf2c0297a23e6d3d/ */ parachainHost: { /** * Approval voting configuration parameters **/ approvalVotingParams: AugmentedCall Observable>; /** * Returns the persisted validation data for the given `ParaId` along with the corresponding, validation code hash. Instead of accepting assumption about the para, matches the validation, data hash against an expected one and yields `None` if they're not equal. **/ assumedValidationData: AugmentedCall Observable>>>; /** * Returns candidate's acceptance limitations for asynchronous backing for a relay parent. **/ asyncBackingParams: AugmentedCall Observable>; /** * Yields information on all availability cores as relevant to the child block., Cores are either free or occupied. Free cores can have paras assigned to them. **/ availabilityCores: AugmentedCall Observable>>; /** * Returns the constraints on the actions that can be taken by a new parachain, block. **/ backingConstraints: AugmentedCall Observable>>; /** * Get a vector of events concerning candidates that occurred within a block. **/ candidateEvents: AugmentedCall Observable>>; /** * Get the receipt of a candidate pending availability. This returns `Some` for any paras, assigned to occupied cores in `availability_cores` and `None` otherwise. **/ candidatePendingAvailability: AugmentedCall Observable>>; /** * Elastic scaling support **/ candidatesPendingAvailability: AugmentedCall Observable>>; /** * Checks if the given validation outputs pass the acceptance criteria. **/ checkValidationOutputs: AugmentedCall Observable>; /** * Claim queue **/ claimQueue: AugmentedCall Observable>>>; /** * Returns a list of all disabled validators at the given block. **/ disabledValidators: AugmentedCall Observable>>; /** * Returns all onchain disputes. **/ disputes: AugmentedCall Observable>>>; /** * Get all the pending inbound messages in the downward message queue for a para. **/ dmqContents: AugmentedCall Observable>>; /** * Get the contents of all channels addressed to the given recipient. Channels that have no, messages in them are also included. **/ inboundHrmpChannelsContents: AugmentedCall Observable>>>; /** * Returns a merkle proof of a validator session key., NOTE: This function is only available since parachain host version 5. **/ keyOwnershipProof: AugmentedCall Observable>>; /** * Get the minimum number of backing votes for a parachain candidate., This is a staging method! Do not use on production runtimes! **/ minimumBackingVotes: AugmentedCall Observable>; /** * Get node features., This is a staging method! Do not use on production runtimes! **/ nodeFeatures: AugmentedCall Observable>; /** * Scrape dispute relevant from on-chain, backing votes and resolved disputes. **/ onChainVotes: AugmentedCall Observable>>; /** * Returns the state of parachain backing for a given para. **/ paraBackingState: AugmentedCall Observable>>; /** * Yields the persisted validation data for the given `ParaId` along with an assumption that, should be used if the para currently occupies a core.,, Returns `None` if either the para is not registered or the assumption is `Freed`, and the para already occupies a core. **/ persistedValidationData: AugmentedCall Observable>>; /** * Returns code hashes of PVFs that require pre-checking by validators in the active set.,, NOTE: This function is only available since parachain host version 2. **/ pvfsRequirePrecheck: AugmentedCall Observable>>; /** * Retrieve the scheduling lookahead **/ schedulingLookahead: AugmentedCall Observable>; /** * Returns execution parameters for the session. **/ sessionExecutorParams: AugmentedCall Observable>>; /** * Returns the session index expected at a child of the block.,, This can be used to instantiate a `SigningContext`. **/ sessionIndexForChild: AugmentedCall Observable>; /** * Get the session info for the given session, if stored.,, NOTE: This function is only available since parachain host version 2. **/ sessionInfo: AugmentedCall Observable>>; /** * Submits a PVF pre-checking statement into the transaction pool.,, NOTE: This function is only available since parachain host version 2. **/ submitPvfCheckStatement: AugmentedCall Observable>; /** * Submit an unsigned extrinsic to slash validators who lost a dispute about, a candidate of a past session., NOTE: This function is only available since parachain host version 5. **/ submitReportDisputeLost: AugmentedCall Observable>>; /** * Returns a list of validators that lost a past session dispute and need to be slashed., NOTE: This function is only available since parachain host version 5. **/ unappliedSlashes: AugmentedCall Observable>>>; /** * Fetch the validation code used by a para, making the given `OccupiedCoreAssumption`.,, Returns `None` if either the para is not registered or the assumption is `Freed`, and the para already occupies a core. **/ validationCode: AugmentedCall Observable>>; /** * Retrieve the maximum uncompressed code size. **/ validationCodeBombLimit: AugmentedCall Observable>; /** * Get the validation code from its hash. **/ validationCodeByHash: AugmentedCall Observable>>; /** * Fetch the hash of the validation code used by a para, making the given `OccupiedCoreAssumption`.,, NOTE: This function is only available since parachain host version 2. **/ validationCodeHash: AugmentedCall Observable>>; /** * Returns the validator groups and rotation info localized based on the hypothetical child, of a block whose state this is invoked on. Note that `now` in the `GroupRotationInfo`, should be the successor of the number of the block. **/ validatorGroups: AugmentedCall Observable>, PolkadotPrimitivesV8GroupRotationInfo]>>>; /** * Get the current validators. **/ validators: AugmentedCall Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0xccd9de6396c899ca/ */ runtimeViewFunction: { /** * Execute a view function query. **/ executeViewFunction: AugmentedCall Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0xab3c0572291feb8b/ */ sessionKeys: { /** * Decode the given public session keys.,, Returns the list of public raw public keys + key type. **/ decodeSessionKeys: AugmentedCall Observable>>>>; /** * Generate a set of session keys with optionally using the given seed., The keys should be stored within the keystore exposed via runtime, externalities.,, The seed needs to be a valid `utf8` string.,, Returns the concatenated SCALE encoded public keys. **/ generateSessionKeys: AugmentedCall | null | Uint8Array | Bytes | string) => Observable>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0x18ef58a3b67ba770/ */ stakingApi: { /** * Returns the page count of exposures for a validator `account` in a given era. **/ erasStakersPageCount: AugmentedCall Observable>; /** * Returns the nominations quota for a nominator with a given balance. **/ nominationsQuota: AugmentedCall Observable>; /** * Returns true if validator `account` has pages to be claimed for the given era. **/ pendingRewards: AugmentedCall Observable>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0xd2bc9897eed08f15/ */ taggedTransactionQueue: { /** * Validate the transaction.,, This method is invoked by the transaction pool to learn details about given transaction., The implementation should make sure to verify the correctness of the transaction, against current state. The given `block_hash` corresponds to the hash of the block, that is used as current state.,, Note that this call may be performed by the pool multiple times and transactions, might be verified in any possible order. **/ validateTransaction: AugmentedCall Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0x37c8bb1350a9a2a8/ */ transactionPaymentApi: { /** * **/ queryFeeDetails: AugmentedCall Observable>; /** * **/ queryInfo: AugmentedCall Observable>; /** * **/ queryLengthToFee: AugmentedCall Observable>; /** * **/ queryWeightToFee: AugmentedCall Observable>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0xf3ff14d5ab527059/ */ transactionPaymentCallApi: { /** * Query fee details of a given encoded `Call`. **/ queryCallFeeDetails: AugmentedCall Observable>; /** * Query information of a dispatch class, weight, and fee of a given encoded `Call`. **/ queryCallInfo: AugmentedCall Observable>; /** * Query the output of the current `LengthToFee` given some input. **/ queryLengthToFee: AugmentedCall Observable>; /** * Query the output of the current `WeightToFee` given some input. **/ queryWeightToFee: AugmentedCall Observable>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; /** 0x6ff52ee858e6c5bd/ */ xcmPaymentApi: { /** * Returns a list of acceptable payment assets.,, # Arguments,, * `xcm_version`: Version. **/ queryAcceptablePaymentAssets: AugmentedCall Observable, XcmRuntimeApisFeesError>>>; /** * Get delivery fees for sending a specific `message` to a `destination`., These always come in a specific asset, defined by the chain.,, # Arguments, * `message`: The message that'll be sent, necessary because most delivery fees are based on the, size of the message., * `destination`: The destination to send the message to. Different destinations may use, different senders that charge different fees. **/ queryDeliveryFees: AugmentedCall Observable>>; /** * Converts a weight into a fee for the specified `AssetId`.,, # Arguments,, * `weight`: convertible `Weight`., * `asset`: `VersionedAssetId`. **/ queryWeightToAssetFee: AugmentedCall Observable>>; /** * Returns a weight needed to execute a XCM.,, # Arguments,, * `message`: `VersionedXcm`. **/ queryXcmWeight: AugmentedCall Observable>>; /** * Generic call **/ [key: string]: DecoratedCallBase; }; } }