`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`.