Skip to main content

Transaction

Entity capturing uniswap transaction details with a list of mint, burn, swap, flash and collects events emitted within a transaction.

Schema

FieldTypederivedFromDescription
idID!Transaction Hash
blockNumberBigInt!Block Number where the transaction was added to the chain
timestampBigInt!Timestamp of the block where the transaction was added to the chain
gasUsedBigInt!Amount of Gas Units Consumed to execute the transaction
gasPriceBigInt!Cost of one unit Gas paid for the transaction
mints[Mint]!@derivedFrom(field: "transaction")Mint entities created in this transaction
burns[Burn]!@derivedFrom(field: "transaction")Burn entities created in this transaction
swaps[Swap]!@derivedFrom(field: "transaction")Swap entities created in this transaction
flashed[Flash]!@derivedFrom(field: "transaction")Flash entities created in this transaction
collects[Collect]!@derivedFrom(field: "transaction")Collect entities created in this transaction

Referencing Functions

FunctionNameCreateReadUpdateSave
loadTransaction()
handleMint()
handleBurn()
handleSwap()
getPosition()
savePositionSnapshot()