batch
No description
batch(
id: ID!
block: Block_height
subgraphError: _SubgraphErrorPolicy_! = deny
): Batch
Arguments
batch.id
● ID!
non-null scalar
batch.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.
batch.subgraphError
● _SubgraphErrorPolicy_!
non-null enum
Set to allow
to receive data even if the subgraph has skipped over errors while syncing.
Type
Batch
object
Creating streams in bulk is possible using the SablierBatchLockup contract. See https://github.com/sablier-labs/lockup/blob/v2.0/src/SablierBatchLockup.sol
The entity can be immutable because a batch is only updated in the same block. See https://thegraph.com/docs/en/subgraphs/developing/creating/ql-schema/#defining-entities