Skip to content
This repository was archived by the owner on Sep 6, 2024. It is now read-only.

Commit 1c7f46f

Browse files
author
Dominik Schiener
authored
Minor modifications to the readme.
1 parent f62a85b commit 1c7f46f

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# IOTA Javascript LIBRARY
1+
# IOTA Javascript Library
22

33
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/iotaledger/iota.lib.js/master/LICENSE) [![Build Status](https://travis-ci.org/iotaledger/iota.lib.js.svg?branch=master)](https://travis-ci.org/iotaledger/iota.lib.js) [![dependencies Status](https://david-dm.org/iotaledger/iota.lib.js/status.svg)](https://david-dm.org/iotaledger/iota.lib.js) [![devDependencies Status](https://david-dm.org/iotaledger/iota.lib.js/dev-status.svg)](https://david-dm.org/iotaledger/iota.lib.js?type=dev) [![NSP Status](https://nodesecurity.io/orgs/iota-foundation/projects/7c0214b5-e36a-4178-92bc-164c536cfd6c/badge)](https://nodesecurity.io/orgs/iota-foundation/projects/7c0214b5-e36a-4178-92bc-164c536cfd6c)
44

@@ -493,23 +493,7 @@ Similar to `getTransfers`, just a bit more comprehensive in the sense that it al
493493

494494
#### Input
495495
```
496-
iota.api.getAccountData(inputAddress)
497-
```
498-
499-
1. **`inputAddress`**: `String` address used as input in a transaction
500-
501-
#### Returns
502-
`Bool` - true / false
503-
504-
---
505-
506-
### `shouldYouReplay`
507-
508-
This API function helps you to determine whether you should replay a transaction or make a completely new transaction with a different seed. What this function does, is it takes an input address (i.e. from a spent transaction) as input and then checks whether any transactions with a value transferred are confirmed. If yes, it means that this input address has already been successfully used in a different transaction and as such you should no longer replay the transaction.
509-
510-
#### Input
511-
```
512-
iota.api.shouldYouReplay(seed [, options], callback)
496+
iota.api.getAccountData(seed [, options], callback)
513497
```
514498

515499
1. **`seed`**: `String` tryte-encoded seed. It should be noted that this seed is not transferred
@@ -531,6 +515,22 @@ iota.api.shouldYouReplay(seed [, options], callback)
531515

532516
---
533517

518+
### `shouldYouReplay`
519+
520+
This API function helps you to determine whether you should replay a transaction or make a completely new transaction with a different seed. What this function does, is it takes an input address (i.e. from a spent transaction) as input and then checks whether any transactions with a value transferred are confirmed. If yes, it means that this input address has already been successfully used in a different transaction and as such you should no longer replay the transaction.
521+
522+
#### Input
523+
```
524+
iota.api.shouldYouReplay(inputAddress)
525+
```
526+
527+
1. **`inputAddress`**: `String` address used as input in a transaction
528+
529+
#### Returns
530+
`Bool` - true / false
531+
532+
---
533+
534534
## `iota.utils`
535535

536536
All utils function are done synchronously.

0 commit comments

Comments
 (0)