PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@substrate/txwrapper-core/lib/core/metadata
Просмотр файла: createDecorated.d.ts
import { TypeRegistry } from '@polkadot/types';
import { Constants, Extrinsics } from '@polkadot/types/metadata/decorate/types';
/**
* From a metadata hex string (for example returned by RPC), create decorated
* modules with their calls (transactions).
*
* @ignore
* @param registry - The registry of the metadata.
* @param metadataRpc - The metadata as hex string.
*/
export declare function createDecoratedTx(registry: TypeRegistry, metadataRpc: `0x${string}`): Extrinsics;
/**
* From a metadata hex string (for example returned by RPC), create decorated
* modules with their constants.
*
* @param registry - The registry of the metadata.
* @param metadataRpc - The metadata as hex string.
*/
export declare function createDecoratedConstants(registry: TypeRegistry, metadataRpc: `0x${string}`): Constants;
Выполнить команду
Для локальной разработки. Не используйте в интернете!