Comments (3)
@izelnakri can you give a little more information about your request? what parameters did you pass?
Request with geth client
params = [%{"data" => "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675",
"from" => "0xc2b7b953C339c6ec4Bb88fAB5a4d19A033e6c4b1", "gas" => "0x76c0",
"gasPrice" => "0x9184e72a000",
"to" => "0xc2b7b953C339c6ec4Bb88fAB5a4d19A033e6c4b1",
"value" => "0x9184e72a"}]
Ethereumex.HttpClient.eth_send_transaction(params)
{:error, %{"code" => -32000, "message" => "unknown account"}}
from ethereumex.
ohh so it is a map inside a list, not a list, keyword-list or a single map my bad sorry. Would be helpful if we had some typespecs and more tests though.
from ethereumex.
@izelnakri yes, typespecs would be very helpful. I will add them soon. By the way, pull requests are welcome.
from ethereumex.
Related Issues (20)
- Problem following the documentation... HOT 4
- Add a clear example for sending transactions. HOT 6
- Most tests don't run on CI HOT 2
- unable to pass headers to multiple endpoints HOT 1
- How do you verify a signature? HOT 3
- eth-call is not working on Moonbeam-Network HOT 6
- engine API HOT 1
- Default http header `Content-Type: application/json`?
- error without optional telemetry dependency installed HOT 2
- multiple nodes - reconnection HOT 1
- rlp: non-canonical integer (leading zero bytes) for *big.Int, decoding into (types.Transaction)(types.txdata).R HOT 1
- dialyzer issues when using opts argument HOT 1
- How to send ERC20 tokens from one ethereum address to another?
- Weird http pooling related error after v0.6.patch upgrade HOT 1
- Absolute IPC path HOT 1
- Feature Suggestion: ws client transport HOT 2
- Getting Jason.DecodeError, 400 in all requests HOT 3
- Batched requests don't handle errors HOT 3
- 0.8 requests failed with basic auth urls HOT 3
- Multiple endpoints HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ethereumex.