What it was
The playground was a hosted Redash instance pointed at a Postgres database of Farcaster data. It offered ad-hoc SQL queries in the browser, shareable dashboards, and SQL-over-API using a Redash API key separate from the read and write API keys.
Porting old queries
The table shapes below are not unique to the playground β the samecasts, links and reactions tables ship in Parquet exports and through the indexer service. If you are moving queries off the playground, these notes still apply.
Data is more raw than our APIs, and you will likely need to join tables. If you are building a client rather than doing analysis, prefer the APIs over SQL.
1. Follows
links table has follower <> follow data:
fidβtarget_fidrow meansfidfollowstarget_fid
2. Reactions
reaction_type1 is βlikeβ and 2 is βrecastβ in thereactionstablehashin the reactions table is the βreaction hashβ andtarget_hashis the hash of the cast that received the reaction
3. hex <> bytea
The Redash UI converted bytea data to hex for display, but queries had to do the conversion themselves β as they still do against Parquet and the indexer service:- bytea to hex
- hex to bytea
hex_hash_without_0x with the actual cast hash minus the `0x)