PHP WebShell

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

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

import { DecodedSignedTx, DecodedSigningPayload, DecodedUnsignedTx, OptionsWithMeta, UnsignedTransaction } from '../../types';
/**
 * Parse the transaction information from a signing payload, an unsigned tx, or a signed tx.
 * All integers are serialized to a base-10 string.
 *
 * @param unsignedTx - The data to parse, as an unsigned tx.
 * @param options - Runtime-specific data used for decoding the transaction.
 */
export declare function decode(unsignedTx: UnsignedTransaction, options: OptionsWithMeta): DecodedUnsignedTx;
/**
 * Parse the transaction information from a signing payload, an unsigned tx, or a signed tx.
 * All integers are serialized to a base-10 string.
 *
 * @param signedTx - The data to parse, as a signed tx hex string.
 * @param options - Runtime-specific data used for decoding the transaction.
 */
export declare function decode(signedTx: string, options: OptionsWithMeta): DecodedSignedTx;
/**
 * Parse the transaction information from a signing payload, an unsigned tx, or a signed tx.
 * All integers are serialized to a base-10 string.
 *
 * @param signingPayload - The data to parse, as a signing payload hex string.
 * @param options - Runtime-specific data used for decoding the transaction.
 */
export declare function decode(signingPayload: string, options: OptionsWithMeta): DecodedSigningPayload;

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


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