PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@near-js/transactions/lib/esm
Просмотр файла: create_transaction.js
import { Transaction } from "./schema.js";
function createTransaction(signerId, publicKey, receiverId, nonce, actions, blockHash) {
const txNonce = typeof nonce === "bigint" ? nonce : BigInt(nonce);
return new Transaction({
signerId,
publicKey,
nonce: txNonce,
receiverId,
actions,
blockHash
});
}
export {
createTransaction
};
Выполнить команду
Для локальной разработки. Не используйте в интернете!