[0x1f347643a05dfc6a247...] Buy Public Sale 17168048 5 days 16 hrs ago 0xef494...... /////////////////////////////////////////////////////////////////////////////////////// From:0xef494d5e901f7b09cfad8d2b30e2ddcf.... Interacted With (To):Contract 0xf42b85e8681ab12b56f83ddb06.. Transaction Action: Mint of Dracoo Maste To 0xef494d5e901f7b09cfad8d2b... 1 of Token ID [8985] Tokens Transferred: From 0xef494d5e901...To 0xf42b85e8.....For 50($49.99) BinanPeg(BUSD) Tokens Transferred: From Null 0x00... To 0xef494d5e... For ERC-20 TokenID [[8985] Value: 0 BNB Transaction Fee:.0.003419262 BNB ($1.33) .............. //////////////////////////////////////////////////////////////////////////////////////
const txObject = {
nonce: web3.utils.toHex(txCount),
gasLimit: web3.utils.toHex(210000),
gasPrice: web3.utils.toHex(gasprice),
to: contractaddress,
value: web3.utils.toWei('0.08', 'ether'),
chainId: 97,
data: contractInstance.methods.mintSAC("1").encodeABI()
}
web3.eth.accounts.signTransaction(txObject, "cf45a0e28e63b89c22c....")
您好,我想问一下。他这个要用busd交易的,这个txObject要怎么构建。如果是用主币的话用上面的可以。