PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/@substrate/txwrapper-core/lib/core/construct

Просмотр файла: createSignedTx.d.ts

import { OptionsWithMeta, UnsignedTransaction } from '../../types';
/**
 * Serialize a signed transaction in a format that can be submitted over the
 * Node RPC Interface from the signing payload and signature produced by the
 * remote signer.
 *
 * @param unsigned - The JSON representing the unsigned transaction.
 * @param signature - Signature of the signing payload produced by the remote
 * signer. A signed ExtrinsicPayload returns a signature with the type `0x${string}` via polkadot-js.
 * @param options - Registry and metadata used for constructing the method.
 */
export declare function createSignedTx(unsigned: UnsignedTransaction, signature: `0x${string}`, options: OptionsWithMeta): string;

Выполнить команду


Для локальной разработки. Не используйте в интернете!