$DEGEN: How To Quickly Query Your New Allocation

Modify the Dune SQL code to increase query speed.

arfonzo

arfonzo

Apologies if this article is a little short--I just wanted to post this ASAP to get the information out quickly to everyone.

In June, we're going to see a new system of ranking rolling out for $DEGEN tip allocations. See the original cast by Jacek here:

In a nutshell, it's going to be using openrank data and no longer relies purely on engagement metrics. I think it's great news, but I'm not here to talk about that today. I just want to focus on getting your own allocation data quickly from the Dune Analytics query.

A Dune query has been released for this data (supposedly), which you can reference here: Airdrop 2 Tip Allocations Exponential Decay (dune.com)

The issue is that the whole query fails frequently, as it hits a 2-minute execution timeout error. Otherwise it chugs for quite a while before returning all results for you to filter through.

This article explains how you can filter the results to only grab your own data, which results in a much faster query (in my testing it's around 5 seconds).

I casted about it earlier, but I thought it might merit a more thorough explanation for those new to Dune Analytics.


Enough. Just Tell Me How To Do It Already!

  1. Make sure you have your own Dune Analytics account (free).

  2. Go to the original Dune query, here: Airdrop 2 Tip Allocations Exponential Decay (dune.com)

  3. Hit the "Fork" button, top-right to fork a copy of the query to your own account.

  4. Get your FID from farcaster.

  5. Modify the SQL source code so that the query only fetches data pertaining to your FID. You'll want to go to line 22, and insert the following lines (replace 31337 with your FID):

WHERE
    fid = 31337
post image

Now, when you run the query, it should go very quickly and return only your own results. If you want, you can now save the query (and mark it private), so you can query your data anytime.

Have fun!

If you found this tip useful, please subscribe & follow me on farcaster: https://warpcast.com/arfonzo

arfonzoFarcaster
arfonzo
Commented 11 months ago

I've just published my first @paragraph article! I explain how you can easily modify the default Dune Analytics SQL code to quickly query your new allocation stats (the ones which will take effect in June). $DEGEN: How To Quickly Query Your New Allocation

Manu Williams πŸŽ©πŸ”΅πŸ’Farcaster
Manu Williams πŸŽ©πŸ”΅πŸ’
Commented 11 months ago

Will set this up later. So tired of the loading lol ~ Thank you! Will be back...

arfonzoFarcaster
arfonzo
Commented 11 months ago

You're very welcome! Really helped me too (yeah the loading/timeout errors were getting ridiculous), so I thought to share it. Sharing is caring! 😻🀝😸

Manu Williams πŸŽ©πŸ”΅πŸ’Farcaster
Manu Williams πŸŽ©πŸ”΅πŸ’
Commented 11 months ago

250 $DEGEN

arfonzoFarcaster
arfonzo
Commented 11 months ago

Wow! Thank you very much @manuwilliams, most appreciated! πŸ™πŸ˜»

ciefa 🐌 eth/accFarcaster
ciefa 🐌 eth/acc
Commented 11 months ago

thanks arf!

arfonzoFarcaster
arfonzo
Commented 11 months ago

ywyw! Sharing is caring frenpai πŸ™

XBorn IDFarcaster
XBorn ID
Commented 11 months ago

Does it contain tips on how to increase Allowance here, my boss? 🎭

arfonzoFarcaster
arfonzo
Commented 11 months ago

There's not too many details I've seen yet about it, but here's a great cast about it! Basically, cast & tip legitimately, don't use spam tactics, engage with as many high quality users as possible. Just keep being normal! 😹 https://warpcast.com/nicolasdavis.eth/0xda4b659c

XBorn IDFarcaster
XBorn ID
Commented 11 months ago

Ok, I'll try harder for that... Hahaha... ❀Thankyou

XBorn IDFarcaster
XBorn ID
Commented 11 months ago

What is happening here, my boss My allowance 4,999,700 😁

arfonzoFarcaster
arfonzo
Commented 11 months ago

Lmao I have no idea! Pray that it's true 😹 I suspect it's a temporary bug in calculations tho, maybe check again tomorrow.

Nova DAOFarcaster
Nova DAO
Commented 11 months ago

gud cat

arfonzoFarcaster
arfonzo
Commented 11 months ago

I gud. Except, when I not. 😼

Nathalie 🌻Farcaster
Nathalie 🌻
Commented 11 months ago

Thanks! Very helpful :) 20 $degen

arfonzoFarcaster
arfonzo
Commented 11 months ago

You're very welcome, glad to assist! And thanks! 🀝

FibariumFarcaster
Fibarium
Commented 11 months ago

Huge!πŸ‘

$DEGEN: How To Quickly Query Your New Allocation