Skip to content

Instantly share code, notes, and snippets.

@ralfr
Created February 25, 2018 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ralfr/bcac03fbc22c4c7684d283578f995129 to your computer and use it in GitHub Desktop.
Save ralfr/bcac03fbc22c4c7684d283578f995129 to your computer and use it in GitHub Desktop.
Key Reuse Query AQL / Tangle
FOR tx IN txCollection
FILTER tx.address == 'ICKPPAYKLMJKCESXQNAYP9EKHHDNIXULDAZERMICWXKKDWJGWTETEKAOQTNZCEVGFLAQIXAC9ULXEU9BC' AND tx.value < 0
SORT tx.bundle
LIMIT 1000
RETURN {
value: tx.value,
bundle: tx.bundle,
sig: tx.signatureMessageFragment,
hash: tx._key
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment