LockupBatch
Creating streams in bulk is possible using the Sablier batch contracts.
type LockupBatch {
id: String!
hash: Bytes
timestamp: BigInt
batcher: LockupBatcher
position: BigInt
size: BigInt!
streams(
skip: Int = 0
first: Int = 100
orderBy: LockupStream_orderBy
orderDirection: OrderDirection
where: LockupStream_filter
): [LockupStream!]!
}
Fields
LockupBatch.id ● String! non-null scalar
Unique identifier: batch-{chainId}-{txHash}-{batcher}
LockupBatch.hash ● Bytes scalar
Hash of the Ethereum transaction that created this batch.
LockupBatch.timestamp ● BigInt scalar
Timestamp of the transaction that created this batch.
LockupBatch.batcher ● LockupBatcher object
The sender address that created this batch.
LockupBatch.position ● BigInt scalar
Index of the batch based on the batchCounter in the Batcher entity.
LockupBatch.size ● BigInt! non-null scalar
Number of streams part of this batch.
LockupBatch.streams ● [LockupStream!]! non-null object
Streams part of this batch.