Trying to send Ether
See original GitHub issueSending Ether is failed with response “{“jsonrpc”:“2.0”,“id”:6,“error”:{“code”:-32601,“message”:“The method eth_sendTransaction does not exist/is not available”}}”
Xcode 14.1 web3swift 3.0.1
```
var transaction: CodableTransaction = .emptyTransaction
transaction.from = fromAddress
transaction.to = toAddress
transaction.value = amount
transaction.noncePolicy = .latest
transaction.gasLimitPolicy = .automatic
transaction.gasPricePolicy = .automatic
let result = try await web3Instance.eth.send(transaction)
return result.hash
KeystoreManager is added to web3 instance
Issue Analytics
- State:
- Created 10 months ago
- Comments:10
Top Results From Across the Web
Sending Ether (transfer, send, call) | Solidity by Example | 0.8.17
How to send Ether? You can send Ether to other contracts by. transfer (2300 gas, throws error); send (2300 gas, returns bool); call...
Read more >How do I send Ether? - Blockchain Support Center
Follow the steps below for help sending ether. Click on Send and select Ether from the Currency drop-down menu.
Read more >How To Buy and Send ETH, And Use MetaMask Mobile's ...
More than a wallet. Learn how to use MetaMask Mobile's built-in browser, buy ETH, and send and receive tokens anywhere in the world....
Read more >Send ether from one wallet to another with solidity smart ...
I want to send ether from one walet to another…what technique to use and what is the safest method to do so? wallet...
Read more >Sending Tokens Using ethers.js - ethereum.org
Sending Procedures · 1. Connect to network (testnet) · 2. Create wallet · 3. Connect Wallet to net · 4. Get current gas...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found solution for Goerli it is necessary to set manually
transaction.chainID = BigUInt(5)
Previous comment was solved by adding the chainID explicitly to the transaction.