Skip to main content

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: LockupStream!
}

Fields​

Tranche.id ● String! non-null scalar​

Unique identifier: tranche-{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​

Unix timestamp indicating the end of the tranche.

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 ● LockupStream! non-null object​

The stream in which this tranche was created.