iota-client 1.4.0

The official, general-purpose IOTA client library in Rust for interaction with the IOTA network (Tangle)
Documentation


### fromBytes(index, data): [IndexationPayload](#indexationpayload)

Creates a new `IndexationPayload`.

| Parameter       | Type |  Description |
| --------------- | -------- | -------- |
| index | byte[] |  The index |
| data | byte[] |  The data linked ot this index |

### fromStrings(index, data): [IndexationPayload](#indexationpayload)

Creates a new `IndexationPayload` from strings

| Parameter       | Type |  Description |
| --------------- | -------- | -------- |
| index | String |  The index |
| data | String |  The data linked ot this index |

### index(): byte[]

Returns the index of an `IndexationPayload`.

### indexString(): String

Returns the index of an `IndexationPayload`.

### data(): byte[]

Returns the data of an `IndexationPayload`.

### dataString(): String

Returns the data of an `IndexationPayload`.