Skip to main content

Collect

Entity to store details of a collect event emitted while removing tokens from a position.

Schema

FieldTypederivedFromDescription
idID!Collect Entity ID. Format: <transaction hash>#<index in transaction.collects array>
transactionTransaction!Transaction Entity in which the collect event was emitted
timestampBigInt!Timestamp of the block in which which the collect event was emitted
poolPool!Pool in which the collect event was emitted
ownerBytes!owner of the position from which the tokens were collected
amount0BigDecimal!Amount of token0 collected
amount1BigDecimal!Amount of token1 collected
amountUSDBigDecimalCollect value derived in USD based on available prices of tokens
tickLowerBigInt!Lower tick of the position
tickUpperBigInt!Upper tick of the position
logIndexBigIntOrder of the Collect Event within the logs of the transaction

Referencing Functions

danger

Couldn't find any references to collect schema