@dedot/chaintypes 0.173.0 → 0.174.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.
|
@@ -58,7 +58,7 @@ export interface VersionedKusamaAssetHubApi<Rv extends RpcVersion> extends Gener
|
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* @name: KusamaAssetHubApi
|
|
61
|
-
* @specVersion:
|
|
61
|
+
* @specVersion: 1009003
|
|
62
62
|
**/
|
|
63
63
|
export interface KusamaAssetHubApi {
|
|
64
64
|
legacy: VersionedKusamaAssetHubApi<RpcLegacy>;
|
|
@@ -30,6 +30,8 @@ import type {
|
|
|
30
30
|
SpRuntimeTransactionValidityValidTransaction,
|
|
31
31
|
SpRuntimeTransactionValidityTransactionSource,
|
|
32
32
|
SpCoreCryptoKeyTypeId,
|
|
33
|
+
FrameSupportViewFunctionsViewFunctionDispatchError,
|
|
34
|
+
FrameSupportViewFunctionsViewFunctionId,
|
|
33
35
|
StagingXcmV5Location,
|
|
34
36
|
PalletTransactionPaymentRuntimeDispatchInfo,
|
|
35
37
|
PalletTransactionPaymentFeeDetails,
|
|
@@ -345,6 +347,30 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
345
347
|
**/
|
|
346
348
|
[method: string]: GenericRuntimeApiMethod<Rv>;
|
|
347
349
|
};
|
|
350
|
+
/**
|
|
351
|
+
* @runtimeapi: RuntimeViewFunction - 0xccd9de6396c899ca
|
|
352
|
+
**/
|
|
353
|
+
runtimeViewFunction: {
|
|
354
|
+
/**
|
|
355
|
+
* Execute a view function query.
|
|
356
|
+
*
|
|
357
|
+
* @callname: RuntimeViewFunction_execute_view_function
|
|
358
|
+
* @param {FrameSupportViewFunctionsViewFunctionId} query_id
|
|
359
|
+
* @param {BytesLike} input
|
|
360
|
+
**/
|
|
361
|
+
executeViewFunction: GenericRuntimeApiMethod<
|
|
362
|
+
Rv,
|
|
363
|
+
(
|
|
364
|
+
queryId: FrameSupportViewFunctionsViewFunctionId,
|
|
365
|
+
input: BytesLike,
|
|
366
|
+
) => Promise<Result<Bytes, FrameSupportViewFunctionsViewFunctionDispatchError>>
|
|
367
|
+
>;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* Generic runtime api call
|
|
371
|
+
**/
|
|
372
|
+
[method: string]: GenericRuntimeApiMethod<Rv>;
|
|
373
|
+
};
|
|
348
374
|
/**
|
|
349
375
|
* @runtimeapi: AccountNonceApi - 0xbc9d89904f5b923f
|
|
350
376
|
**/
|
|
@@ -23450,6 +23450,13 @@ export type SpRuntimeTransactionValidityValidTransaction = {
|
|
|
23450
23450
|
propagate: boolean;
|
|
23451
23451
|
};
|
|
23452
23452
|
|
|
23453
|
+
export type FrameSupportViewFunctionsViewFunctionId = { prefix: FixedBytes<16>; suffix: FixedBytes<16> };
|
|
23454
|
+
|
|
23455
|
+
export type FrameSupportViewFunctionsViewFunctionDispatchError =
|
|
23456
|
+
| { type: 'NotImplemented' }
|
|
23457
|
+
| { type: 'NotFound'; value: FrameSupportViewFunctionsViewFunctionId }
|
|
23458
|
+
| { type: 'Codec' };
|
|
23459
|
+
|
|
23453
23460
|
export type PalletTransactionPaymentRuntimeDispatchInfo = {
|
|
23454
23461
|
weight: SpWeightsWeightV2Weight;
|
|
23455
23462
|
class: FrameSupportDispatchDispatchClass;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.174.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": "69cd271c1bc9051d56215161b7419accb89af1dd",
|
|
29
29
|
"module": "./index.js",
|
|
30
30
|
"types": "./index.d.ts",
|
|
31
31
|
"exports": {
|