Skip to content

Commit

Permalink
match live query to simple query on start
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandotsmith committed Nov 6, 2024
1 parent 61faeb2 commit 3483f7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/_layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,9 @@ <h2>It's Fast</h2>
<h2>It's Live</h2>
<p>Any query can be turned into a <strong>Live Query</strong>. Keep your end-user's browser in sync.</p>
<textarea class="events hidden">Transfer(address indexed from, address indexed to, uint value)</textarea>
<textarea class="query hidden">select block_num, "from", "to" from transfer order by block_num desc limit 1</textarea>
<textarea class="query hidden">
SELECT block_num block, tx_hash, "to", value FROM transfer WHERE address = 0x0555E30da8f98308EdB960aa94C0Db47230d2B9c AND "from" = 0 ORDER BY block_num DESC LIMIT 3</textarea
>
<div class="response">
<table>
<thead></thead>
Expand Down

0 comments on commit 3483f7d

Please sign in to comment.