PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@near-js/transactions/lib/commonjs

Просмотр файла: create_transaction.d.cts

import { PublicKey } from '@near-js/crypto';
import { j as Action } from './actions-Bj8sb-Lp.cjs';
import { Transaction } from './schema.cjs';
import '@near-js/types';
import './signature.cjs';
import 'borsh';

/**
 * Creates a new transaction object with the provided parameters.
 * @param signerId The NEAR account ID of the transaction signer.
 * @param publicKey The public key associated with the signer.
 * @param receiverId The NEAR account ID of the transaction receiver.
 * @param nonce The nonce value for the transaction, represented as a BN, string, or number.
 * @param actions An array of transaction actions to be performed.
 * @param blockHash The hash of the block where the transaction will be included.
 * @returns A new transaction object initialized with the provided parameters.
 */
declare function createTransaction(signerId: string, publicKey: PublicKey, receiverId: string, nonce: bigint | string | number, actions: Action[], blockHash: Uint8Array): Transaction;

export { createTransaction };

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


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