This is more or less to confirm my deeper understanding of IRI and how it all works.

From the docs and the code what I see is, that attachToTangle outsources the PoW to a node. It is broadcastTransactions what sends a "complete" transaction (including the Pow) to the network.

If this is correct, I assume, that a wallet which does PoW itself, never needs to call the attachToTangle API.

Is this all correct?

1 Answer 1


Yes, this is all correct.

Don't forget to storeTrnsactions before you broadcast them, or your own node may not have them later for reference.

  • I upvoted these question and answer and also these because they illuminate an important question. It could be useful to recap all things in a scheme.
    – blockmined
    Jan 16, 2018 at 20:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.