Skip to main content

segment

No description

segment(
id: ID!
block: Block_height
subgraphError: _SubgraphErrorPolicy_! = deny
): Segment

Arguments

segment.id ● ID! non-null scalar

segment.block ● Block_height input

The block at which the query should be executed. Can either be a { hash: Bytes } value containing a block hash, a { number: Int } containing the block number, or a { number_gte: Int } containing the minimum block number. In the case of number_gte, the query will be executed on the latest block only if the subgraph has progressed to or past the minimum block number. Defaults to the latest block when omitted.

segment.subgraphError ● _SubgraphErrorPolicy_! non-null enum

Set to allow to receive data even if the subgraph has skipped over errors while syncing.

Type

Segment object

See https://docs.sablier.com/concepts/lockup/segments