iota-client 1.4.0

The official, general-purpose IOTA client library in Rust for interaction with the IOTA network (Tangle)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
`TreasuryInput` is an input which references a milestone which generated a `TreasuryOutput`.

### TreasuryInput(id): [TreasuryInput](#treasuryinput)

Create a new TreasuryInput

| Parameter       | Type |  Description |
| --------------- | -------- | -------- |
| id | [MilestoneId](#milestoneid) |  The MilestoneId which Generated a `TreasuryOutput` |

### milestoneId(): [MilestoneId](#milestoneid)

Returns the milestones id of a `TreasuryInput`.