PHP WebShell

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

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

import { Options, UnsignedTransaction } from '../../types';
/**
 * Create a signing payload with the method prefix removed.
 * If the length of the payload is above 256, then it will be hashed using
 * blake2_256.
 *
 * Ref: https://github.com/paritytech/substrate/blob/master/primitives/runtime/src/generic/unchecked_extrinsic.rs#L171-L220
 *
 * This is specifically useful for external signers who will not be using
 * `ExtrinsicPayload.sign(<KeyPair>)`, but instead their own method.
 *
 * @param unsigned UnsignedTransaction to be passed in
 * @param options Registry used for constructing the payload.
 */
export declare function createSigningPayloadToU8a(unsigned: UnsignedTransaction, options: Options): Uint8Array;

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


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