@storagehub/api-augment 0.2.10 → 0.2.14
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/dist/parachain/interfaces/augment-api-consts.js +1 -1
- package/dist/parachain/interfaces/augment-api-errors.js +1 -1
- package/dist/parachain/interfaces/augment-api-events.js +1 -1
- package/dist/parachain/interfaces/augment-api-query.js +1 -1
- package/dist/parachain/interfaces/augment-api-rpc.js +1 -1
- package/dist/parachain/interfaces/augment-api-runtime.js +1 -1
- package/dist/parachain/interfaces/augment-api-tx.js +1 -1
- package/dist/parachain/interfaces/augment-api.js +7 -7
- package/dist/parachain/interfaces/augment-types.js +1 -1
- package/dist/parachain/interfaces/index.js +1 -1
- package/dist/parachain/interfaces/lookup.js +2406 -2869
- package/dist/parachain/interfaces/lookup.js.map +1 -1
- package/dist/parachain/interfaces/registry.js +1 -1
- package/dist/parachain/interfaces/storagehubclient/index.js +1 -1
- package/dist/parachain/interfaces/types-lookup.js +1 -1
- package/dist/parachain/interfaces/types.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-consts.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-errors.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-events.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-query.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-rpc.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-runtime.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api-tx.js +1 -1
- package/dist/solochain-evm/interfaces/augment-api.js +7 -7
- package/dist/solochain-evm/interfaces/augment-types.js +1 -1
- package/dist/solochain-evm/interfaces/index.js +1 -1
- package/dist/solochain-evm/interfaces/lookup.js +1686 -2107
- package/dist/solochain-evm/interfaces/lookup.js.map +1 -1
- package/dist/solochain-evm/interfaces/registry.js +1 -1
- package/dist/solochain-evm/interfaces/storagehubclient/index.js +1 -1
- package/dist/solochain-evm/interfaces/types-lookup.js +1 -1
- package/dist/solochain-evm/interfaces/types.js +1 -1
- package/dist/types/parachain/interfaces/augment-api-consts.d.ts +7 -7
- package/dist/types/parachain/interfaces/augment-api-errors.d.ts +8 -107
- package/dist/types/parachain/interfaces/augment-api-events.d.ts +185 -917
- package/dist/types/parachain/interfaces/augment-api-query.d.ts +112 -319
- package/dist/types/parachain/interfaces/augment-api-rpc.d.ts +32 -32
- package/dist/types/parachain/interfaces/augment-api-runtime.d.ts +25 -25
- package/dist/types/parachain/interfaces/augment-api-tx.d.ts +212 -637
- package/dist/types/parachain/interfaces/augment-api.d.ts +7 -7
- package/dist/types/parachain/interfaces/augment-types.d.ts +76 -75
- package/dist/types/parachain/interfaces/index.d.ts +1 -1
- package/dist/types/parachain/interfaces/lookup.d.ts +289 -326
- package/dist/types/parachain/interfaces/registry.d.ts +4 -4
- package/dist/types/parachain/interfaces/storagehubclient/index.d.ts +1 -1
- package/dist/types/parachain/interfaces/storagehubclient/types.d.ts +46 -36
- package/dist/types/parachain/interfaces/types-lookup.d.ts +525 -712
- package/dist/types/parachain/interfaces/types.d.ts +1 -1
- package/dist/types/solochain-evm/interfaces/augment-api-consts.d.ts +7 -7
- package/dist/types/solochain-evm/interfaces/augment-api-errors.d.ts +8 -107
- package/dist/types/solochain-evm/interfaces/augment-api-events.d.ts +150 -763
- package/dist/types/solochain-evm/interfaces/augment-api-query.d.ts +100 -291
- package/dist/types/solochain-evm/interfaces/augment-api-rpc.d.ts +32 -32
- package/dist/types/solochain-evm/interfaces/augment-api-runtime.d.ts +25 -25
- package/dist/types/solochain-evm/interfaces/augment-api-tx.d.ts +195 -582
- package/dist/types/solochain-evm/interfaces/augment-api.d.ts +7 -7
- package/dist/types/solochain-evm/interfaces/augment-types.d.ts +76 -75
- package/dist/types/solochain-evm/interfaces/index.d.ts +1 -1
- package/dist/types/solochain-evm/interfaces/lookup.d.ts +239 -276
- package/dist/types/solochain-evm/interfaces/registry.d.ts +4 -4
- package/dist/types/solochain-evm/interfaces/storagehubclient/index.d.ts +1 -1
- package/dist/types/solochain-evm/interfaces/storagehubclient/types.d.ts +47 -37
- package/dist/types/solochain-evm/interfaces/types-lookup.d.ts +425 -582
- package/dist/types/solochain-evm/interfaces/types.d.ts +1 -1
- package/metadata-sh-parachain.json +1 -1
- package/metadata-sh-solochain-evm.json +1 -1
- package/package.json +2 -2
- package/src/parachain/interfaces/augment-api-errors.ts +5 -104
- package/src/parachain/interfaces/augment-api-events.ts +14 -113
- package/src/parachain/interfaces/augment-api-tx.ts +63 -10
- package/src/parachain/interfaces/augment-types.ts +2 -0
- package/src/parachain/interfaces/lookup.ts +326 -388
- package/src/parachain/interfaces/registry.ts +2 -2
- package/src/parachain/interfaces/storagehubclient/types.ts +14 -4
- package/src/parachain/interfaces/types-lookup.ts +388 -486
- package/src/solochain-evm/interfaces/augment-api-errors.ts +5 -104
- package/src/solochain-evm/interfaces/augment-api-events.ts +14 -113
- package/src/solochain-evm/interfaces/augment-api-tx.ts +63 -10
- package/src/solochain-evm/interfaces/augment-types.ts +2 -0
- package/src/solochain-evm/interfaces/lookup.ts +276 -338
- package/src/solochain-evm/interfaces/registry.ts +2 -2
- package/src/solochain-evm/interfaces/storagehubclient/types.ts +14 -4
- package/src/solochain-evm/interfaces/types-lookup.ts +338 -436
- package/storagehub-api-augment-0.2.14.tgz +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { AugmentedRpc } from
|
|
3
|
-
import type { Metadata, StorageKey } from
|
|
4
|
-
import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, f64, u128, u32, u64 } from
|
|
5
|
-
import type { AnyNumber, Codec, ITuple } from
|
|
6
|
-
import type { ExtrinsicOrHash, ExtrinsicStatus } from
|
|
7
|
-
import type { EpochAuthorship } from
|
|
8
|
-
import type { BeefyVersionedFinalityProof } from
|
|
9
|
-
import type { BlockHash } from
|
|
10
|
-
import type { PrefixedStorageKey } from
|
|
11
|
-
import type { AuthorityId } from
|
|
12
|
-
import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequestV1 } from
|
|
13
|
-
import type { BlockStats } from
|
|
14
|
-
import type { CreatedBlock } from
|
|
15
|
-
import type { EthAccount, EthCallRequest, EthFeeHistory, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from
|
|
16
|
-
import type { Extrinsic } from
|
|
17
|
-
import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from
|
|
18
|
-
import type { MmrHash, MmrLeafBatchProof } from
|
|
19
|
-
import type { StorageKind } from
|
|
20
|
-
import type { FeeDetails, RuntimeDispatchInfoV1 } from
|
|
21
|
-
import type { RpcMethods } from
|
|
22
|
-
import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from
|
|
23
|
-
import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from
|
|
24
|
-
import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from
|
|
25
|
-
import type { IExtrinsic, Observable } from
|
|
26
|
-
import type { AddFilesToForestStorageResult, CheckpointChallenge, FileMetadata, GetFileFromFileStorageResult, GetValuePropositionsResult, LoadFileInStorageResult, RemoveFilesFromForestStorageResult, RpcProviderId, SaveFileToDisk } from
|
|
1
|
+
import '@polkadot/rpc-core/types/jsonrpc';
|
|
2
|
+
import type { AugmentedRpc } from '@polkadot/rpc-core/types';
|
|
3
|
+
import type { Metadata, StorageKey } from '@polkadot/types';
|
|
4
|
+
import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, f64, u128, u32, u64 } from '@polkadot/types-codec';
|
|
5
|
+
import type { AnyNumber, Codec, ITuple } from '@polkadot/types-codec/types';
|
|
6
|
+
import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
|
|
7
|
+
import type { EpochAuthorship } from '@polkadot/types/interfaces/babe';
|
|
8
|
+
import type { BeefyVersionedFinalityProof } from '@polkadot/types/interfaces/beefy';
|
|
9
|
+
import type { BlockHash } from '@polkadot/types/interfaces/chain';
|
|
10
|
+
import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
|
|
11
|
+
import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
|
|
12
|
+
import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequestV1 } from '@polkadot/types/interfaces/contracts';
|
|
13
|
+
import type { BlockStats } from '@polkadot/types/interfaces/dev';
|
|
14
|
+
import type { CreatedBlock } from '@polkadot/types/interfaces/engine';
|
|
15
|
+
import type { EthAccount, EthCallRequest, EthFeeHistory, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
|
|
16
|
+
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
|
|
17
|
+
import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';
|
|
18
|
+
import type { MmrHash, MmrLeafBatchProof } from '@polkadot/types/interfaces/mmr';
|
|
19
|
+
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
|
|
20
|
+
import type { FeeDetails, RuntimeDispatchInfoV1 } from '@polkadot/types/interfaces/payment';
|
|
21
|
+
import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
|
|
22
|
+
import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
|
|
23
|
+
import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
|
|
24
|
+
import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system';
|
|
25
|
+
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
|
26
|
+
import type { AddFilesToForestStorageResult, CheckpointChallenge, FileMetadata, GetFileFromFileStorageResult, GetValuePropositionsResult, LoadFileInStorageResult, RemoveFilesFromForestStorageResult, RpcProviderId, SaveFileToDisk } from '@storagehub/api-augment/solochain-evm/interfaces/storagehubclient';
|
|
27
27
|
export type __AugmentedRpc = AugmentedRpc<() => unknown>;
|
|
28
|
-
declare module
|
|
28
|
+
declare module '@polkadot/rpc-core/types/jsonrpc' {
|
|
29
29
|
interface RpcInterface {
|
|
30
30
|
author: {
|
|
31
31
|
/**
|
|
@@ -242,7 +242,7 @@ declare module "@polkadot/rpc-core/types/jsonrpc" {
|
|
|
242
242
|
/**
|
|
243
243
|
* Returns fee history for given block count & reward percentiles
|
|
244
244
|
**/
|
|
245
|
-
feeHistory: AugmentedRpc<(blockCount: U256 | AnyNumber | Uint8Array, newestBlock: BlockNumber | AnyNumber | Uint8Array, rewardPercentiles: Option<Vec<f64>> | null | Uint8Array | Vec<f64> | f64[]) => Observable<EthFeeHistory>>;
|
|
245
|
+
feeHistory: AugmentedRpc<(blockCount: U256 | AnyNumber | Uint8Array, newestBlock: BlockNumber | AnyNumber | Uint8Array, rewardPercentiles: Option<Vec<f64>> | null | Uint8Array | Vec<f64> | (f64)[]) => Observable<EthFeeHistory>>;
|
|
246
246
|
/**
|
|
247
247
|
* Returns current gas price.
|
|
248
248
|
**/
|
|
@@ -398,7 +398,7 @@ declare module "@polkadot/rpc-core/types/jsonrpc" {
|
|
|
398
398
|
/**
|
|
399
399
|
* Subscribe to Eth subscription.
|
|
400
400
|
**/
|
|
401
|
-
subscribe: AugmentedRpc<(kind: EthSubKind |
|
|
401
|
+
subscribe: AugmentedRpc<(kind: EthSubKind | 'newHeads' | 'logs' | 'newPendingTransactions' | 'syncing' | number | Uint8Array, params?: EthSubParams | {
|
|
402
402
|
None: any;
|
|
403
403
|
} | {
|
|
404
404
|
Logs: any;
|
|
@@ -470,15 +470,15 @@ declare module "@polkadot/rpc-core/types/jsonrpc" {
|
|
|
470
470
|
/**
|
|
471
471
|
* Clear offchain local storage under given key and prefix
|
|
472
472
|
**/
|
|
473
|
-
localStorageClear: AugmentedRpc<(kind: StorageKind |
|
|
473
|
+
localStorageClear: AugmentedRpc<(kind: StorageKind | 'PERSISTENT' | 'LOCAL' | number | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Null>>;
|
|
474
474
|
/**
|
|
475
475
|
* Get offchain local storage under given key and prefix
|
|
476
476
|
**/
|
|
477
|
-
localStorageGet: AugmentedRpc<(kind: StorageKind |
|
|
477
|
+
localStorageGet: AugmentedRpc<(kind: StorageKind | 'PERSISTENT' | 'LOCAL' | number | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Option<Bytes>>>;
|
|
478
478
|
/**
|
|
479
479
|
* Set offchain local storage under given key and prefix
|
|
480
480
|
**/
|
|
481
|
-
localStorageSet: AugmentedRpc<(kind: StorageKind |
|
|
481
|
+
localStorageSet: AugmentedRpc<(kind: StorageKind | 'PERSISTENT' | 'LOCAL' | number | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => Observable<Null>>;
|
|
482
482
|
};
|
|
483
483
|
payment: {
|
|
484
484
|
/**
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from
|
|
3
|
-
import type { BTreeMap, Bytes, Null, Option, Result, U256, Vec, bool, u256, u32, u64 } from
|
|
4
|
-
import type { AnyNumber, IMethod, ITuple } from
|
|
5
|
-
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from
|
|
6
|
-
import type { CheckInherentsResult, InherentData } from
|
|
7
|
-
import type { BlockHash } from
|
|
8
|
-
import type { AuthorityId } from
|
|
9
|
-
import type { BlockV2, EthReceiptV3, EthTransactionStatus, TransactionV2 } from
|
|
10
|
-
import type { EvmAccount, EvmCallInfoV2, EvmCreateInfoV2 } from
|
|
11
|
-
import type { Extrinsic } from
|
|
12
|
-
import type { GenesisBuildErr } from
|
|
13
|
-
import type { AuthorityList, GrandpaEquivocationProof, SetId } from
|
|
14
|
-
import type { OpaqueMetadata } from
|
|
15
|
-
import type { FeeDetails, RuntimeDispatchInfo } from
|
|
16
|
-
import type { AccountId, Balance, Block, BlockNumber, Call, ExtrinsicInclusionMode, H160, H256, Header, Index, KeyTypeId, Permill, Slot, Weight } from
|
|
17
|
-
import type { RuntimeVersion } from
|
|
18
|
-
import type { ApplyExtrinsicResult, DispatchError, Key } from
|
|
19
|
-
import type { TransactionSource, TransactionValidity } from
|
|
20
|
-
import type { IExtrinsic, Observable } from
|
|
21
|
-
import type { BackupStorageProvider, BackupStorageProviderId, BucketId, ChunkId, GenericApplyDeltaEventInfoError, GetBspInfoError, GetChallengePeriodError, GetChallengeSeedError, GetCheckpointChallengesError, GetNextDeadlineTickError, GetProofSubmissionRecordError, GetStakeError, GetUsersWithDebtOverThresholdError, IncompleteStorageRequestMetadataResponse, IsStorageRequestOpenToVolunteersError, MainStorageProviderId, Multiaddresses, ProviderId, QueryAvailableStorageCapacityError, QueryBspConfirmChunksToProveForFileError, QueryBspsVolunteeredForFileError, QueryBucketsForMspError, QueryBucketsOfUserStoredByMspError, QueryEarliestChangeCapacityBlockError, QueryFileEarliestVolunteerBlockError, QueryIncompleteStorageRequestMetadataError, QueryMspConfirmChunksToProveForFileError, QueryMspIdOfBucketIdError, QueryProviderMultiaddressesError, QueryStorageProviderCapacityError, RandomnessOutput, StorageDataUnit, StorageProviderId, StorageRequestMetadata, TrieRemoveMutation, ValuePropositionWithId } from
|
|
1
|
+
import '@polkadot/api-base/types/calls';
|
|
2
|
+
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
|
|
3
|
+
import type { BTreeMap, Bytes, Null, Option, Result, U256, Vec, bool, u256, u32, u64 } from '@polkadot/types-codec';
|
|
4
|
+
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
5
|
+
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
|
|
6
|
+
import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
|
|
7
|
+
import type { BlockHash } from '@polkadot/types/interfaces/chain';
|
|
8
|
+
import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
|
|
9
|
+
import type { BlockV2, EthReceiptV3, EthTransactionStatus, TransactionV2 } from '@polkadot/types/interfaces/eth';
|
|
10
|
+
import type { EvmAccount, EvmCallInfoV2, EvmCreateInfoV2 } from '@polkadot/types/interfaces/evm';
|
|
11
|
+
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
|
|
12
|
+
import type { GenesisBuildErr } from '@polkadot/types/interfaces/genesisBuilder';
|
|
13
|
+
import type { AuthorityList, GrandpaEquivocationProof, SetId } from '@polkadot/types/interfaces/grandpa';
|
|
14
|
+
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
|
15
|
+
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
|
|
16
|
+
import type { AccountId, Balance, Block, BlockNumber, Call, ExtrinsicInclusionMode, H160, H256, Header, Index, KeyTypeId, Permill, Slot, Weight } from '@polkadot/types/interfaces/runtime';
|
|
17
|
+
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
|
18
|
+
import type { ApplyExtrinsicResult, DispatchError, Key } from '@polkadot/types/interfaces/system';
|
|
19
|
+
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
|
|
20
|
+
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
|
21
|
+
import type { BackupStorageProvider, BackupStorageProviderId, BucketId, ChunkId, GenericApplyDeltaEventInfoError, GetBspInfoError, GetChallengePeriodError, GetChallengeSeedError, GetCheckpointChallengesError, GetNextDeadlineTickError, GetProofSubmissionRecordError, GetStakeError, GetUsersWithDebtOverThresholdError, IncompleteStorageRequestMetadataResponse, IsStorageRequestOpenToVolunteersError, MainStorageProviderId, Multiaddresses, ProviderId, QueryAvailableStorageCapacityError, QueryBspConfirmChunksToProveForFileError, QueryBspsVolunteeredForFileError, QueryBucketsForMspError, QueryBucketsOfUserStoredByMspError, QueryEarliestChangeCapacityBlockError, QueryFileEarliestVolunteerBlockError, QueryIncompleteStorageRequestMetadataError, QueryMspConfirmChunksToProveForFileError, QueryMspIdOfBucketIdError, QueryProviderMultiaddressesError, QueryStorageProviderCapacityError, RandomnessOutput, StorageDataUnit, StorageProviderId, StorageRequestMetadata, TrieRemoveMutation, ValuePropositionWithId } from '@storagehub/api-augment/solochain-evm/interfaces/storagehubclient';
|
|
22
22
|
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
|
23
23
|
export type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
|
|
24
|
-
declare module
|
|
24
|
+
declare module '@polkadot/api-base/types/calls' {
|
|
25
25
|
interface AugmentedCalls<ApiType extends ApiTypes> {
|
|
26
26
|
/** 0xbc9d89904f5b923f/1 */
|
|
27
27
|
accountNonceApi: {
|
|
@@ -162,7 +162,7 @@ declare module "@polkadot/api-base/types/calls" {
|
|
|
162
162
|
/**
|
|
163
163
|
* Returns a frame_ethereum::call response. If `estimate` is true,
|
|
164
164
|
**/
|
|
165
|
-
call: AugmentedCall<ApiType, (from: H160 | string | Uint8Array, to: H160 | string | Uint8Array, data: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: U256 | AnyNumber | Uint8Array, maxFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, estimate: bool | boolean | Uint8Array, accessList: Option<Vec<ITuple<[H160, Vec<H256>]>>> | null | Uint8Array | Vec<ITuple<[H160, Vec<H256>]>> | [H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]][]) => Observable<Result<EvmCallInfoV2, DispatchError>>>;
|
|
165
|
+
call: AugmentedCall<ApiType, (from: H160 | string | Uint8Array, to: H160 | string | Uint8Array, data: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: U256 | AnyNumber | Uint8Array, maxFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, estimate: bool | boolean | Uint8Array, accessList: Option<Vec<ITuple<[H160, Vec<H256>]>>> | null | Uint8Array | Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => Observable<Result<EvmCallInfoV2, DispatchError>>>;
|
|
166
166
|
/**
|
|
167
167
|
* Returns runtime defined pallet_evm::ChainId.
|
|
168
168
|
**/
|
|
@@ -170,7 +170,7 @@ declare module "@polkadot/api-base/types/calls" {
|
|
|
170
170
|
/**
|
|
171
171
|
* Returns a frame_ethereum::call response. If `estimate` is true,
|
|
172
172
|
**/
|
|
173
|
-
create: AugmentedCall<ApiType, (from: H160 | string | Uint8Array, data: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: U256 | AnyNumber | Uint8Array, maxFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, estimate: bool | boolean | Uint8Array, accessList: Option<Vec<ITuple<[H160, Vec<H256>]>>> | null | Uint8Array | Vec<ITuple<[H160, Vec<H256>]>> | [H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]][]) => Observable<Result<EvmCreateInfoV2, DispatchError>>>;
|
|
173
|
+
create: AugmentedCall<ApiType, (from: H160 | string | Uint8Array, data: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: U256 | AnyNumber | Uint8Array, maxFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, estimate: bool | boolean | Uint8Array, accessList: Option<Vec<ITuple<[H160, Vec<H256>]>>> | null | Uint8Array | Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => Observable<Result<EvmCreateInfoV2, DispatchError>>>;
|
|
174
174
|
/**
|
|
175
175
|
* Return all the current data for a block in a single runtime call.
|
|
176
176
|
**/
|
|
@@ -489,7 +489,7 @@ declare module "@polkadot/api-base/types/calls" {
|
|
|
489
489
|
/**
|
|
490
490
|
* Validate the transaction.
|
|
491
491
|
**/
|
|
492
|
-
validateTransaction: AugmentedCall<ApiType, (source: TransactionSource |
|
|
492
|
+
validateTransaction: AugmentedCall<ApiType, (source: TransactionSource | 'InBlock' | 'Local' | 'External' | number | Uint8Array, tx: Extrinsic | IExtrinsic | string | Uint8Array, blockHash: BlockHash | string | Uint8Array) => Observable<TransactionValidity>>;
|
|
493
493
|
/**
|
|
494
494
|
* Generic call
|
|
495
495
|
**/
|