@dedot/chaintypes 0.122.0 → 0.131.0
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/astar/consts.d.ts +0 -9
- package/astar/index.d.ts +1 -1
- package/astar/query.d.ts +0 -15
- package/hydration/consts.d.ts +29 -0
- package/hydration/errors.d.ts +172 -10
- package/hydration/events.d.ts +105 -0
- package/hydration/index.d.ts +1 -1
- package/hydration/json-rpc.d.ts +1 -0
- package/hydration/query.d.ts +50 -0
- package/hydration/tx.d.ts +408 -0
- package/hydration/types.d.ts +695 -12
- package/kusama/consts.d.ts +27 -7
- package/kusama/errors.d.ts +51 -4
- package/kusama/events.d.ts +212 -4
- package/kusama/index.d.ts +1 -1
- package/kusama/query.d.ts +44 -19
- package/kusama/runtime.d.ts +22 -0
- package/kusama/tx.d.ts +377 -25
- package/kusama/types.d.ts +638 -80
- package/kusama-asset-hub/consts.d.ts +98 -2
- package/kusama-asset-hub/errors.d.ts +314 -12
- package/kusama-asset-hub/events.d.ts +157 -3
- package/kusama-asset-hub/index.d.ts +1 -1
- package/kusama-asset-hub/query.d.ts +113 -6
- package/kusama-asset-hub/runtime.d.ts +217 -1
- package/kusama-asset-hub/tx.d.ts +581 -1
- package/kusama-asset-hub/types.d.ts +1086 -26
- package/moonbeam/index.d.ts +1 -1
- package/package.json +2 -2
- package/polkadot/consts.d.ts +23 -5
- package/polkadot/errors.d.ts +51 -4
- package/polkadot/events.d.ts +207 -4
- package/polkadot/index.d.ts +1 -1
- package/polkadot/query.d.ts +44 -19
- package/polkadot/runtime.d.ts +22 -0
- package/polkadot/tx.d.ts +376 -24
- package/polkadot/types.d.ts +630 -78
- package/westend/consts.d.ts +28 -9
- package/westend/errors.d.ts +21 -37
- package/westend/events.d.ts +25 -49
- package/westend/index.d.ts +1 -1
- package/westend/query.d.ts +40 -70
- package/westend/runtime.d.ts +7 -0
- package/westend/tx.d.ts +77 -124
- package/westend/types.d.ts +228 -328
- package/westend-asset-hub/consts.d.ts +41 -14
- package/westend-asset-hub/errors.d.ts +12 -96
- package/westend-asset-hub/events.d.ts +29 -81
- package/westend-asset-hub/index.d.ts +1 -1
- package/westend-asset-hub/query.d.ts +61 -125
- package/westend-asset-hub/runtime.d.ts +47 -1
- package/westend-asset-hub/tx.d.ts +97 -549
- package/westend-asset-hub/types.d.ts +489 -958
|
@@ -32,6 +32,7 @@ import type {
|
|
|
32
32
|
PolkadotPrimitivesV8AbridgedHostConfiguration,
|
|
33
33
|
CumulusPrimitivesParachainInherentMessageQueueChain,
|
|
34
34
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
35
|
+
CumulusPalletParachainSystemParachainInherentInboundMessageId,
|
|
35
36
|
PolkadotCorePrimitivesOutboundHrmpMessage,
|
|
36
37
|
PalletMigrationsMigrationCursor,
|
|
37
38
|
PalletPreimageOldRequestStatus,
|
|
@@ -41,7 +42,7 @@ import type {
|
|
|
41
42
|
PalletBalancesAccountData,
|
|
42
43
|
PalletBalancesBalanceLock,
|
|
43
44
|
PalletBalancesReserveData,
|
|
44
|
-
|
|
45
|
+
FrameSupportTokensMiscIdAmount,
|
|
45
46
|
FrameSupportTokensMiscIdAmountRuntimeFreezeReason,
|
|
46
47
|
PalletTransactionPaymentReleases,
|
|
47
48
|
PalletVestingVestingInfo,
|
|
@@ -67,7 +68,7 @@ import type {
|
|
|
67
68
|
PalletMessageQueuePage,
|
|
68
69
|
SnowbridgeCoreOperatingModeBasicOperatingMode,
|
|
69
70
|
PalletMultisigMultisig,
|
|
70
|
-
|
|
71
|
+
PalletProxyProxyDefinition,
|
|
71
72
|
PalletProxyAnnouncement,
|
|
72
73
|
PalletAssetsAssetDetails,
|
|
73
74
|
PalletAssetsAssetAccount,
|
|
@@ -90,7 +91,7 @@ import type {
|
|
|
90
91
|
StagingXcmV5Location,
|
|
91
92
|
PalletNftFractionalizationDetails,
|
|
92
93
|
PalletAssetConversionPoolInfo,
|
|
93
|
-
|
|
94
|
+
PalletReviveVmCodeInfo,
|
|
94
95
|
PalletReviveStorageContractInfo,
|
|
95
96
|
PalletReviveStorageDeletionQueueManager,
|
|
96
97
|
PalletAssetRewardsPoolStakerInfo,
|
|
@@ -130,13 +131,10 @@ import type {
|
|
|
130
131
|
AssetHubWestendRuntimeStakingNposCompactSolution16,
|
|
131
132
|
PalletElectionProviderMultiBlockSignedSubmissionMetadata,
|
|
132
133
|
PalletConvictionVotingVoteVoting,
|
|
133
|
-
|
|
134
|
+
PalletReferendaReferendumInfo,
|
|
134
135
|
PalletTreasuryProposal,
|
|
135
136
|
PalletTreasurySpendStatus,
|
|
136
137
|
PolkadotRuntimeCommonImplsVersionedLocatableAsset,
|
|
137
|
-
PalletRcMigratorAccountsAccount,
|
|
138
|
-
PalletAhMigratorMigrationStage,
|
|
139
|
-
PalletAhMigratorBalancesBefore,
|
|
140
138
|
} from './types.js';
|
|
141
139
|
|
|
142
140
|
export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage<Rv> {
|
|
@@ -481,14 +479,36 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
481
479
|
processedDownwardMessages: GenericStorageQuery<Rv, () => number>;
|
|
482
480
|
|
|
483
481
|
/**
|
|
484
|
-
*
|
|
482
|
+
* The last processed downward message.
|
|
485
483
|
*
|
|
486
|
-
*
|
|
484
|
+
* We need to keep track of this to filter the messages that have been already processed.
|
|
485
|
+
*
|
|
486
|
+
* @param {Callback<CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined> =} callback
|
|
487
|
+
**/
|
|
488
|
+
lastProcessedDownwardMessage: GenericStorageQuery<
|
|
489
|
+
Rv,
|
|
490
|
+
() => CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined
|
|
491
|
+
>;
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* HRMP watermark that was set in a block.
|
|
487
495
|
*
|
|
488
496
|
* @param {Callback<number> =} callback
|
|
489
497
|
**/
|
|
490
498
|
hrmpWatermark: GenericStorageQuery<Rv, () => number>;
|
|
491
499
|
|
|
500
|
+
/**
|
|
501
|
+
* The last processed HRMP message.
|
|
502
|
+
*
|
|
503
|
+
* We need to keep track of this to filter the messages that have been already processed.
|
|
504
|
+
*
|
|
505
|
+
* @param {Callback<CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined> =} callback
|
|
506
|
+
**/
|
|
507
|
+
lastProcessedHrmpMessage: GenericStorageQuery<
|
|
508
|
+
Rv,
|
|
509
|
+
() => CumulusPalletParachainSystemParachainInherentInboundMessageId | undefined
|
|
510
|
+
>;
|
|
511
|
+
|
|
492
512
|
/**
|
|
493
513
|
* HRMP messages that were sent in a block.
|
|
494
514
|
*
|
|
@@ -798,13 +818,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
798
818
|
* Holds on account balances.
|
|
799
819
|
*
|
|
800
820
|
* @param {AccountId32Like} arg
|
|
801
|
-
* @param {Callback<Array<
|
|
821
|
+
* @param {Callback<Array<FrameSupportTokensMiscIdAmount>> =} callback
|
|
802
822
|
**/
|
|
803
|
-
holds: GenericStorageQuery<
|
|
804
|
-
Rv,
|
|
805
|
-
(arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmountRuntimeHoldReason>,
|
|
806
|
-
AccountId32
|
|
807
|
-
>;
|
|
823
|
+
holds: GenericStorageQuery<Rv, (arg: AccountId32Like) => Array<FrameSupportTokensMiscIdAmount>, AccountId32>;
|
|
808
824
|
|
|
809
825
|
/**
|
|
810
826
|
* Freeze locks on account balances.
|
|
@@ -1431,11 +1447,11 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
1431
1447
|
* which are being delegated to, together with the amount held on deposit.
|
|
1432
1448
|
*
|
|
1433
1449
|
* @param {AccountId32Like} arg
|
|
1434
|
-
* @param {Callback<[Array<
|
|
1450
|
+
* @param {Callback<[Array<PalletProxyProxyDefinition>, bigint]> =} callback
|
|
1435
1451
|
**/
|
|
1436
1452
|
proxies: GenericStorageQuery<
|
|
1437
1453
|
Rv,
|
|
1438
|
-
(arg: AccountId32Like) => [Array<
|
|
1454
|
+
(arg: AccountId32Like) => [Array<PalletProxyProxyDefinition>, bigint],
|
|
1439
1455
|
AccountId32
|
|
1440
1456
|
>;
|
|
1441
1457
|
|
|
@@ -2114,9 +2130,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2114
2130
|
* A mapping from a contract's code hash to its code info.
|
|
2115
2131
|
*
|
|
2116
2132
|
* @param {H256} arg
|
|
2117
|
-
* @param {Callback<
|
|
2133
|
+
* @param {Callback<PalletReviveVmCodeInfo | undefined> =} callback
|
|
2118
2134
|
**/
|
|
2119
|
-
codeInfoOf: GenericStorageQuery<Rv, (arg: H256) =>
|
|
2135
|
+
codeInfoOf: GenericStorageQuery<Rv, (arg: H256) => PalletReviveVmCodeInfo | undefined, H256>;
|
|
2120
2136
|
|
|
2121
2137
|
/**
|
|
2122
2138
|
* The code associated with a given account.
|
|
@@ -2523,11 +2539,7 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2523
2539
|
* @param {[number, AccountId32Like]} arg
|
|
2524
2540
|
* @param {Callback<Array<number>> =} callback
|
|
2525
2541
|
**/
|
|
2526
|
-
|
|
2527
|
-
Rv,
|
|
2528
|
-
(arg: [number, AccountId32Like]) => Array<number>,
|
|
2529
|
-
[number, AccountId32]
|
|
2530
|
-
>;
|
|
2542
|
+
claimedRewards: GenericStorageQuery<Rv, (arg: [number, AccountId32Like]) => Array<number>, [number, AccountId32]>;
|
|
2531
2543
|
|
|
2532
2544
|
/**
|
|
2533
2545
|
* Exposure of validator at era with the preferences of validators.
|
|
@@ -2690,18 +2702,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
2690
2702
|
[number, AccountId32]
|
|
2691
2703
|
>;
|
|
2692
2704
|
|
|
2693
|
-
/**
|
|
2694
|
-
* All slashing events on nominators, mapped by era to the highest slash value of the era.
|
|
2695
|
-
*
|
|
2696
|
-
* @param {[number, AccountId32Like]} arg
|
|
2697
|
-
* @param {Callback<bigint | undefined> =} callback
|
|
2698
|
-
**/
|
|
2699
|
-
nominatorSlashInEra: GenericStorageQuery<
|
|
2700
|
-
Rv,
|
|
2701
|
-
(arg: [number, AccountId32Like]) => bigint | undefined,
|
|
2702
|
-
[number, AccountId32]
|
|
2703
|
-
>;
|
|
2704
|
-
|
|
2705
2705
|
/**
|
|
2706
2706
|
* The threshold for when users can start calling `chill_other` for other validators /
|
|
2707
2707
|
* nominators. The threshold is compared to the actual number of validators / nominators
|
|
@@ -3018,6 +3018,14 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3018
3018
|
**/
|
|
3019
3019
|
listBags: GenericStorageQuery<Rv, (arg: bigint) => PalletBagsListListBag | undefined, bigint>;
|
|
3020
3020
|
|
|
3021
|
+
/**
|
|
3022
|
+
* Pointer that remembers the next node that will be auto-rebagged.
|
|
3023
|
+
* When `None`, the next scan will start from the list head again.
|
|
3024
|
+
*
|
|
3025
|
+
* @param {Callback<AccountId32 | undefined> =} callback
|
|
3026
|
+
**/
|
|
3027
|
+
nextNodeAutoRebagged: GenericStorageQuery<Rv, () => AccountId32 | undefined>;
|
|
3028
|
+
|
|
3021
3029
|
/**
|
|
3022
3030
|
* Lock all updates to this pallet.
|
|
3023
3031
|
*
|
|
@@ -3190,42 +3198,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3190
3198
|
**/
|
|
3191
3199
|
pagedTargetSnapshotHash: GenericStorageQuery<Rv, (arg: [number, number]) => H256 | undefined, [number, number]>;
|
|
3192
3200
|
|
|
3193
|
-
/**
|
|
3194
|
-
*
|
|
3195
|
-
* @param {[number, number]} arg
|
|
3196
|
-
* @param {Callback<Array<AccountId32> | undefined> =} callback
|
|
3197
|
-
**/
|
|
3198
|
-
fakePagedTargetSnapshot: GenericStorageQuery<
|
|
3199
|
-
Rv,
|
|
3200
|
-
(arg: [number, number]) => Array<AccountId32> | undefined,
|
|
3201
|
-
[number, number]
|
|
3202
|
-
>;
|
|
3203
|
-
|
|
3204
|
-
/**
|
|
3205
|
-
*
|
|
3206
|
-
* @param {[number, number]} arg
|
|
3207
|
-
* @param {Callback<H256 | undefined> =} callback
|
|
3208
|
-
**/
|
|
3209
|
-
fakePagedTargetSnapshotHash: GenericStorageQuery<Rv, (arg: [number, number]) => H256 | undefined, [number, number]>;
|
|
3210
|
-
|
|
3211
|
-
/**
|
|
3212
|
-
*
|
|
3213
|
-
* @param {[number, number]} arg
|
|
3214
|
-
* @param {Callback<Array<[AccountId32, bigint, Array<AccountId32>]> | undefined> =} callback
|
|
3215
|
-
**/
|
|
3216
|
-
fakePagedVoterSnapshot: GenericStorageQuery<
|
|
3217
|
-
Rv,
|
|
3218
|
-
(arg: [number, number]) => Array<[AccountId32, bigint, Array<AccountId32>]> | undefined,
|
|
3219
|
-
[number, number]
|
|
3220
|
-
>;
|
|
3221
|
-
|
|
3222
|
-
/**
|
|
3223
|
-
*
|
|
3224
|
-
* @param {[number, number]} arg
|
|
3225
|
-
* @param {Callback<H256 | undefined> =} callback
|
|
3226
|
-
**/
|
|
3227
|
-
fakePagedVoterSnapshotHash: GenericStorageQuery<Rv, (arg: [number, number]) => H256 | undefined, [number, number]>;
|
|
3228
|
-
|
|
3229
3201
|
/**
|
|
3230
3202
|
* Generic pallet storage query
|
|
3231
3203
|
**/
|
|
@@ -3332,6 +3304,21 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3332
3304
|
* Pallet `MultiBlockElectionSigned`'s storage queries
|
|
3333
3305
|
**/
|
|
3334
3306
|
multiBlockElectionSigned: {
|
|
3307
|
+
/**
|
|
3308
|
+
* Accounts whitelisted by governance to always submit their solutions.
|
|
3309
|
+
*
|
|
3310
|
+
* They are different in that:
|
|
3311
|
+
*
|
|
3312
|
+
* * They always pay a fixed deposit for submission, specified by
|
|
3313
|
+
* [`Config::InvulnerableDeposit`]. They pay no page deposit.
|
|
3314
|
+
* * If _ejected_ by better solution from [`SortedScores`], they will get their full deposit
|
|
3315
|
+
* back.
|
|
3316
|
+
* * They always get their tx-fee back even if they are _discarded_.
|
|
3317
|
+
*
|
|
3318
|
+
* @param {Callback<Array<AccountId32>> =} callback
|
|
3319
|
+
**/
|
|
3320
|
+
invulnerables: GenericStorageQuery<Rv, () => Array<AccountId32>>;
|
|
3321
|
+
|
|
3335
3322
|
/**
|
|
3336
3323
|
*
|
|
3337
3324
|
* @param {number} arg
|
|
@@ -3418,13 +3405,9 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3418
3405
|
* Information concerning any given referendum.
|
|
3419
3406
|
*
|
|
3420
3407
|
* @param {number} arg
|
|
3421
|
-
* @param {Callback<
|
|
3408
|
+
* @param {Callback<PalletReferendaReferendumInfo | undefined> =} callback
|
|
3422
3409
|
**/
|
|
3423
|
-
referendumInfoFor: GenericStorageQuery<
|
|
3424
|
-
Rv,
|
|
3425
|
-
(arg: number) => PalletReferendaReferendumInfoOriginCaller | undefined,
|
|
3426
|
-
number
|
|
3427
|
-
>;
|
|
3410
|
+
referendumInfoFor: GenericStorageQuery<Rv, (arg: number) => PalletReferendaReferendumInfo | undefined, number>;
|
|
3428
3411
|
|
|
3429
3412
|
/**
|
|
3430
3413
|
* The sorted list of referenda ready to be decided but not yet being decided, ordered by
|
|
@@ -3643,53 +3626,6 @@ export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage
|
|
|
3643
3626
|
[number, number, AccountId32]
|
|
3644
3627
|
>;
|
|
3645
3628
|
|
|
3646
|
-
/**
|
|
3647
|
-
* Generic pallet storage query
|
|
3648
|
-
**/
|
|
3649
|
-
[storage: string]: GenericStorageQuery<Rv>;
|
|
3650
|
-
};
|
|
3651
|
-
/**
|
|
3652
|
-
* Pallet `AhMigrator`'s storage queries
|
|
3653
|
-
**/
|
|
3654
|
-
ahMigrator: {
|
|
3655
|
-
/**
|
|
3656
|
-
* RC accounts that failed to migrate when were received on the Asset Hub.
|
|
3657
|
-
*
|
|
3658
|
-
* This is unlikely to happen, since we dry run the migration, but we keep it for completeness.
|
|
3659
|
-
*
|
|
3660
|
-
* @param {AccountId32Like} arg
|
|
3661
|
-
* @param {Callback<PalletRcMigratorAccountsAccount | undefined> =} callback
|
|
3662
|
-
**/
|
|
3663
|
-
rcAccounts: GenericStorageQuery<
|
|
3664
|
-
Rv,
|
|
3665
|
-
(arg: AccountId32Like) => PalletRcMigratorAccountsAccount | undefined,
|
|
3666
|
-
AccountId32
|
|
3667
|
-
>;
|
|
3668
|
-
|
|
3669
|
-
/**
|
|
3670
|
-
* The Asset Hub migration state.
|
|
3671
|
-
*
|
|
3672
|
-
* @param {Callback<PalletAhMigratorMigrationStage> =} callback
|
|
3673
|
-
**/
|
|
3674
|
-
ahMigrationStage: GenericStorageQuery<Rv, () => PalletAhMigratorMigrationStage>;
|
|
3675
|
-
|
|
3676
|
-
/**
|
|
3677
|
-
* The total number of XCM data messages processed from the Relay Chain and the number of XCM
|
|
3678
|
-
* messages that encountered an error during processing.
|
|
3679
|
-
*
|
|
3680
|
-
* @param {Callback<[number, number]> =} callback
|
|
3681
|
-
**/
|
|
3682
|
-
dmpDataMessageCounts: GenericStorageQuery<Rv, () => [number, number]>;
|
|
3683
|
-
|
|
3684
|
-
/**
|
|
3685
|
-
* Helper storage item to store the total balance / total issuance of native token at the start
|
|
3686
|
-
* of the migration. Since teleports are disabled during migration, the total issuance will not
|
|
3687
|
-
* change for other reason than the migration itself.
|
|
3688
|
-
*
|
|
3689
|
-
* @param {Callback<PalletAhMigratorBalancesBefore> =} callback
|
|
3690
|
-
**/
|
|
3691
|
-
ahBalancesBefore: GenericStorageQuery<Rv, () => PalletAhMigratorBalancesBefore>;
|
|
3692
|
-
|
|
3693
3629
|
/**
|
|
3694
3630
|
* Generic pallet storage query
|
|
3695
3631
|
**/
|
|
@@ -91,6 +91,22 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
91
91
|
**/
|
|
92
92
|
[method: string]: GenericRuntimeApiMethod<Rv>;
|
|
93
93
|
};
|
|
94
|
+
/**
|
|
95
|
+
* @runtimeapi: RelayParentOffsetApi - 0x04e70521a0d3d2f8
|
|
96
|
+
**/
|
|
97
|
+
relayParentOffsetApi: {
|
|
98
|
+
/**
|
|
99
|
+
* Fetch the slot offset that is expected from the relay chain.
|
|
100
|
+
*
|
|
101
|
+
* @callname: RelayParentOffsetApi_relay_parent_offset
|
|
102
|
+
**/
|
|
103
|
+
relayParentOffset: GenericRuntimeApiMethod<Rv, () => Promise<number>>;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Generic runtime api call
|
|
107
|
+
**/
|
|
108
|
+
[method: string]: GenericRuntimeApiMethod<Rv>;
|
|
109
|
+
};
|
|
94
110
|
/**
|
|
95
111
|
* @runtimeapi: AuraUnincludedSegmentApi - 0xd7bdd8a272ca0d65
|
|
96
112
|
**/
|
|
@@ -1166,7 +1182,7 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1166
1182
|
/**
|
|
1167
1183
|
* Perform an Ethereum call.
|
|
1168
1184
|
*
|
|
1169
|
-
* See [`crate::Pallet::
|
|
1185
|
+
* See [`crate::Pallet::dry_run_eth_transact`]
|
|
1170
1186
|
*
|
|
1171
1187
|
* @callname: ReviveApi_eth_transact
|
|
1172
1188
|
* @param {PalletReviveEvmApiRpcTypesGenGenericTransaction} tx
|
|
@@ -1291,6 +1307,36 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1291
1307
|
) => Promise<Result<PalletReviveEvmApiDebugRpcTypesTrace, PalletRevivePrimitivesEthTransactError>>
|
|
1292
1308
|
>;
|
|
1293
1309
|
|
|
1310
|
+
/**
|
|
1311
|
+
* The address of the validator that produced the current block.
|
|
1312
|
+
*
|
|
1313
|
+
* @callname: ReviveApi_block_author
|
|
1314
|
+
**/
|
|
1315
|
+
blockAuthor: GenericRuntimeApiMethod<Rv, () => Promise<H160 | undefined>>;
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* Get the H160 address associated to this account id
|
|
1319
|
+
*
|
|
1320
|
+
* @callname: ReviveApi_address
|
|
1321
|
+
* @param {AccountId32Like} account_id
|
|
1322
|
+
**/
|
|
1323
|
+
address: GenericRuntimeApiMethod<Rv, (accountId: AccountId32Like) => Promise<H160>>;
|
|
1324
|
+
|
|
1325
|
+
/**
|
|
1326
|
+
* The address used to call the runtime's pallets dispatchables
|
|
1327
|
+
*
|
|
1328
|
+
* @callname: ReviveApi_runtime_pallets_address
|
|
1329
|
+
**/
|
|
1330
|
+
runtimePalletsAddress: GenericRuntimeApiMethod<Rv, () => Promise<H160>>;
|
|
1331
|
+
|
|
1332
|
+
/**
|
|
1333
|
+
* The code at the specified address taking pre-compiles into account.
|
|
1334
|
+
*
|
|
1335
|
+
* @callname: ReviveApi_code
|
|
1336
|
+
* @param {H160} address
|
|
1337
|
+
**/
|
|
1338
|
+
code: GenericRuntimeApiMethod<Rv, (address: H160) => Promise<Bytes>>;
|
|
1339
|
+
|
|
1294
1340
|
/**
|
|
1295
1341
|
* Generic runtime api call
|
|
1296
1342
|
**/
|