PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@near-js/transactions/lib/esm
Просмотр файла: create_transaction.d.ts
import { PublicKey } from '@near-js/crypto';
import { j as Action } from './actions-D9yOaLEz.js';
import { Transaction } from './schema.js';
import '@near-js/types';
import './signature.js';
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 };
Выполнить команду
Для локальной разработки. Не используйте в интернете!