StreamedContract
Defined in: packages/react/src/hooks/useContractStream.ts:20
Contract with stream metadata for animations
Extends
Section titled “Extends”Properties
Section titled “Properties”contractId
Section titled “contractId”contractId:
string
Defined in: packages/react/src/hooks/useActiveContracts.ts:24
Inherited from
Section titled “Inherited from”createdAt?
Section titled “createdAt?”
optionalcreatedAt:string
Defined in: packages/react/src/hooks/useActiveContracts.ts:27
Inherited from
Section titled “Inherited from”isNew:
boolean
Defined in: packages/react/src/hooks/useContractStream.ts:24
Whether this contract was just added (for enter animation)
isRemoving
Section titled “isRemoving”isRemoving:
boolean
Defined in: packages/react/src/hooks/useContractStream.ts:26
Whether this contract is being removed (for exit animation)
observers?
Section titled “observers?”
optionalobservers:string[]
Defined in: packages/react/src/hooks/useActiveContracts.ts:29
Inherited from
Section titled “Inherited from”payload
Section titled “payload”payload:
Record<string,unknown>
Defined in: packages/react/src/hooks/useActiveContracts.ts:26
Inherited from
Section titled “Inherited from”signatories?
Section titled “signatories?”
optionalsignatories:string[]
Defined in: packages/react/src/hooks/useActiveContracts.ts:28
Inherited from
Section titled “Inherited from”streamedAt
Section titled “streamedAt”streamedAt:
number
Defined in: packages/react/src/hooks/useContractStream.ts:22
When the contract was first seen (for animation timing)
templateId
Section titled “templateId”templateId:
string
Defined in: packages/react/src/hooks/useActiveContracts.ts:25