I want to automate finding out if an account has received an airdrop. So far what I came up with:

  1. Find a list of all contracts (exclude the system contracts such as eos.tokens, eos.names, eos.ram, etc.)

  2. Run cleos to query the contract for the accounts using the scope (particular account)


$ cleos -u http://api.eosnewyork.io get table eosdactokens dummyaccount accounts

How can I get a list of all the contracts created by air drops.

2 Answers 2


I don't think you can ask cleos directly for that information. I think you need to inspect the contracts that get uploaded yourself to identify them. That could be automated, of course.

  • How do I inspect the contracts that get uploaded?
    – Kabir
    Jun 27, 2018 at 14:41
  • perhaps start with something like this: cleos get abi eosdactokens Jun 27, 2018 at 19:46
  • The issue is I don't know the names of the contracts.
    – Kabir
    Jun 28, 2018 at 18:00
  • Yes as far as I know the only way to detect them is to crawl the blocks and look for calls to issue() or other related tx that indicate a new token. Jun 29, 2018 at 6:03

You can now use https://www.eossnapshots.io/ to get a list of accounts updated daily if you don't want to download the ledger yourself

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.