Is there a sample publicly available, showing how to use the official IOTA S Library to promote a transaction?

1 Answer 1


Taken from the official wallet app:

const spamTransfer = [{address: '9'.repeat(81), value: 0, message: '', tag: ''}]

iota.api.promoteTransaction(transactionHash, 10, 14, spamTransfer,
          {interrupt: false, delay: 0});

Documentation is available here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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