Giter Site home page Giter Site logo

Comments (3)

ayrat555 avatar ayrat555 commented on September 18, 2024

@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.

izelnakri avatar izelnakri commented on September 18, 2024

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.

ayrat555 avatar ayrat555 commented on September 18, 2024

@izelnakri yes, typespecs would be very helpful. I will add them soon. By the way, pull requests are welcome.

from ethereumex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.