首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏code人生

    Web3.js常用API:发送交易

    eth.accounts.signTransaction(rawTransaction, account.privateKey); // 发送交易 const txReceipt = await web3.eth.sendSignedTransaction

    77010编辑于 2024-05-09
  • 来自专栏深入浅出区块链技术

    NFT新手教程:如何铸造一个NFT(第2部分)

    web3.eth.sendSignedTransaction会返回交易哈希值,我们可以用它来检查的交易是否被挖掘出来。 eth.accounts.signTransaction(tx, PRIVATE_KEY) signPromise .then((signedTx) => { web3.eth.sendSignedTransaction eth.accounts.signTransaction(tx, PRIVATE_KEY) signPromise .then((signedTx) => { web3.eth.sendSignedTransaction

    3.5K21编辑于 2022-05-25
  • 来自专栏区块链技术开发分享

    去中心化web3.0系统开发方案定制详情

    的用户可以与以太坊区块链进行交互,比如:web3.eth.getBalance 的作用是获得指定区块的某个地址的以太坊余额web3.eth.signTransaction 的作用是对交易签名web3.eth.sendSignedTransaction

    58820编辑于 2022-11-09
  • 来自专栏code人生

    web3.js事件监听

    原文在这里[1] 在通过web3.eth.sendTransaction, web3.eth.sendSignedTransaction, contractDeployed.methods['methodName

    1.5K10编辑于 2024-05-11
  • 来自专栏软件研发

    解决Not possible to connect to the Web3 provider. Make sure the provider is runnin

    你可以使用Web3的​​web3.eth.sendTransaction()​​方法发送普通的以太币交易,或者使用​​web3.eth.sendSignedTransaction()​​方法发送签名的交易

    88930编辑于 2023-10-26
  • 来自专栏code人生

    web3.js:使用eth包

    在下一个示例中,我们将签署一个交易,并使用sendSignedTransaction来发送已签署的交易。 eth.accounts.signTransaction(tx, privateKey); // Send the signed transaction to the network const receipt = await web3.eth.sendSignedTransaction

    63910编辑于 2024-05-13
  • 来自专栏汇智网教程

    QuikNode -Infura高配版

    value: '2000000000000000', gas: '8000000' }, privateKey, function(err, data) { web3.eth.sendSignedTransaction

    2.5K30发布于 2019-05-23
  • 来自专栏AI SPPECH

    003_区块链网络安全入门:分布式账本的防护体系与共识机制安全

    eth.accounts.signTransaction(txObject, privateKey); // 发送交易 const txReceipt = await web3.eth.sendSignedTransaction

    49010编辑于 2025-11-18
领券