Tranche
See https://docs.sablier.com/concepts/lockup/tranches
type Tranche {
id: String!
amount: BigInt!
endAmount: BigInt!
endTime: BigInt!
position: BigInt!
startAmount: BigInt!
startTime: BigInt!
stream: Stream!
timestamp: BigInt!
}
Fields
Tranche.id
● String!
non-null scalar
Unique identifier: {streamId}-{position}
Tranche.amount
● BigInt!
non-null scalar
Amount distributed by this tranche.
Tranche.endAmount
● BigInt!
non-null scalar
Total amount distributed at endTime
. This is the sum of this tranche's amount and all previous tranches' amounts.
Tranche.endTime
● BigInt!
non-null scalar
Alias for the timestamp
field.
Tranche.position
● BigInt!
non-null scalar
Position of the tranche inside the array.
Tranche.startAmount
● BigInt!
non-null scalar
Total amount distributed by the stream at startTime
. This is the sum of all previous tranches' amounts.
Tranche.startTime
● BigInt!
non-null scalar
Unix timestamp indicating the start of the tranche. This is also the end time of the previous tranche or, if this is the first tranche, it is the start time of the stream.
Tranche.stream
● Stream!
non-null object
The stream in which this tranche was created.
Tranche.timestamp
● BigInt!
non-null scalar
Unix timestamp indicating the end of the tranche.