Skip to main content

Flash

Entity to store details of a flash event emitted while a flash loan was taken from a pool.

Schema

FieldTypederivedFromDescription
idID!Flash Entity ID. Format: <transaction hash>#<index in transaction.flashed array>
transactionTransaction!Transaction Entity in which the flash event was emitted
timestampBigInt!Timestamp of the block in which which the flash event was emitted
poolPool!Pool in which the flash event was emitted
senderBytesthe address of the sender that invoked the flash operation
recipientBytes!the address of the recipient that received the flash amount
amount0BigDecimal!Amount of token0 flashed
amount1BigDecimal!Amount of token1 flashed
amountUSDBigDecimalFlash value derived in USD based on available prices of tokens
amount0PaidBigDecimal!Amount of token0 paid for the flash operation
amount1PaidBigDecimal!Amount of token1 paid for the flash operation
logIndexBigIntOrder of the Flash Event within the logs of the transaction

Referencing Functions

danger

Couldn't find any references to collect schema