We've assembled some unique and creative ready-to-use examples of Functions ranging across various use cases. By following the links below, you can explore different Functions examples and learn more about them.
Function | Description | Dataset | Runtime | Usage |
---|---|---|---|---|
Estimate Gas Price | Get the average gas price of the latest block by averaging gas prices across 100 transactions. | Block | Node.js (Functions code editor) | Functions and Streams Filter |
Compute Block Metrics | Get vital block analytics data like active addresses, gas price, ETH transferred, biggest transactions, etc. | Block with receipts | Node.js (Functions code editor) | Functions |
Find Whale Transactions | Get transactions with a value greater than a specified amount. | Block | Node.js (Functions code editor) | Functions and Streams Filter |
Fetch TRC20 (TRON) Metadata | Retrieve essential TRC20 token metadata such as name, symbol, decimals, and total supply, supporting both TRON native and EVM-compatible addresses for seamless integration. | no dataset | Node.js (Functions code editor) | Functions |
Translate Txns (multi-chain) | Translate blockchain transactions into human readable format for multiple blockchains. | no dataset | Node.js (Functions code editor) | Functions |
Stream Translated Txns | Set up a Stream of human readable transaction data. | Transactions | Node.js (Functions code editor) | Functions and Streams Filter |
Stream to Discord | Have your QuickNode Stream feed data directly into a Discord channel. | Logs | Node.js (Functions code editor) | Functions and Streams Destination |
Contribute to the Functions Library by opening a pull request to submit your Function.
If you'd like to request additional examples, please open an issue on the GitHub repository.