Flipside Docs
Search
⌃K

Polygon UDM Events

These are legacy Polygon tables. See Polygon 2.0 for up-to-date Polygon models.
Polygon UDM events exist within the polygon schema, as polygon.udm_events
Within the event table, native MATIC transfers, internal transactions, and contract calls are all modeled as "events".
Notable Features that make querying simple:
  • "Origin" metadata is carried down to every event. This is particularly useful if you want to query an event in the context of a specific origin contract call, i.e. all "burn" events that occur in the context of a token "transfer".
  • All function names, log methods, and log events have been decoded into their human-readable format.
  • All amounts have been decimal adjusted.
  • All amounts, where applicable, contain their USD Equivalent.

Table Schema

polygon.udm_events
Field
Type
Description
block_timestamp
timestamp
UTC block timestamp for parent block
block_id
number
The block height this event was recorded at.
tx_id
string
Transaction id for this transfer
origin_address
address
The initiator of the transaction
origin_address_name
string
origin_label
string
origin_label_subtype
string
origin_label_type
string
origin_function_name
string
Input function signature decoded to English name for the parent tx that kicked off this event, if applicable
origin_function_signature
string
The function signature of contract call, if applicable
from_address
address
The sender of the event
from_address_name
string
from_label
string
from_label_subtype
string
from_label_type
string
to_address
address
The receiver of the transaction or contract being called
to_address_name
string
to_label
string
to_label_subtype
string
to_label_type
string
event_name
string
English decoded name for the event name. This could be a transfer, or any decoded log method or log event name
event_type
string
The english name for the type of event. This could be a native polygon event, token transfer, or contract methods calls/events.
event_id
string
The index/order of the event in the transaction
contract_address
address
The parent contract that is responsible for kicking off this event.
symbol
string
The symbol for the contract, if applicable.
amount
number
Native amount of transfer (decimal adjusted)
amount_usd
number
In the case of a transfer event, the equivalent amount in USD. Note this is computed by taking the average hourly price around the time of the tx event.