@dedot/chaintypes 0.181.0 → 0.183.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/moonbeam/json-rpc.d.ts
CHANGED
|
@@ -46,6 +46,10 @@ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
|
|
|
46
46
|
| 'childstate_getStorageEntries'
|
|
47
47
|
| 'childstate_getStorageHash'
|
|
48
48
|
| 'childstate_getStorageSize'
|
|
49
|
+
| 'debug_traceBlockByHash'
|
|
50
|
+
| 'debug_traceBlockByNumber'
|
|
51
|
+
| 'debug_traceCall'
|
|
52
|
+
| 'debug_traceTransaction'
|
|
49
53
|
| 'eth_accounts'
|
|
50
54
|
| 'eth_blockNumber'
|
|
51
55
|
| 'eth_call'
|
|
@@ -138,9 +142,13 @@ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
|
|
|
138
142
|
| 'system_syncState'
|
|
139
143
|
| 'system_unstable_networkState'
|
|
140
144
|
| 'system_version'
|
|
145
|
+
| 'trace_filter'
|
|
141
146
|
| 'transactionWatch_v1_submitAndWatch'
|
|
142
147
|
| 'transaction_v1_broadcast'
|
|
143
148
|
| 'transaction_v1_stop'
|
|
149
|
+
| 'txpool_content'
|
|
150
|
+
| 'txpool_inspect'
|
|
151
|
+
| 'txpool_status'
|
|
144
152
|
| 'web3_clientVersion'
|
|
145
153
|
| 'web3_sha3'
|
|
146
154
|
> &
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.183.0",
|
|
4
4
|
"description": "Types for substrate-based chains",
|
|
5
5
|
"author": "Thang X. Vu <thang@dedot.dev>",
|
|
6
6
|
"homepage": "https://dedot.dev",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"directory": "dist"
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "d1f933dcd49b2a0218535d4bcffd7844456aec39",
|
|
29
29
|
"module": "./index.js",
|
|
30
30
|
"types": "./index.d.ts",
|
|
31
31
|
"exports": {
|
|
@@ -58,7 +58,7 @@ export interface VersionedPolkadotAssetHubApi<Rv extends RpcVersion> extends Gen
|
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* @name: PolkadotAssetHubApi
|
|
61
|
-
* @specVersion:
|
|
61
|
+
* @specVersion: 2000002
|
|
62
62
|
**/
|
|
63
63
|
export interface PolkadotAssetHubApi {
|
|
64
64
|
legacy: VersionedPolkadotAssetHubApi<RpcLegacy>;
|
|
@@ -51,6 +51,7 @@ import type {
|
|
|
51
51
|
CumulusPrimitivesCoreCollationInfo,
|
|
52
52
|
StagingXcmV5Location,
|
|
53
53
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
54
|
+
SystemParachainsCommonApisInflationInfo,
|
|
54
55
|
} from './types.js';
|
|
55
56
|
|
|
56
57
|
export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<Rv> {
|
|
@@ -1010,6 +1011,28 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
1010
1011
|
**/
|
|
1011
1012
|
pendingRewards: GenericRuntimeApiMethod<Rv, (era: number, account: AccountId32Like) => Promise<boolean>>;
|
|
1012
1013
|
|
|
1014
|
+
/**
|
|
1015
|
+
* Generic runtime api call
|
|
1016
|
+
**/
|
|
1017
|
+
[method: string]: GenericRuntimeApiMethod<Rv>;
|
|
1018
|
+
};
|
|
1019
|
+
/**
|
|
1020
|
+
* @runtimeapi: Inflation - 0xc51ff1fa3f5d0cca
|
|
1021
|
+
**/
|
|
1022
|
+
inflation: {
|
|
1023
|
+
/**
|
|
1024
|
+
* Return the current estimates of the issuance amount.
|
|
1025
|
+
*
|
|
1026
|
+
* This is marked as experimental in light of RFC#89. Nonetheless, its usage is highly
|
|
1027
|
+
* recommended over trying to read-storage, or re-create the onchain logic.
|
|
1028
|
+
*
|
|
1029
|
+
* @callname: Inflation_experimental_issuance_prediction_info
|
|
1030
|
+
**/
|
|
1031
|
+
experimentalIssuancePredictionInfo: GenericRuntimeApiMethod<
|
|
1032
|
+
Rv,
|
|
1033
|
+
() => Promise<SystemParachainsCommonApisInflationInfo>
|
|
1034
|
+
>;
|
|
1035
|
+
|
|
1013
1036
|
/**
|
|
1014
1037
|
* Generic runtime api call
|
|
1015
1038
|
**/
|
|
@@ -24,6 +24,7 @@ import type {
|
|
|
24
24
|
UncheckedExtrinsic,
|
|
25
25
|
Era,
|
|
26
26
|
FixedI64,
|
|
27
|
+
Perquintill,
|
|
27
28
|
} from 'dedot/codecs';
|
|
28
29
|
|
|
29
30
|
export type FrameSystemAccountInfo = {
|
|
@@ -21198,6 +21199,8 @@ export type CumulusPrimitivesCoreCollationInfo = {
|
|
|
21198
21199
|
|
|
21199
21200
|
export type PolkadotParachainPrimitivesPrimitivesValidationCode = Bytes;
|
|
21200
21201
|
|
|
21202
|
+
export type SystemParachainsCommonApisInflationInfo = { issuance: Perquintill; nextMint: [bigint, bigint] };
|
|
21203
|
+
|
|
21201
21204
|
export type AssetHubPolkadotRuntimeRuntimeError =
|
|
21202
21205
|
| { pallet: 'System'; palletError: FrameSystemError }
|
|
21203
21206
|
| { pallet: 'ParachainSystem'; palletError: CumulusPalletParachainSystemError }
|