Action
A generic entity for tracking protocol actions. There may be multiple actions for a single tx.
type Action {
  id: String!
  subgraphId: BigInt!
  block: BigInt!
  chainId: BigInt!
  from: Bytes!
  hash: Bytes!
  timestamp: BigInt!
  campaign: Campaign!
  category: ActionCategory!
  fee: BigInt
  claimAmount: BigInt
  claimIndex: BigInt
  claimRecipient: Bytes
  claimStreamId: String
  claimTokenId: BigInt
  clawbackAmount: BigInt
  clawbackFrom: Bytes
  clawbackTo: Bytes
}
Fields
Action.id ● String! non-null scalar
Unique identifier: action-{chainId}-{txHash}-{logIndex}
Action.subgraphId ● BigInt! non-null scalar
Unique global id as tracked by the Watcher entity.
Action.block ● BigInt! non-null scalar
Transaction details: block number
Action.chainId ● BigInt! non-null scalar
The chain ID where the action was created (e.g., 137 for Polygon).
Action.from ● Bytes! non-null scalar
The msg.sender of the Ethereum transaction.
Action.hash ● Bytes! non-null scalar
Transaction details: hash
Action.timestamp ● BigInt! non-null scalar
Transaction details: timestamp
Action.campaign ● Campaign! non-null object
Contract through which the stream actions has been triggered
Action.category ● ActionCategory! non-null enum
Category of action, e.g., Create.
Action.fee ● BigInt scalar
The Sablier fee paid in the native token of the chain (e.g., ETH for Mainnet). See https://docs.sablier.com/concepts/fees
Action.claimAmount ● BigInt scalar
Claim action data: amount.
Action.claimIndex ● BigInt scalar
Claim action data: index.
Action.claimRecipient ● Bytes scalar
Claim action data: recipient.
Action.claimStreamId ● String scalar
Claim action data: stream ID as provided by the Lockup subgraph: {contractAddress}-{chainId}-{tokenId}.
Action.claimTokenId ● BigInt scalar
Claim action data: ERC-721 token id as provided by the Lockup contract.
Action.clawbackAmount ● BigInt scalar
Clawback action data: amount
Action.clawbackFrom ● Bytes scalar
Clawback action data: from
Action.clawbackTo ● Bytes scalar
Clawback action data: to