FlowAction
A generic entity for tracking Flow protocol actions.
type FlowAction {
id: String!
subgraphId: BigInt!
block: BigInt!
chainId: BigInt!
from: Bytes!
hash: Bytes!
timestamp: BigInt!
category: FlowActionCategory!
contract: Bytes!
fee: BigInt
stream: FlowStream
addressA: Bytes
addressB: Bytes
amountA: BigInt
amountB: BigInt
}
Fields
FlowAction.id ● String! non-null scalar
Unique identifier: action-{chainId}-{txHash}-{logIndex}
FlowAction.subgraphId ● BigInt! non-null scalar
Unique global id as tracked by the Watcher entity.
FlowAction.block ● BigInt! non-null scalar
Block number of the Ethereum transaction.
FlowAction.chainId ● BigInt! non-null scalar
The chain ID where the action was created (e.g., 137 for Polygon).
FlowAction.from ● Bytes! non-null scalar
The tx.origin of the Ethereum transaction.
FlowAction.hash ● Bytes! non-null scalar
Hash of the Ethereum transaction.
FlowAction.timestamp ● BigInt! non-null scalar
Unix timestamp of the Ethereum transaction.
FlowAction.category ● FlowActionCategory! non-null enum
Category of action, e.g., Deposit.
FlowAction.contract ● Bytes! non-null scalar
Contract through which the action was triggered.
FlowAction.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
FlowAction.stream ● FlowStream object
Stream linked to this action, if any.
FlowAction.addressA ● Bytes scalar
Address of 1st actor. Who this is depends upon the action type, e.g. for Create, it is the sender.
FlowAction.addressB ● Bytes scalar
Address of 2nd actor. Who this is depends upon the action type, e.g. for Transfer, it is the recipient.
FlowAction.amountA ● BigInt scalar
1st amount. What this is depends upon the action type, e.g. for Deposit, it is the deposit amount.
FlowAction.amountB ● BigInt scalar
2nd amount. What this is depends upon the action type, e.g. for Withdraw, it is the refund amount.