import '@polkadot/api-base/types/calls'; import type { PalletPipsPipId, PalletProtocolFeeRpcRuntimeApiCappedFee, PolymeshPrimitivesNftNftId, PolymeshPrimitivesSettlementInstructionId, PolymeshRuntimeDevelopRuntimeRuntimeCall } from './polymesh'; import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types'; import type { Bytes, Null, Option, Result, Text, U256, U8aFixed, 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 { AccountId32, H160, H256, Slot } from '@polkadot/types/interfaces/runtime'; import type { PalletConfidentialAssetsRelayerSubmitBatchedFeeInfo, PalletGroupRpcRuntimeApiMember, PalletIdentityDidStatus, PalletIdentityKeyIdentityData, PalletIdentityRpcDidRecords, PalletPipsVoteCount, PalletReviveEvmApiDebugRpcTypesTrace, PalletReviveEvmApiDebugRpcTypesTracerType, PalletReviveEvmApiRpcTypesDryRunConfig, PalletReviveEvmApiRpcTypesGenBlock, PalletReviveEvmApiRpcTypesGenGenericTransaction, PalletReviveEvmBlockHashReceiptGasInfo, PalletRevivePrimitivesBalanceConversionError, PalletRevivePrimitivesCode, PalletRevivePrimitivesCodeUploadReturnValue, PalletRevivePrimitivesContractAccessError, PalletRevivePrimitivesContractResultExecReturnValue, PalletRevivePrimitivesContractResultInstantiateReturnValue, PalletRevivePrimitivesEthTransactError, PalletRevivePrimitivesEthTransactInfo, PalletTransactionPaymentFeeDetails, PalletTransactionPaymentRuntimeDispatchInfo, PolymeshDartBpBatchedBatchedProofs, PolymeshPrimitivesAssetAssetHolder, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAuthorization, PolymeshPrimitivesAuthorizationAuthorizationType, PolymeshPrimitivesComplianceManagerComplianceReport, PolymeshPrimitivesIdentityId, PolymeshPrimitivesNftNfTs, PolymeshPrimitivesProtocolFeeProtocolOp, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesSettlementAffirmationCount, PolymeshPrimitivesSettlementAffirmationRequirement, PolymeshPrimitivesSettlementAssetCount, PolymeshPrimitivesSettlementExecuteInstructionInfo, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesTransferComplianceTransferCondition, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeConfiguration, SpConsensusBabeEpoch, SpConsensusBeefyDoubleVotingProof, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyForkVotingProofOpaqueValue, SpConsensusBeefyFutureBlockVotingProof, SpConsensusBeefyValidatorSet, SpConsensusGrandpaAppPublic, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, SpInherentsCheckInherentsResult, SpInherentsInherentData, SpMmrPrimitivesAncestryProof, SpMmrPrimitivesError, SpMmrPrimitivesLeafProof, SpRuntimeBlock, SpRuntimeBlockLazyBlock, SpRuntimeDispatchError, SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeTransactionValidityTransactionSource, SpRuntimeTransactionValidityTransactionValidityError, SpRuntimeTransactionValidityValidTransaction, SpSessionRuntimeApiOpaqueGeneratedSessionKeys, SpVersionRuntimeVersion, SpWeightsWeightV2Weight } 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>; }; /** 0xbb6ba9053c5c9d78/ */ assetApi: { /** * Returns the remaining allowance that `spender` can transfer from `owner`, for the given `asset_id`. Returns 0 if no allowance exists., `Balance::MAX` (u128::MAX) indicates an unlimited allowance. **/ allowance: AugmentedCall Observable>; /** * Returns a vector containing all errors for the transfer. An empty vec means there's no error. **/ transferReport: AugmentedCall Observable>>; }; /** 0x687ad44ad37f03c2/ */ authorityDiscoveryApi: { /** * Retrieve authority identifiers of the current and next authority set. **/ authorities: AugmentedCall Observable>>; }; /** 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>>; }; /** 0x49eaaf1b548a0cb0/ */ beefyApi: { /** * Return the block number where BEEFY consensus is enabled/started **/ beefyGenesis: 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 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>>; }; /** 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>>; }; /** 0x98cf18c375950e1f/ */ complianceApi: { /** * Checks all compliance requirements for the given ticker,, ```ignore, curl http://localhost:9933 -H "Content-Type: application/json" -d '{, "id":1,, "jsonrpc":"2.0",, "method": "compliance_complianceReport",, "params":[, { "did": "0x0100000000000000000000000000000000000000000000000000000000000000", "kind": "Default"},, { "did": "0x0200000000000000000000000000000000000000000000000000000000000000", "kind": "Default"},, { "ticker": "0x5449434B4552303030303031", "ids": [1]}, ], }', ``` **/ complianceReport: AugmentedCall Observable>>; }; /** 0x1b5ab1652b4f7170/ */ confidentialAssetsApi: { /** * Returns the weight and fee for a signed `relayer_submit_batched_proofs` extrinsic, carrying `batch`.,, The fee payment proof's length is estimated from the current fee account curve, tree height, since the proof itself isn't available yet at this point. **/ relayerSubmitBatchedFeeInfo: AugmentedCall Observable>; }; /** 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>; }; /** 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>>; }; /** 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>>; }; /** 0x595ac34c5ea1f5fe/ */ groupApi: { /** * **/ getCddValidMembers: AugmentedCall Observable>>; /** * **/ getGcValidMembers: AugmentedCall Observable>>; }; /** 0xf28e8080b6e2dfd0/ */ identityApi: { /** * Retrieve DidRecord for a given `did`. **/ getDidRecords: AugmentedCall Observable>; /** * Retrieve the status of the DID **/ getDidStatus: AugmentedCall | (PolymeshPrimitivesIdentityId | string | Uint8Array)[]) => Observable>>; /** * Retrieve list of a authorization for a given signatory **/ getFilteredAuthorizations: AugmentedCall | null | Uint8Array | PolymeshPrimitivesAuthorizationAuthorizationType | 'AttestPrimaryKeyRotation' | 'RotatePrimaryKey' | 'TransferTicker' | 'AddMultiSigSigner' | 'TransferAssetOwnership' | 'JoinIdentity' | 'PortfolioCustody' | 'BecomeAgent' | 'OldAddRelayerPayingKey' | 'RotatePrimaryKeyToSecondary' | number) => Observable>>; /** * Provide the `KeyIdentityData` from a given `AccountId`, including:, - the corresponding DID,, - whether the `AccountId` is a primary or secondary key,, - any permissions related to the key.,, This is an aggregate call provided for UX convenience. **/ getKeyIdentityData: AugmentedCall Observable>>; }; /** 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>>; }; /** 0x91d5df18b0d2cf58/ */ mmrApi: { /** * 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>>; /** * 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>>; }; /** 0x9ea061a615cee2fe/ */ nftApi: { /** * Returns `true` if `operator` may transfer any NFT of `asset_id` held by `owner`.,, This is the ERC-721 `isApprovedForAll`, scoped to a single collection. **/ operatorApproval: AugmentedCall Observable>; /** * Returns the account approved to transfer `nft_id`, if any.,, This is the ERC-721 `getApproved`. **/ tokenApproval: AugmentedCall Observable>>; /** * Returns a vector containing all errors for the transfer. An empty vec means there's no error. **/ transferReport: AugmentedCall Observable>>; }; /** 0xf78b278be53f454c/ */ offchainWorkerApi: { /** * Starts the off-chain task for given block header. **/ offchainWorker: AugmentedCall Observable>; }; /** 0x329342994773047f/ */ pipsApi: { /** * Retrieve votes for a proposal for a given `id`. **/ getVotes: AugmentedCall Observable>; /** * Retrieve proposals started by `address`. **/ proposedBy: AugmentedCall Observable>>; /** * Retrieve proposals `address` voted on. **/ votedOn: AugmentedCall Observable>>; }; /** 0x001a0b29f17d01f4/ */ protocolFeeApi: { /** * **/ computeFee: AugmentedCall Observable>; }; /** 0x8c403e5c4a9fd442/ */ reviveApi: { /** * Get the account id associated to this H160 address. **/ accountId: AugmentedCall Observable>; /** * Get the H160 address associated to this account id **/ address: AugmentedCall Observable>; /** * Returns the free balance of the given `[H160]` address, using EVM decimals. **/ balance: AugmentedCall Observable>; /** * The address of the validator that produced the current block. **/ blockAuthor: AugmentedCall Observable>; /** * Returns the block gas limit. **/ blockGasLimit: AugmentedCall Observable>; /** * Perform a call from a specified account to a given contract.,, See [`crate::Pallet::bare_call`]. **/ call: AugmentedCall | null | Uint8Array | SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any; } | string, storage_deposit_limit: Option | null | Uint8Array | u128 | AnyNumber, input_data: Bytes | string | Uint8Array) => Observable>; /** * The code at the specified address taking pre-compiles into account. **/ code: AugmentedCall Observable>; /** * Returns the current ETH block.,, This is one block behind the substrate block. **/ ethBlock: AugmentedCall Observable>; /** * Returns the ETH block hash for the given block number. **/ ethBlockHash: AugmentedCall Observable>>; /** * Estimates the amount of gas that a transactions requires.,, This function estimates the gas of the transaction according to the same binary search, algorithm that's implemented in Geth. It stops when with an acceptable error ratio of, 1.5% so that the algorithm terminates early. **/ ethEstimateGas: AugmentedCall Observable>>; /** * The details needed to reconstruct the receipt information offchain.,, # Note,, Each entry corresponds to the appropriate Ethereum transaction in the current block. **/ ethReceiptData: AugmentedCall Observable>>; /** * Perform an Ethereum call.,, Deprecated use `v2` version instead., See [`crate::Pallet::dry_run_eth_transact`] **/ ethTransact: AugmentedCall Observable>>; /** * Perform an Ethereum call.,, See [`crate::Pallet::dry_run_eth_transact`] **/ ethTransactWithConfig: AugmentedCall Observable>>; /** * Returns the gas price. **/ gasPrice: AugmentedCall Observable>; /** * Query a given storage key in a given contract.,, Returns `Ok(Some(Vec))` if the storage value exists under the given key in the, specified account and `Ok(None)` if it doesn't. If the account specified by the address, doesn't exist, or doesn't have a contract then `Err` is returned. **/ getStorage: AugmentedCall Observable, PalletRevivePrimitivesContractAccessError>>>; /** * Query a given variable-sized storage key in a given contract.,, Returns `Ok(Some(Vec))` if the storage value exists under the given key in the, specified account and `Ok(None)` if it doesn't. If the account specified by the address, doesn't exist, or doesn't have a contract then `Err` is returned. **/ getStorageVarKey: AugmentedCall Observable, PalletRevivePrimitivesContractAccessError>>>; /** * Instantiate a new contract.,, See `[crate::Pallet::bare_instantiate]`. **/ instantiate: AugmentedCall | null | Uint8Array | SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any; } | string, storage_deposit_limit: Option | null | Uint8Array | u128 | AnyNumber, code: PalletRevivePrimitivesCode | { Upload: any; } | { Existing: any; } | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Option | null | Uint8Array | U8aFixed | string) => Observable>; /** * Returns the block gas limit as calculated from the weights. **/ maxExtrinsicWeightInGas: AugmentedCall Observable>; /** * Construct the new balance and dust components of this EVM balance. **/ newBalanceWithDust: AugmentedCall Observable, PalletRevivePrimitivesBalanceConversionError>>>; /** * Returns the nonce of the given `[H160]` address. **/ nonce: AugmentedCall Observable>; /** * The address used to call the runtime's pallets dispatchables **/ runtimePalletsAddress: AugmentedCall Observable>; /** * Traces the execution of an entire block and returns call traces.,, This is intended to be called through `state_call` to replay the block from the, parent block.,, See eth-rpc `debug_traceBlockByNumber` for usage. **/ traceBlock: AugmentedCall Observable>>>; /** * Dry run and return the trace of the given call.,, See eth-rpc `debug_traceCall` for usage. **/ traceCall: AugmentedCall Observable>>; /** * Traces the execution of a specific transaction within a block.,, This is intended to be called through `state_call` to replay the block from the, parent hash up to the transaction.,, See eth-rpc `debug_traceTransaction` for usage. **/ traceTx: AugmentedCall Observable>>; /** * Upload new code without instantiating a contract from it.,, See [`crate::Pallet::bare_upload_code`]. **/ uploadCode: AugmentedCall | null | Uint8Array | u128 | AnyNumber) => Observable>>; }; /** 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>; }; /** 0x53df5001418f3b46/ */ settlementApi: { /** * Returns an [`AffirmationCount`] instance containing the number of assets being sent/received from `portfolios`,, and the number of off-chain assets in the instruction.,, ```ignore, curl http://localhost:9933 -H "Content-Type: application/json" -d '{, "id":1,, "jsonrpc":"2.0",, "method": "settlement_getAffirmationCount",, "params": [1, [{ "did": "0x0100000000000000000000000000000000000000000000000000000000000000", "kind": "Default"}]], }', ``` **/ getAffirmationCount: AugmentedCall | (PolymeshPrimitivesAssetAssetHolder | { Portfolio: any; } | { Account: any; } | string | Uint8Array)[]) => Observable>; /** * Returns an [`ExecuteInstructionInfo`] instance containing the consumed weight and the number of fungible and non fungible, tokens in the instruction. Executing an instruction includes verifying the compliance and transfer restrictions of all assets, in the instruction, unlocking all assets, pruning the instruction, updating the statistics for each asset and more.,, ```ignore, curl http://localhost:9933 -H "Content-Type: application/json" -d '{, "id":1,, "jsonrpc":"2.0",, "method": "settlement_getExecuteInstructionInfo",, "params": [1], }', ``` **/ getExecuteInstructionInfo: AugmentedCall Observable>>; /** * Returns a vector containing all errors for the execution. An empty vec means there's no error.,, ```ignore, curl http://localhost:9933 -H "Content-Type: application/json" -d '{, "id":1,, "jsonrpc":"2.0",, "method": "settlement_getExecuteIntructionReport",, "params": [1], }', ``` **/ getExecuteInstructionReport: AugmentedCall Observable>>; /** * Returns the [`AffirmationRequirement`] for the given `receiver` and `asset_id`.,, [`AffirmationRequirement::Required`] means a receiver affirmation is needed before the, instruction can execute. [`AffirmationRequirement::Automatic`] means the instruction, will execute without waiting for the receiver to affirm.,, Senders can call this before initiating a transfer to determine whether the resulting, instruction will auto-execute or enter a pending state awaiting receiver affirmation. **/ getReceiverAffirmationRequirement: AugmentedCall Observable>; /** * Returns a vector containing all errors for the transfer. An empty vec means there's no error.,, ```ignore, curl http://localhost:9933 -H "Content-Type: application/json" -d '{, "id":1,, "jsonrpc":"2.0",, "method": "settlement_getTransferReport",, "params": [, {, "NonFungible":, {, "sender": { "did": "0x0100000000000000000000000000000000000000000000000000000000000000", "kind": "Default"},, "receiver": { "did": "0x0100000000000000000000000000000000000000000000000000000000000000", "kind": "Default"},, "nfts": { "ticker": "0x5449434B4552303030303031", "ids": [1]}, }, },, false, ], }', ``` **/ getTransferReport: AugmentedCall Observable>>; /** * Returns the [`AssetCount`] for the given `instruction_id`. **/ instructionAssetCount: AugmentedCall Observable>; /** * Returns the weight for calling `lock_instruction` for the given `instruction_id`. **/ lockInstructionWeight: AugmentedCall Observable>>; }; /** 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 a validator `account` has pages to be claimed for the given era. **/ pendingRewards: AugmentedCall Observable>; }; /** 0x608339ce0e76adf3/ */ statisticsApi: { /** * Returns a vector containing all [`TransferCondition`] that are not being respected for the transfer. An empty vec means there's no error. **/ transferRestrictionsReport: AugmentedCall Observable, SpRuntimeDispatchError>>>; }; /** 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>>; }; /** 0x37c8bb1350a9a2a8/ */ transactionPaymentApi: { /** * **/ queryFeeDetails: AugmentedCall Observable>; /** * **/ queryInfo: AugmentedCall Observable>; }; /** 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>; }; } } //# sourceMappingURL=augment-api-runtime.d.ts.map