Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sendrawtransaction]

The tag has no usage guidance.

0
votes
1answer
42 views

Sending transaction with web3.js

I'm trying to use web3.js with infura.io to interact with my smartcontract. here is my simple greeter contract code pragma solidity ^0.5.7; contract greeter{ string greeting; function greet(...
2
votes
0answers
27 views

Signed transaction vanishing from testnet (Kovan & Rinkeby)

I've been attempting to broadcast transactions to both Kovan & Rinkeby, I'm building and signing them offline and using the Etherscan API to broadcast the signed transactions. I see them in the ...
1
vote
1answer
134 views

Promise not resolved for web3eth.sendSignedTransaction

I am testing whether transactions that I'm signing offline are accepted by the Ropsten network. I'm submitting the transactions using Web3.js (web3@1.0.0-beta.51) as follows: I connect to an INFURA ...
1
vote
1answer
56 views

Is it possible for a smart contract to relay raw signed transaction

I am rethinking the flow for token transfer and confirmation on the network (ERC20,ERC721...). I am unaware of a way presently to: 1- transfer tokens and 2- trigger a call in different contract, ...
1
vote
3answers
38 views

Help with signTransaction

i need help com many parameters for sign a transaction. What is "nonce"? How i calculte gas value? How i calculate gasPrice? what is data field? Chain ID 1 is a Mainnet? I will using infura. $...
0
votes
2answers
76 views

sending signed transactions from contract

Is it possible to send private key signed transactions directly from the contract? The thing I want to do is to create a similar function function sendTransactionForUser(_signedData, contractAddress)...
0
votes
1answer
92 views

How can I send ethers from my smart contract to another address using transfer?

recievers_address.transfer(address(this).balance); when I use this from one of the functions of my smart contract Member "transfer" not found or not visible after argument-dependent lookup in ...
1
vote
0answers
141 views

Ethereum Transaction Using cUrl and web3.php, I get a Receipt but the Transaction is not sent to the Network

This has been doing my head in all day, after wading through and managing to get all my values converted to hex I create and sign the ethereum transaction using the web3p/ethereum-tx library from ...
0
votes
2answers
113 views

Gas issue on sendRawTransaction on the rinkeby network

I'm facing a gas issue on rinkeby network on sendRawTransaction. Tested with various gas value to experiment and getting either insufficient funds for gas * price + value or exceeds block gas limit. ...
1
vote
1answer
250 views

Send more than one raw transaction quickly will throw an error

web3.eth.getTransactionCount(addressFrom).then(function(v){ count = v; var amount = web3.utils.toHex(1e16); var rawTransaction = {"from":addressFrom, "gasPrice":web3.utils.toHex(20* 1e9),"...
0
votes
3answers
313 views

Sending Signed Transaction returns pending and event:undefined

I am trying to send a signed transaction using web3 1.0 and Infura.io through the browser. When I run it I dont get any errors but the transaction never hits the blockchain so I am confused on whats ...
0
votes
1answer
88 views

Trying to send signed transaction through web browser using ethereum-tx

I am working on signing and sending a transaction using web3 v1.0 and Infura.io. I have setup a script to run the TX but cannot seem to get ethereum-tx to connect in the browser. <script src="...
1
vote
1answer
235 views

Getting TX is not defined when trying to send signed transaction [closed]

I am trying to learn how to send a signed transaction using web3 1.0 and Infura.io. I have node.js running locally for testing. I can successfully create an address and check balances but am getting ...
1
vote
0answers
326 views

Error: Returned error: Transaction nonce is too low. Try incrementing the nonce

I receive an error when sending raw transactions. I get the following error message. Error: Returned error: Transaction nonce is too low. Try incrementing the nonce. I get my nonce this way: ...
1
vote
0answers
131 views

Geth RPC send_transaction error -32000

How do you calculate how much gas to use in a send_transaction? Amount: 0x670479cb5385800, // (decimal: 463949500000000000 wei 0.4639495 eth) Gas price: 0x6ddd00 // (decimal: 7200000 wei) Gas: ...
1
vote
2answers
117 views

Transaction Hash after deploying contract with Web3.py too long

I managed to successfully deploy a contract using Web3.py to the Ethereum Ropsten network using this bit of code def deploy(self): instance = self.w3.eth.contract(abi=self.abi, bytecode=self.bin) ...
0
votes
1answer
144 views

Error “invalid sender” received randomly when broadcasting a hand signed raw transaction

I'm working on a mobile wallet app, where I sign a raw transaction and try to broadcast it through https://etherscan.io/pushTx. The problem is that it sometimes gives me the error "insufficient funds ...
1
vote
1answer
108 views

problem deploying a contract

I am trying to deploy a contract on testrpc using web3.js, contract deploys fine when I deploy it from remix, it uses roughly the same amount of gas as the estimate. However, when I try to deploy ...
1
vote
1answer
27 views

Can't find broadcasted transaction

I'm trying to broadcast a transaction hex: ...
0
votes
0answers
214 views

eth_sendRawTransaction parameter formatting

we have a JSON RPC method eth_sendRawTransaction as specified here. how is the raw transaction data formatted? I can't seem to find this anywhere. I'm guessing it consists of a signed transaction ...
1
vote
1answer
302 views

How to use “etherscan” to push a raw transaction without running a node?

According to this answer, how to use etherscan to push a raw transaction without running a node? In this case, do not we need to install Parity or geth or any Ethereum client ?
0
votes
1answer
499 views

How can I properly set the gas / value for sending a transaction with web3.js?

My code is: function sendEth(fromAddress, secret, toAddress, amount) { let params = { to: toAddress, from: fromAddress, value: web3.utils.toWei(amount + '', 'ether') }; console.log(...
1
vote
1answer
218 views

Transfer ERC20 token in mainnet with web3js(succeed in ropsten, failed in mainnet)

I want to transfer some ERC20 tokens in ethereum. I did some preparation work and tried in ropsten, it succeed. Then I changed the used api, wallet address, httpProvicer, contract address, and ran the ...
1
vote
1answer
71 views

Using json RPC without any libraries besides js

I am currently trying to call a function on my smart contract function adopt(uint petId) public returns (uint) that has already been deployed to the ropsten network... but here's the catch. I'm ...
1
vote
1answer
636 views

How to call write functions via Python web3.py, w3.eth.sendRawTransaction()

Hi I am running Python web3.py(Not web3.js) to interact with contract functions: txn = ctrtInstance.functions.setzString(zString).buildTransaction() txn['nonce'] = 3643 # I have to add those into ...