Coder Social home page Coder Social logo

Comments (3)

biteasy avatar biteasy commented on June 29, 2024

Hi Chris,

The transaction looks correct on the website. You send 8.9999 BTC to address mkmLdXb8HrWtFaD2VabHNiN2t8HhBbVZB1, 0.001 was the fee and 1 BTC was the change returned to you so the transacted value is correct.

Perhaps you wanted to send 1 BTC to that address and by mistake you've sent 8.9999 BTC?

from blockchain-api.

chriswill avatar chriswill commented on June 29, 2024

No, what I'm saying is that the 8.9999 was change. I did send 1BTC, the fee was set to 0.0001 before I created the transaction. I had a 10BTC input, which is what the wallet auto-selected.

I don't think if you look at a raw transaction that there is any easy way to say what is the actual "spend amout". All you have is a collection of inputs and outputs. Since you have no way of knowing that mkmLdXb8HrWtFaD2VabHNiN2t8HhBbVZB1 is an address in my wallet (change) it's just guessing really how much the transaction really was for.

I created these transactions with json-rpc, and all addresses were in the same wallet anyway, but I just pushed the transaction to the blockchain as part of my testing.

from blockchain-api.

biteasy avatar biteasy commented on June 29, 2024

Ah, ok. Well, if both addresses are on the same wallet, like you said, it's kinda impossible for us to know which one was the change. We probably need to add a note for the BTC Transacted Value that it's an assumption and not fact :)

Other than that is the site useful to you? Is there some other feedback that you want to give?

from blockchain-api.

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.