Is there a sample publicly available, showing how to use the official IOTA S Library to promote a transaction?
Asked
Active
Viewed 430 times
1 Answers
2
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.
mihi
- 7,324
- 2
- 15
- 34