Questions tagged [raw-transaction]

A transaction byte-encoded using the Recursive-Length Prefix (RLP) algorithm. Before Constantinople, it needs to be signed before it will be accepted by the network.

62 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0 votes
0 answers
172 views

Incorrect return value after calling getTransactionCount

I have only few lines in the code: async function test() { await web3.eth.getTransactionCount('{ WALLET }').then(console.log); } test(); The return values are random: 0, 22 (this is the real value)...
user3630024's user avatar
0 votes
0 answers
129 views

What is the length of an signed transaction ? ( to be sent by method eth_sendRawTransaction )

I have spent days on signing a raw transaction, but all are failed. Now I want to know, what is the length of a raw transaction? and can you give me an real example of a signed transaction? For ...
Siwei's user avatar
  • 272
0 votes
1 answer
1k views

ethereumjs-tx Returned error: invalid sender

When i am trying to send signed transaction via ethereumjs-tx. I get this Returned error: invalid sender web3Http.eth.getTransactionCount(myAddress,"pending").then(function(blockcount){ ...
Cryptoineer's user avatar
0 votes
1 answer
439 views

Send transaction with locked contract -> Error: insufficient funds for gas * price + value

I'm trying to send a transaction for a token with a locked contract. I'm doing this to find out when this contract will be open. So I'm expecting to get some kind of error like "ERC-20 Token Transfer ...
Arnas Pecelis's user avatar
0 votes
0 answers
174 views

creating transaction with dynamic arguments (objects/variables)

My scenario is to make transactions (deploy contract, calling its functions, etc.) with arguments (which are dynamically created/extracted from some json abi file). For example; function ...
Amir Ali's user avatar
  • 447
0 votes
1 answer
139 views

Can I call a contract function in the "data" element via web3, especially when I am using conversion to bytes?

In other words, say In Python I have something like that: signed_txn = w3.eth.account.signTransaction(dict( nonce=w3.eth.getTransactionCount('0x0000000000000000000000000000000'), gasPrice = ...
Robert Ggg's user avatar
0 votes
1 answer
110 views

Is it possible to partially signed tx without nonce and then a third-party proxy will fill the right nonce?

As part of building managing nonce mechanism, we thinking about several approaches for issue tx from frontEnd without the need to wait till it mined before sending the next tx. Is it possible to ...
user3652172's user avatar
0 votes
0 answers
86 views

Do send raw transactions consume extra gas as opposed to a send transaction

I would assume the portion of verifying the signature consumes gas. I'm asking this because it seems infura does not handle signed transactions and I have a getBalance Call that is failing. I would ...
Vignesh Karthikeyan's user avatar
0 votes
0 answers
452 views

sendRawTransaction insufficient funds while there is enough balance

Sorry I probably create a topic that was answered multiple times but unfortunately I couldn't find a solution. I'm trying to use RPC server of Geth to send a raw transaction. I've an address with a ...
G-Virus's user avatar
  • 51
0 votes
0 answers
191 views

How do I send a transaction to a smart contract?

I need to build this transaction and send it to the blockchain how do I do it ? I always used ethsendrawTransaction just to send eth but never I never built this type of transaction: { "data": [ ...
strangethingspy's user avatar
0 votes
1 answer
2k views

Web3 sendSignedTransaction Transaction cost

I'm new to Ethereum world. I've just manage to create an example that calculates transaction fee and sends a signed transaction without a contract using Web3js library. My issue is that my test ...
Eduardo's user avatar
  • 241
0 votes
0 answers
145 views

Who pays for the gas when i send a transaction containing a signed transaction of another user

I would love it if there was a way for me to pay the gas costs for a signed transaction I receive and then relay to a node. So I am the submitting the transaction, but its data contains a signed raw ...
simonDos's user avatar
  • 356

1
2