Skip to main content

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
claimTo: Bytes
claimStreamId: String
claimTokenId: BigInt
forgoneAmount: BigInt
clawbackAmount: BigInt
clawbackFrom: Bytes
clawbackTo: Bytes
}

Fields

Action.id ● String! non-null scalar

Unique identifier: {txHash}-{blockLogIndex}

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 id of the chain, 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 Ethereum 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.claimTo ● Bytes scalar

Claim action data: to.

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.forgoneAmount ● BigInt scalar

Claim action data: forgoneAmount. Specific to VCA's

Action.clawbackAmount ● BigInt scalar

Clawback action data: amount

Action.clawbackFrom ● Bytes scalar

Clawback action data: from

Action.clawbackTo ● Bytes scalar

Clawback action data: to