All Questions
16 questions
0
votes
1
answer
26
views
How to copy this transaction, change the parmeters and send again?
I need to copy this transaction: https://etherscan.io/tx/0x9acf0ecfd6f5a320a419ad8b155208d25f666e228b955d6df7109c84f46f7425
After that, change the recipient address and the NFT ID and send again.
I ...
0
votes
0
answers
139
views
eth_sign invalid "from" address in signature in Trust Wallet browser extension or 0 balance when user has money
Problem
I have code for sending 1 dollar from user to my account. It always works for all wallets except the trust wallet extension (trust wallet mobile works also). When I watch the result ...
1
vote
0
answers
136
views
How to let client side sign the transaction and send it to blockchain
This mint function is giving me this error
Uncaught (in promise) Error: Returned error: transaction could not be decoded: unsupported transaction type
And if I use ethereum-js/tx module to serialize ...
0
votes
0
answers
169
views
Web3Js: TypeError: hexToBytes: expected string, got object
I am trying to sign a transaction, but I'm receiving this error:
hexToBytes: expected string, got object
TypeError: hexToBytes: expected string, got object
at hexToBytes (~\node_modules\@noble\...
1
vote
1
answer
605
views
SendSignedTransaction TIMEOUT
I'm trying to sign data offline and then send signed transaction via web3.js
Here's my code snippet:
const {sign} = require('@warren-bank/ethereumjs-tx-sign');
const {Loader} = require("loader-in-...
0
votes
1
answer
559
views
@ethereumjs/tx Error: Returned error: Insufficient funds. The account you tried to send transaction from does not have enough funds
Moving to @ethereumjs/tx npm package after ethereumjs-tx has been marked as deprecated.
My from address has sufficient Kovan network balance, but the following code throwing Insufficient funds error.
...
4
votes
1
answer
6k
views
Web3js Error: transaction type not supported - How to know supported transaction type?
I'm trying to send a test transaction but am getting a "transaction type not supported" error, and I tried every transaction type supported in the @ethereumjs/tx docs.
const Web3 = require('...
1
vote
3
answers
4k
views
How to sign a transaction using web3.js and ethereumjs-tx on the BSC testnet
How do I sign and send a transaction using web3.js and ethereumjs-tx on the BSC testnet?
I have found this question and answer:
Is it possible to send transaction in Binance Smart Chain using web3 and ...
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){
...
1
vote
1
answer
387
views
Automatically register number into Kovan test net with signed transaction (Infura API + NodeJS)
I have a very simple Smart Contract deployed using remix.ethereum which is:
pragma solidity ^ 0.6.0;
contract primerContrato {
uint storeddata;
function set(uint x) public{
storeddata = x;
}
...
6
votes
4
answers
2k
views
TypeError: EthereumTransaction is not a constructor
var EthereumTransaction = require("ethereumjs-tx")
var Web3 = require('web3')
var web3 = new Web3('http://127.0.0.1:7545')
//Setting Receiving and Sending Address
var sendingAddress = ...
0
votes
2
answers
405
views
Signature test failed at Truffle js
I'm trying to test validAddress function from my contract ValidationUser, using truffle and test with JS. I checked the V value from the signature and its 27,28 so it is not the problem.
Also, I have ...
0
votes
1
answer
2k
views
Why do we use `serialize` function of `ethereumjs-tx` package before broadcasting a transaction
I just want to know the purpose/functionality of serialize function which we use before broadcasting a transaction:
const serializedTransaction = tx.serialize()
const raw = '0x' + ...
2
votes
1
answer
3k
views
What does it mean to serialize a transaction?
In tx library there is a function: serialize() that "serializes" your transaction object. You can then convert that serialization into hexa decimal string, and use it to send the transaction with the ...
0
votes
1
answer
970
views
Problem with sending ERC20 token using [email protected]
Circumstance
I have followed all indications from this GH issue and from other SO posts. The transaction gets successfully broadcasted but no tokens are transferred.
When I check the balance before ...
0
votes
2
answers
2k
views
web3.js library not loading properly
I am trying to load web3 library after installing it via command prompt. However, looks like it is not loading properly as it is not showing all the details for Ethereum ecosystem (ex. unitmap of ...