Majd TL
  • Member for 3 years, 11 months
  • Last seen this week
  • Stuttgart, Deutschland
Could someone explain to me the use of the FastRawTransactionManager class?
0 votes

The third parameter in the FastRawTransactionManager is attempts I think it means polling the TransactionReceipt every "pollingInterval" and retry (if polling failed) 40 times, if the retry counter ...

View answer
Unable to make a transaction with Data using Java api ethSendRawTransaction
0 votes

From the web3j doc :/ RawTransaction.createTransaction( <nonce>, GAS_PRICE, GAS_LIMIT, "0x<address>", <amount>, "0x<hex encoded text>"); byte[] signedMessage = ...

View answer
how to find if a Tx hash is in pending state in ethereum mainnet after web3j fastTxMgr timeout
0 votes

I havn't used "QueuingTransactionReceiptProcessor()" yet, but maybe this could help you EthGetTransactionReceipt transactionReceipt = web3j.ethGetTransactionReceipt(txHash).send();...

View answer
how to deploy a smart contract in ethereum using web3j
0 votes

protected Counter1(String contractAddress, Web3j web3j, TransactionManager transactionManager, ContractGasProvider gasProvider) { super(BINARY, contractAddress, web3j, transactionManager, ...

View answer
How to catch solidity contract revert message using web3j
0 votes

I'm not sure that getting the revert message is possible with web3j, however I get the status of my transactions with this command (but ofc you should wait until the transaction is mined and your Node ...

View answer
web3j: EthSendTransaction.sendTransaction() is throwing "Error processing transaction request: Invalid params: invalid format"
0 votes

(can you share more of your code, like the method in your smartcontract, how you init the transactionManager and how you get the hashedData?) I usually do this Credentials credentials = WalletUtils....

View answer
Web3j send ether transaction pending forever
0 votes

RawTransaction.createEtherTransaction(nonce, gas price, gas limit, toAddress, value); Your Gas-Price is too low and remember it is in Wei. BigInteger gasPrice = BigInteger.valueOf(2_000_000_000L); ...

View answer
How to access ethereum smart contract(already deployed) in a Java application via its address using web3j?
0 votes

You can do that, see the documentation von web3j here https://docs.web3j.io/transactions.html In the Transaction section down in the page 1- Creation of a smart contract. 2- Transacting with a ...

View answer
Web3j - Transfer.sendFunds wait forever
Accepted answer
0 votes

In the first approach you can manipulate the nonce :), that is useful if a transaction of you got stuck

View answer
1 2 3
4