メインコンテンツへスキップ

Functions Library Overview

更新日:
2025年11月12日
Deprecation Notice: Quicknode Functions
Deprecation Notice: Quicknode Functions

Quicknode Functions will be deprecated and will no longer be available soon.

:::

Quicknode Functions is an extremely versatile product, allowing arbitrary code to be run at the edge within the Quicknode infrastructure. Customers have offloaded small backend jobs and replaced full applications.

We've assembled a library of ready-to-use code samples to accelerate your development. These samples demonstrate how to use Functions effectively and integrate them into your existing architecture, including examples that leverage other Quicknode products like Streams and Key-Value Store.

The code samples below can be used in a variety of ways, including as standalone Functions, filters for your Streams, or custom Streams destinations through a Function.

FunctionChain(s)説明DatasetRuntime使用方法
Manage Wallet PortfolioソラナAdd and remove Solana wallets to a portfolio using Key-Value store and fetch the portfolio details.ブロックNode.jsStandalone Function
Compute DEX MetricsソラナGet valuable Solana DEX data like transactions, value change, unique users, and transaction share major DEX protocols, including Phoenix, Raydium, and Jupiter.Programs with logsNode.jsStandalone Function
Compute Block MetricsEVMGet vital block analytics data like active addresses, gas price, ETH transferred, biggest transactions, etc.Block with receiptsNode.jsStandalone Function
Compute Block MetricsソラナGet vital Solana block analytics data like compute units, fees, program invocations, transaction count, and account activity.ブロックNode.jsStandalone Function
Compute Contract DeploymentsEVMCompute the number of smart contracts deployed in a block.Debug_traceNode.jsStandalone Function
Estimate Gas PriceEVMGet the average gas price of the latest block by averaging gas prices across 100 transactions.ブロックNode.jsStandalone Function そして Stream Filter
Find Whale TransactionsEVMGet transactions with a value greater than a specified amount.ブロックNode.jsStandalone Function そして Stream 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 datasetNode.jsStandalone Function
Translate Txns (multi-chain)EVMTranslate blockchain transactions into human readable format for multiple blockchains.no datasetNode.jsStandalone Function
Stream Translated TxnsEVMSet up a Stream of human readable transaction data.取引Node.jsStandalone Function そして Stream Filter
Stream to DiscordEVMHave your Quicknode Stream feed data directly into a Discord channel.ログNode.jsCustom Stream Destination via Function
Detect Token AllowanceEVMGet ERC-20 token approval events and details related to those approvals.ログNode.jsStandalone Function
Detect Uniswap SwapsイーサリアムGet Uniswap V2&V3 swap events along with details related to those swaps.Debug_TraceNode.jsStandalone Function
Compute Validator MetricsソラナGet Solana validator's voting patterns and performance metrics.Programs with logsNode.jsStandalone Function
Fetch Solana NFTsソラナFetch NFTs and related metadata for a given Solana wallet.no datasetNode.jsStandalone Function
Fetch SPL TokensソラナFetch SPL tokens and their balances for a given Solana wallet.no datasetNode.jsStandalone Function

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.

このドキュメントを共有する