Skip to main content

Algorand streaming Query Language

Project description

algoql

Algorand streaming Query Language

Usage

python main.py <query>

Get current block round

SELECT b.rnd FROM block AS b;

Output:

{'rnd': 25242464}
{'rnd': 25242465}

Get decoded transaction notes:

SELECT BASE64DECODE(txns.txn.note, "utf-8") AS note FROM block.txns AS txns WHERE BASE64DECODE(txns.txn.note, "utf-8") IS NOT NULL;

Output:

{'note': 'Reach 0.1.11'}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

algoql-0.0.2.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

algoql-0.0.2-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page