What is the difference between the Message and Tag values when creating a new transaction object via the JS library

1 Answer 1


The Tag field is short and can be used to search transactions (so you can search the tangle for transactions with tag "GUS9GORMAN", but not for transactions with message "GUS9GORMAN"). The Message field is longer; but for transactions that spend iota (which is internally represented by a negative Value), the message needs to contain the signature so that the transaction can get confirmed (so you can only fill it with custom data for transactions that either receive iota or zero value transactions).

  • @bernd The negative value is correct. Transactions where the address receive iota have a positive value, and when the address spends iota, they have a negative value. Transactions that do not move iota have a zero value.
    – mihi
    Commented Jan 7, 2018 at 18:55

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.