# Table of Contents - [Welcome to Helius - Helius Docs](#welcome-to-helius-helius-docs) - [Authentication - Helius Docs](#authentication-helius-docs) - [Solana API 参考:完整列表 - Helius Docs](#solana-api-helius-docs) - [Digital Asset Standard (DAS) - Helius Docs](#digital-asset-standard-das-helius-docs) - [Solana API Reference: Complete List - Helius Docs](#solana-api-reference-complete-list-helius-docs) - [Helius Support: Get Help with Solana API Development - Helius Docs](#helius-support-get-help-with-solana-api-development-helius-docs) - [Helius 支持:获取 Solana API 开发帮助 - Helius Docs](#helius-solana-api-helius-docs) - [Contact Helius Support: Get Help with Solana API Issues - Helius Docs](#contact-helius-support-get-help-with-solana-api-issues-helius-docs) - [Shred Delivery - Helius Docs](#shred-delivery-helius-docs) - [Shred Delivery - Helius Docs](#shred-delivery-helius-docs) - [使用 Helius SDK 进行编程化 Solana 质押 - Helius Docs](#-helius-sdk-solana-helius-docs) - [Helius Status Page: Real-Time Service Monitoring - Helius Docs](#helius-status-page-real-time-service-monitoring-helius-docs) - [联系 Helius 支持:获取 Solana API 问题帮助 - Helius Docs](#-helius-solana-api-helius-docs) - [Helius 状态页面:实时服务监控 - Helius Docs](#helius-helius-docs) - [Solana Webhooks: Real-Time Blockchain Event Notifications - Helius Docs](#solana-webhooks-real-time-blockchain-event-notifications-helius-docs) - [Solana Webhooks:实时区块链事件通知 - Helius Docs](#solana-webhooks-helius-docs) - [Solana Webhook Transaction Types - Helius Docs](#solana-webhook-transaction-types-helius-docs) - [Solana Webhook 交易类型 - Helius Docs](#solana-webhook-helius-docs) - [What is ZK Compression on Solana? - Helius Docs](#what-is-zk-compression-on-solana-helius-docs) - [什么是 Solana 上的 ZK 压缩? - Helius Docs](#-solana-zk-helius-docs) - [Page Not Found](#page-not-found) - [Page Not Found](#page-not-found) - [Page Not Found](#page-not-found) - [使用 Helius 构建您的第一个 Solana 应用 - Helius Docs](#-helius-solana-helius-docs) - [How to Swap Solana Tokens on Orb - Helius Docs](#how-to-swap-solana-tokens-on-orb-helius-docs) - [How to Find Top Solana Coins on Orb - Helius Docs](#how-to-find-top-solana-coins-on-orb-helius-docs) - [How to Find Top Solana Validators on Orb - Helius Docs](#how-to-find-top-solana-validators-on-orb-helius-docs) - [Solana 历史数据概览与教程 - Helius Docs](#solana-helius-docs) - [Build Your First Solana App with Helius - Helius Docs](#build-your-first-solana-app-with-helius-helius-docs) - [getTransactionsForAddress 概述和教程 - Helius Docs](#gettransactionsforaddress-helius-docs) --- # Welcome to Helius - Helius Docs [Skip to main content](https://www.helius.dev/docs#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Get Started Welcome to Helius We’re building the infrastructure for the world’s first global financial computer. Whether you’re building the next DeFi protocol, creating innovative NFT experiences, or pioneering entirely new financial primitives, Helius gives you the tools to turn ambitious ideas into reality. We don’t settle for “good enough”—we build infrastructure that entire markets depend on. ![Helius Hero](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/images/hero-light.png?w=2500&fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=7e0eb2c7834f3536307c78ec3eec41bb) [​](https://www.helius.dev/docs#start-building-with-helius) Start Building with Helius ----------------------------------------------------------------------------------------- Helius provides the infrastructure and APIs you need to build world-class applications on Solana. From your first API call to scaling to millions of users, we’ve got you covered. [Quick Start\ -----------\ \ Make your first API call in minutes and start building with Helius.](https://www.helius.dev/docs/quickstart) [Plans & Pricing\ ---------------\ \ Transparent pricing that scales with your success. No hidden fees.](https://www.helius.dev/docs/billing/plans) [API Reference\ -------------\ \ Complete documentation for all Helius APIs and developer tools.](https://www.helius.dev/docs/api-reference) [​](https://www.helius.dev/docs#ai-powered-documentation) AI-Powered Documentation ------------------------------------------------------------------------------------- Get instant answers and navigate our documentation with AI assistance. Ask questions in natural language and get precise, contextual responses about Helius APIs, features, and best practices. **Smart Navigation**: Use AI to quickly find the information you need, get code examples, and understand complex concepts. Available throughout our documentation. [​](https://www.helius.dev/docs#high-performance-rpc-infrastructure) High-Performance RPC Infrastructure ----------------------------------------------------------------------------------------------------------- [Solana RPC Nodes\ ----------------\ \ Lightning-fast RPC nodes. Built for applications where performance matters.](https://www.helius.dev/docs/rpc/overview) [Dedicated Nodes\ ---------------\ \ Private infrastructure with no rate limits.](https://www.helius.dev/docs/dedicated-nodes) [​](https://www.helius.dev/docs#real-time-data-streaming) Real-Time Data Streaming ------------------------------------------------------------------------------------- [LaserStream gRPC\ ----------------\ \ Ultra-low latency data streaming built for high-frequency applications. Get blockchain data faster than anyone else.](https://www.helius.dev/docs/laserstream/grpc) [Enhanced WebSockets\ -------------------\ \ Advanced WebSocket APIs with powerful filtering and granular subscription controls.](https://www.helius.dev/docs/enhanced-websockets) [Standard WebSockets\ -------------------\ \ Battle-tested WebSocket connections for account and transaction monitoring at scale.](https://www.helius.dev/docs/rpc/websocket) [Webhooks\ --------\ \ Custom notifications for on-chain events. Automate your workflows and respond to transactions instantly.](https://www.helius.dev/docs/webhooks) [​](https://www.helius.dev/docs#powerful-solana-apis) Powerful Solana APIs ----------------------------------------------------------------------------- [Digital Asset Standard (DAS)\ ----------------------------\ \ The most comprehensive NFT and token API on Solana. Query, search, and manage digital assets with ease.](https://www.helius.dev/docs/api-reference/das) [Priority Fee API\ ----------------\ \ Smart fee estimation that saves you money. Get accurate priority fees based on real-time network conditions.](https://www.helius.dev/docs/priority-fee-api) [Enhanced Transactions\ ---------------------\ \ Rich transaction data with decoded instructions, token transfers, and human-readable formats.](https://www.helius.dev/docs/enhanced-transactions) [ZK Compression\ --------------\ \ Dramatically reduce storage costs with compressed NFTs and tokens. Scale your application without breaking the bank.](https://www.helius.dev/docs/zk-compression/introduction) [​](https://www.helius.dev/docs#flexible-billing-&-enterprise-solutions) Flexible Billing & Enterprise Solutions ------------------------------------------------------------------------------------------------------------------- [Transparent Pricing\ -------------------\ \ Fair pricing that grows with you. From free tier to enterprise, we’ve got the right plan.](https://www.helius.dev/docs/billing/plans) [Auto-scaling\ ------------\ \ Never worry about hitting limits. Automatic scaling ensures your application never goes down.](https://www.helius.dev/docs/billing/autoscaling) [Enterprise Sales\ ----------------\ \ Building something big? Let’s discuss custom solutions and enterprise pricing.](https://form.typeform.com/to/KiacmxpZ) [​](https://www.helius.dev/docs#developer-tools-&-resources) Developer Tools & Resources ------------------------------------------------------------------------------------------- [ORB Explorer\ ------------\ \ The most intuitive Solana blockchain explorer. Visualize transactions, accounts, and programs clearly.](https://orb.helius.dev/) [Developer Blog\ --------------\ \ In-depth tutorials and insights from the Helius team. Learn advanced Solana development techniques.](https://www.helius.dev/blog/?category=development) [​](https://www.helius.dev/docs#get-support-when-you-need-it) Get Support When You Need It --------------------------------------------------------------------------------------------- [Developer Community\ -------------------\ \ Join thousands of developers building on Solana. Share knowledge, get help, and connect with peers.](https://discord.com/invite/6GXdee3gBj) [Direct Support\ --------------\ \ Get help directly from the Helius team. Available to Developer plan subscribers and above.](https://dashboard.helius.dev/support) Was this page helpful? YesNo [PlansComplete guide to Helius plans and pricing. Determine which plan is right for you, or contact sales to discuss enterprise contracts.\ \ Next](https://www.helius.dev/docs/billing/plans) ⌘I On this page * [Start Building with Helius](https://www.helius.dev/docs#start-building-with-helius) * [AI-Powered Documentation](https://www.helius.dev/docs#ai-powered-documentation) * [High-Performance RPC Infrastructure](https://www.helius.dev/docs#high-performance-rpc-infrastructure) * [Real-Time Data Streaming](https://www.helius.dev/docs#real-time-data-streaming) * [Powerful Solana APIs](https://www.helius.dev/docs#powerful-solana-apis) * [Flexible Billing & Enterprise Solutions](https://www.helius.dev/docs#flexible-billing-%26-enterprise-solutions) * [Developer Tools & Resources](https://www.helius.dev/docs#developer-tools-%26-resources) * [Get Support When You Need It](https://www.helius.dev/docs#get-support-when-you-need-it) --- # Authentication - Helius Docs [Skip to main content](https://www.helius.dev/docs/api-reference/authentication#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation API Reference Authentication [​](https://www.helius.dev/docs/api-reference/authentication#authentication) Authentication ============================================================================================== Helius API uses API keys to authenticate requests. Every API request must include your API key to verify your identity and permissions. Your API key is sensitive information that grants access to your Helius account. Never expose it in client-side code, public repositories, or browser-accessible areas. [​](https://www.helius.dev/docs/api-reference/authentication#getting-started) Getting Started ------------------------------------------------------------------------------------------------ ### [​](https://www.helius.dev/docs/api-reference/authentication#1-create-your-api-key) 1\. Create Your API Key 1 Sign up or log in Create an account on the [Helius Dashboard](https://dashboard.helius.dev/) or log in to your existing account. 2 Navigate to API Keys Go to the **API Keys** section in your dashboard sidebar. 3 Generate a new key Click **Create New API Key** and provide a descriptive name for your project (e.g., “Production App”, “Development Environment”). 4 Copy and secure your key Copy your API key immediately and store it securely. You won’t be able to see it again once you navigate away. ### [​](https://www.helius.dev/docs/api-reference/authentication#2-using-your-api-key) 2\. Using Your API Key Include your API key as a query parameter in all requests: cURL JavaScript Python Report incorrect code Copy Ask AI curl "https://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY" \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":1,"method":"getAccountInfo","params":["ACCOUNT_ADDRESS"]}' [​](https://www.helius.dev/docs/api-reference/authentication#security-best-practices) Security Best Practices ---------------------------------------------------------------------------------------------------------------- Environment Variables --------------------- Store your API key in environment variables, not in your source code. Report incorrect code Copy Ask AI export HELIUS_API_KEY="your-api-key-here" IP Restrictions --------------- Set up IP restrictions for your API keys in the dashboard to limit access to specific IP addresses or ranges. Separate Keys ------------- Use different API keys for development, staging, and production environments to isolate usage and improve security. Monitor Usage ------------- Regularly check your API usage in the dashboard to detect unusual patterns or potential security issues. ### [​](https://www.helius.dev/docs/api-reference/authentication#secret-management) Secret Management * Node.js * Python * Docker Report incorrect code Copy Ask AI // Use environment variables const apiKey = process.env.HELIUS_API_KEY; // Or use a secrets manager const { SecretManagerServiceClient } = require('@google-cloud/secret-manager'); const client = new SecretManagerServiceClient(); async function getApiKey() { const [version] = await client.accessSecretVersion({ name: 'projects/PROJECT_ID/secrets/helius-api-key/versions/latest', }); return version.payload.data.toString(); } Report incorrect code Copy Ask AI import os from dotenv import load_dotenv # Load environment variables load_dotenv() api_key = os.getenv('HELIUS_API_KEY') # Or use AWS Secrets Manager import boto3 def get_secret(): client = boto3.client('secretsmanager') response = client.get_secret_value(SecretId='helius-api-key') return response['SecretString'] Report incorrect code Copy Ask AI # In your Dockerfile ENV HELIUS_API_KEY="" # Or use Docker secrets RUN --mount=type=secret,id=helius_key \ cat /run/secrets/helius_key > /app/api_key.txt [​](https://www.helius.dev/docs/api-reference/authentication#rate-limits-&-usage) Rate Limits & Usage -------------------------------------------------------------------------------------------------------- Rate limits vary by subscription plan. Monitor your usage in the [Helius Dashboard](https://dashboard.helius.dev/) to ensure you stay within your allocated limits. ### [​](https://www.helius.dev/docs/api-reference/authentication#understanding-rate-limits) Understanding Rate Limits * **Requests per second**: Based on your subscription tier * **Monthly request quota**: Total requests allowed per billing cycle * **Burst allowance**: Short-term spikes above your base rate limit ### [​](https://www.helius.dev/docs/api-reference/authentication#handling-rate-limits) Handling Rate Limits JavaScript Python Report incorrect code Copy Ask AI async function makeRequest(url, data) { try { const response = await fetch(url, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(data) }); if (response.status === 429) { const retryAfter = response.headers.get('Retry-After'); console.log(`Rate limited. Retry after ${retryAfter} seconds`); await new Promise(resolve => setTimeout(resolve, retryAfter * 1000)); return makeRequest(url, data); // Retry } return response.json(); } catch (error) { console.error('Request failed:', error); throw error; } } [​](https://www.helius.dev/docs/api-reference/authentication#troubleshooting) Troubleshooting ------------------------------------------------------------------------------------------------ Invalid API Key Error **Symptoms**: 401 Unauthorized or “Invalid API Key” errors**Solutions**: * Verify your API key is correct and hasn’t been regenerated * Check that you’re including the API key as a query parameter: `?api-key=YOUR_KEY` * Ensure there are no extra spaces or characters in your API key * Confirm your API key hasn’t expired or been revoked Rate Limit Exceeded **Symptoms**: 429 Too Many Requests errors**Solutions**: * Check your current usage in the dashboard * Implement exponential backoff in your retry logic * Consider upgrading your plan for higher limits * Optimize your requests to reduce unnecessary calls Forbidden Access **Symptoms**: 403 Forbidden errors**Solutions**: * Verify IP restrictions aren’t blocking your requests * Check that your subscription includes access to the endpoint * Ensure your API key has the necessary permissions [​](https://www.helius.dev/docs/api-reference/authentication#next-steps) Next Steps -------------------------------------------------------------------------------------- [Quickstart Guide\ ----------------\ \ Start making your first API calls with Helius](https://www.helius.dev/docs/quickstart) [API Reference\ -------------\ \ Explore all available endpoints and methods](https://www.helius.dev/docs/api-reference) [Rate Limits\ -----------\ \ Understand rate limits and upgrade options](https://www.helius.dev/docs/billing/rate-limits) [Dashboard\ ---------\ \ Monitor your API usage and manage keys](https://dashboard.helius.dev/) [​](https://www.helius.dev/docs/api-reference/authentication#support) Support -------------------------------------------------------------------------------- Need help with authentication or have questions about API keys? [Discord Community\ -----------------\ \ Join our Discord for real-time help and community support](https://discord.com/invite/6GXdee3gBj) [Email Support\ -------------\ \ Contact our support team directly](https://www.helius.dev/cdn-cgi/l/email-protection#e3909693938c9197a38b868f8a9690cd9b9a99) Was this page helpful? YesNo [Previous](https://www.helius.dev/docs/api-reference) [EndpointsHelius provides multiple endpoint types to suit different application needs. This guide outlines all available connection options for interacting with the Helius API.\ \ Next](https://www.helius.dev/docs/api-reference/endpoints) ⌘I On this page * [Authentication](https://www.helius.dev/docs/api-reference/authentication#authentication) * [Getting Started](https://www.helius.dev/docs/api-reference/authentication#getting-started) * [1\. Create Your API Key](https://www.helius.dev/docs/api-reference/authentication#1-create-your-api-key) * [2\. Using Your API Key](https://www.helius.dev/docs/api-reference/authentication#2-using-your-api-key) * [Security Best Practices](https://www.helius.dev/docs/api-reference/authentication#security-best-practices) * [Secret Management](https://www.helius.dev/docs/api-reference/authentication#secret-management) * [Rate Limits & Usage](https://www.helius.dev/docs/api-reference/authentication#rate-limits-%26-usage) * [Understanding Rate Limits](https://www.helius.dev/docs/api-reference/authentication#understanding-rate-limits) * [Handling Rate Limits](https://www.helius.dev/docs/api-reference/authentication#handling-rate-limits) * [Troubleshooting](https://www.helius.dev/docs/api-reference/authentication#troubleshooting) * [Next Steps](https://www.helius.dev/docs/api-reference/authentication#next-steps) * [Support](https://www.helius.dev/docs/api-reference/authentication#support) --- # Solana API 参考:完整列表 - Helius Docs [跳转到主要内容](https://www.helius.dev/docs/zh/api-reference#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![CN](https://d3gk2c5xim1je2.cloudfront.net/flags/CN.svg) 简体中文 搜索... ⌘KAsk AI 搜索... Navigation API 参考 Solana API 参考:完整列表 ### [​](https://www.helius.dev/docs/zh/api-reference#solana-rpc-api) Solana RPC API [HTTP 方法\ -------\ \ 有效地进行交易,立即查询区块链数据,并受益于增强的可靠性和性能。](https://www.helius.dev/docs/zh/api-reference/rpc/http-methods) [WebSocket 方法\ ------------\ \ 通过订阅实时区块链事件创建响应式应用程序。消除轮询并减少用户界面的延迟。](https://www.helius.dev/docs/zh/api-reference/rpc/websocket-methods) ### [​](https://www.helius.dev/docs/zh/api-reference#%E4%BB%A3%E5%B8%81%E4%B8%8E%E4%BA%A4%E6%98%93-api) 代币与交易 API [数字资产标准 (DAS)\ ------------\ \ 通过单个 API 调用访问标准化的代币和 NFT 元数据。自动处理常规和压缩的 NFT。](https://www.helius.dev/docs/zh/api-reference/das) [优先费用 API\ --------\ \ 根据当前网络状况获取推荐的交易费用。防止超时并确保交易的及时确认。](https://www.helius.dev/docs/zh/api-reference/priority-fee/getpriorityfeeestimate) [增强交易\ ----\ \ 以人类可读的格式检索预解析的交易数据。通过结构化信息节省开发时间,准备好显示。](https://www.helius.dev/docs/zh/api-reference/enhanced-transactions) [ZK 压缩\ -----\ \ 将链上数据的账户存储成本显著降低至 98%。](https://www.helius.dev/docs/zh/api-reference/zk-compression) ### [​](https://www.helius.dev/docs/zh/api-reference#%E6%95%B0%E6%8D%AE%E6%B5%81-api) 数据流 API [LaserStream gRPC\ ----------------\ \ 使用轻量级客户端以超低延迟流式传输区块链数据。应用自定义过滤器以仅接收与您的应用程序相关的更新。](https://www.helius.dev/docs/zh/api-reference/laserstream-grpc) [Webhooks\ --------\ \ 配置直接发送到您的应用程序的区块链事件即时通知。消除持续轮询的需要,同时保持数据的时效性。](https://www.helius.dev/docs/zh/api-reference/webhooks) 此页面对您有帮助吗? 是否 [认证了解如何安全高效地认证您的 Helius API 请求\ \ 下一页](https://www.helius.dev/docs/zh/api-reference/authentication) ⌘I 在此页面 * [Solana RPC API](https://www.helius.dev/docs/zh/api-reference#solana-rpc-api) * [代币与交易 API](https://www.helius.dev/docs/zh/api-reference#%E4%BB%A3%E5%B8%81%E4%B8%8E%E4%BA%A4%E6%98%93-api) * [数据流 API](https://www.helius.dev/docs/zh/api-reference#%E6%95%B0%E6%8D%AE%E6%B5%81-api) --- # Digital Asset Standard (DAS) - Helius Docs [Skip to main content](https://www.helius.dev/docs/api-reference/das#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Digital Asset Standard (DAS) Digital Asset Standard (DAS) [getAsset\ --------\ \ Retrieves information about a specific asset by its ID.](https://www.helius.dev/docs/api-reference/das/getasset) [getAssetBatch\ -------------\ \ Retrieves information about multiple assets in a single request.](https://www.helius.dev/docs/api-reference/das/getassetbatch) [getAssetProof\ -------------\ \ Fetches a proof for a specific compressed asset.](https://www.helius.dev/docs/api-reference/das/getassetproof) [getAssetProofBatch\ ------------------\ \ Fetches proofs for multiple compressed assets in a single request.](https://www.helius.dev/docs/api-reference/das/getassetproofbatch) [getAssetsByAuthority\ --------------------\ \ Returns assets by the specified authority address.](https://www.helius.dev/docs/api-reference/das/getassetsbyauthority) [getAssetsByCreator\ ------------------\ \ Retrieves assets created by a specific creator address.](https://www.helius.dev/docs/api-reference/das/getassetsbycreator) [getAssetsByGroup\ ----------------\ \ Returns assets that belong to a specific group.](https://www.helius.dev/docs/api-reference/das/getassetsbygroup) [getAssetsByOwner\ ----------------\ \ Lists all assets owned by a specific address.](https://www.helius.dev/docs/api-reference/das/getassetsbyowner) [getNftEditions\ --------------\ \ Retrieves information about NFT editions.](https://www.helius.dev/docs/api-reference/das/getnfteditions) [getSignaturesForAsset\ ---------------------\ \ Returns transaction signatures involving a specific asset.](https://www.helius.dev/docs/api-reference/das/getsignaturesforasset) [getTokenAccounts\ ----------------\ \ Retrieves token accounts based on specified parameters.](https://www.helius.dev/docs/api-reference/das/gettokenaccounts) [searchAssets\ ------------\ \ Searches for assets based on various criteria.](https://www.helius.dev/docs/api-reference/das/searchassets) Was this page helpful? YesNo [Previous](https://www.helius.dev/docs/api-reference/rpc/websocket/voteunsubscribe) [getAssetRetrieve comprehensive data for any Solana NFT or digital asset by its unique identifier. This endpoint provides complete on-chain and off-chain metadata, ownership details, royalty information, collection data, and compression state for any Solana digital asset. The getAsset method supports all token standards including compressed NFTs (cNFTs), programmable NFTs (pNFTs), and traditional SPL tokens. Use this endpoint to: - Fetch complete metadata for NFT marketplace listings - Retrieve asset ownership information for wallet integrations - Access royalty and creator data for royalty enforcement - Check compression status to identify cost-efficient compressed NFTs - View collection grouping for NFT collection analytics\ \ Next](https://www.helius.dev/docs/api-reference/das/getasset) ⌘I --- # Solana API Reference: Complete List - Helius Docs [Skip to main content](https://www.helius.dev/docs/api-reference#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation API Reference Solana API Reference: Complete List ### [​](https://www.helius.dev/docs/api-reference#solana-rpc-apis) Solana RPC APIs [HTTP Methods\ ------------\ \ Land transactions effectively, query blockchain data instantly, and benefit from enhanced reliability and performance.](https://www.helius.dev/docs/api-reference/rpc/http-methods) [WebSocket Methods\ -----------------\ \ Create responsive applications by subscribing to real-time blockchain events. Eliminate polling and reduce latency in your user interfaces.](https://www.helius.dev/docs/api-reference/rpc/websocket-methods) ### [​](https://www.helius.dev/docs/api-reference#token-&-transaction-apis) Token & Transaction APIs [Digital Asset Standard (DAS)\ ----------------------------\ \ Access standardized token and NFT metadata with a single API call. Handles both regular and compressed NFTs automatically.](https://www.helius.dev/docs/api-reference/das) [Priority Fee API\ ----------------\ \ Get recommended transaction fees based on current network conditions. Prevent timeouts and ensure timely confirmation of your transactions.](https://www.helius.dev/docs/api-reference/priority-fee/getpriorityfeeestimate) [Enhanced Transactions\ ---------------------\ \ Retrieve pre-parsed transaction data in human-readable format. Save development time with structured information ready for display.](https://www.helius.dev/docs/api-reference/enhanced-transactions) [ZK Compression\ --------------\ \ Dramatically reduce account storage costs by up to 98% for on-chain data.](https://www.helius.dev/docs/api-reference/zk-compression) ### [​](https://www.helius.dev/docs/api-reference#data-streaming-apis) Data Streaming APIs [LaserStream gRPC\ ----------------\ \ Stream blockchain data with ultra-low latency using lightweight clients. Apply custom filters to receive only the updates relevant to your application.](https://www.helius.dev/docs/api-reference/laserstream-grpc) [Webhooks\ --------\ \ Configure instant notifications for blockchain events sent directly to your application. Eliminate the need for constant polling while maintaining data currency.](https://www.helius.dev/docs/api-reference/webhooks) Was this page helpful? YesNo [AuthenticationLearn how to authenticate your Helius API requests securely and efficiently\ \ Next](https://www.helius.dev/docs/api-reference/authentication) ⌘I On this page * [Solana RPC APIs](https://www.helius.dev/docs/api-reference#solana-rpc-apis) * [Token & Transaction APIs](https://www.helius.dev/docs/api-reference#token-%26-transaction-apis) * [Data Streaming APIs](https://www.helius.dev/docs/api-reference#data-streaming-apis) --- # Helius Support: Get Help with Solana API Development - Helius Docs [Skip to main content](https://www.helius.dev/docs/support#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Support Helius Support: Get Help with Solana API Development Get the help you need with Helius APIs, billing questions, or technical issues. Our support team and community are here to assist you. [Contact Support\ ---------------\ \ Get help from our team through Discord, chat, or email support.](https://www.helius.dev/docs/support/contact-support) [Status Page\ -----------\ \ Check real-time service availability and performance information.](https://www.helius.dev/docs/support/status-page) Was this page helpful? YesNo [Contact SupportGet expert help with Helius Solana API issues. Discord community, chat support, email assistance for billing, technical questions, and troubleshooting.\ \ Next](https://www.helius.dev/docs/support/contact-support) ⌘I --- # Helius 支持:获取 Solana API 开发帮助 - Helius Docs [跳转到主要内容](https://www.helius.dev/docs/zh/support#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![CN](https://d3gk2c5xim1je2.cloudfront.net/flags/CN.svg) 简体中文 搜索... ⌘KAsk AI 搜索... Navigation 支持 Helius 支持:获取 Solana API 开发帮助 获取您在使用 Helius API、账单问题或技术问题上的帮助。我们的支持团队和社区随时为您提供协助。 [联系支持\ ----\ \ 通过 Discord、聊天或电子邮件支持从我们的团队获取帮助。](https://www.helius.dev/docs/zh/support/contact-support) [状态页面\ ----\ \ 查看实时服务可用性和性能信息。](https://www.helius.dev/docs/zh/support/status-page) 此页面对您有帮助吗? 是否 [联系支持获取 Helius Solana API 问题的专家帮助。Discord 社区、聊天支持、电子邮件协助,解决账单、技术问题和故障排除。\ \ 下一页](https://www.helius.dev/docs/zh/support/contact-support) ⌘I --- # Contact Helius Support: Get Help with Solana API Issues - Helius Docs [Skip to main content](https://www.helius.dev/docs/support/contact-support#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Support Contact Helius Support: Get Help with Solana API Issues [Discord Community\ -----------------\ \ Join our community and get help from other developers.](https://discord.com/invite/6GXdee3gBj) [Chat support\ ------------\ \ Developer plan and higher tier customers can use the dashboard chat to get help from the Helius team.](https://dashboard.helius.dev/support) Email Support ------------- For billing, account, or technical questions, email us at [\[email protected\]](https://www.helius.dev/cdn-cgi/l/email-protection#2655535656495452664e434a4f5355085e5f5c) [​](https://www.helius.dev/docs/support/contact-support#reporting-technical-issues) Reporting Technical Issues ----------------------------------------------------------------------------------------------------------------- When Reporting Technical Issues ------------------------------- Please include the following information: 1. Your Project ID 2. Request details (endpoint, parameters) 3. Error messages or response codes 4. Timestamps of when the issue occurred 5. Steps to reproduce the issue Was this page helpful? YesNo [Previous](https://www.helius.dev/docs/support) [Status PageCheck the Helius system status for real-time service availability and performance information. Monitor Solana API uptime and service health.\ \ Next](https://www.helius.dev/docs/support/status-page) ⌘I On this page * [Reporting Technical Issues](https://www.helius.dev/docs/support/contact-support#reporting-technical-issues) --- # Shred Delivery - Helius Docs [跳转到主要内容](https://www.helius.dev/docs/zh/shred-delivery#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![CN](https://d3gk2c5xim1je2.cloudfront.net/flags/CN.svg) 简体中文 搜索... ⌘KAsk AI 搜索... Navigation Shred Delivery Shred Delivery **需要测试版访问**:Shred Delivery目前处于测试阶段,提供白手套配置。访问权限有限,需要Helius团队的批准。请在下方申请测试版访问。 [申请测试版访问\ -------\ \ 提交您的Shred Delivery测试版访问申请](https://form.typeform.com/to/aE6sUFRj?typeform-source=t.co) [​](https://www.helius.dev/docs/zh/shred-delivery#%E4%BB%80%E4%B9%88%E6%98%AFshred-delivery%EF%BC%9F) 什么是Shred Delivery? --------------------------------------------------------------------------------------------------------------------------- Shred Delivery是Helius的**通过UDP传输原始Solana分片的专门服务**,旨在为您提供尽早访问Solana原始交易数据的机会。通过直接从网络传输未处理的分片,Shred Delivery为高频交易(HFT)、套利策略和其他对延迟敏感的应用提供了显著的竞争优势。 最早访问 ---- 接收生成的原始Solana分片,提供对网络活动的最快洞察。 未处理数据 ----- 访问原始形式的数据,允许根据您的特定交易策略进行定制处理。 验证者优势 ----- Helius是按质押量排名的顶级验证者,比质押量较少的验证者和未质押的RPC节点更快接收分片。 白手套配置 ----- 精心配置的访问确保最佳性能和Helius团队的专属支持。 [​](https://www.helius.dev/docs/zh/shred-delivery#shred-delivery-%E4%B8%8E-laserstream%EF%BC%9A%E5%BF%AB%E9%80%9F%E6%AF%94%E8%BE%83) Shred Delivery 与 LaserStream:快速比较 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- **简而言之**:Shred Delivery 通过直接从网络传递原始、未处理的分片,提供**尽可能早的链上信号**。然而,您必须实现自定义的去分片逻辑来处理这些原始数据。对于具有承诺保证和开发者友好工具的处理数据,请参见 [LaserStream](https://www.helius.dev/docs/zh/laserstream) 。 | 功能 | Shred Delivery | LaserStream | | --- | --- | --- | | **数据类型** | 原始、未处理的分片 | 具有承诺保证的处理数据 | | **延迟** | **尽可能早** - 在任何处理之前 | 超低延迟的处理数据 | | **处理** | **您必须处理原始数据** - 需要自定义去分片逻辑 | 开箱即用 - 数据已处理并可直接使用 | | **最佳用途** | 高频交易、套利(当毫秒至关重要时) | 生产应用、分析、后端服务 | | **设置** | 高端配置(需要测试版访问) | 开发者友好的 SDK,直接替换 | [了解 LaserStream\ --------------\ \ 了解 LaserStream 如何提供具有承诺保证和可靠性特征的处理数据](https://www.helius.dev/docs/zh/laserstream) [​](https://www.helius.dev/docs/zh/shred-delivery#%E4%BB%80%E4%B9%88%E6%98%AF%E5%88%86%E7%89%87%EF%BC%9F) 什么是分片? ------------------------------------------------------------------------------------------------------------------- 在 Solana 中,交易被分解为称为\*\*“分片”\*\*的小数据包,以促进高效和快速的网络传播。每个分片都是交易数据的一个片段,经过优化以适应标准网络包,确保验证者能够快速分发和重建成完整的区块。 这种架构对于维持 Solana 的高吞吐量和低延迟至关重要,而 Shred Delivery 直接接入此原始数据流,在任何处理发生之前。[深入了解:理解 Solana 分片\ -----------------\ \ 阅读我们全面的博客文章,解释 Solana 的分片机制如何工作以及为何对交易重要](https://www.helius.dev/blog/solana-shreds) [​](https://www.helius.dev/docs/zh/shred-delivery#%E8%AF%A6%E7%BB%86%E6%AF%94%E8%BE%83%EF%BC%9Ashred-delivery-%E4%B8%8E-laserstream) 详细比较:Shred Delivery 与 LaserStream ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 虽然 Shred Delivery 和 LaserStream 都是 Helius 的旗舰数据流产品,但它们的用途不同: Shred Delivery -------------- **尽早获取数据** * 原始分片在生成时即被传送 * **尽早获取链上信号** - 无处理延迟 * 需要自定义的分片处理逻辑 * 仅限高级定制服务 * 高频交易者和套利策略 LaserStream ----------- **一站式处理数据** * 承诺级别的保证(已处理、已确认、已完成) * 历史重播功能 * 开发者友好的 SDK * 自动重新连接 * 生产应用和分析 **何时选择:** * 当您需要**尽早访问**原始交易数据并具备处理原始分片的技术能力时,选择 **Shred Delivery**。Shred Delivery 通过直接从网络传送未处理的分片提供绝对最低的延迟——但您必须实现自己的分片处理逻辑。 * 当您需要可靠的、具有承诺保证的处理数据、历史重播功能和开发者友好的工具时,选择 **LaserStream**。LaserStream 提供具有承诺级别保证的处理交易,非常适合需要可靠数据传输而无需自定义处理基础设施的生产应用。 [LaserStream 文档\ --------------\ \ 了解 LaserStream 的可靠性功能处理数据流](https://www.helius.dev/docs/zh/laserstream) [​](https://www.helius.dev/docs/zh/shred-delivery#helius-%E9%AA%8C%E8%AF%81%E8%80%85%E4%BC%98%E5%8A%BF) Helius 验证者优势 ----------------------------------------------------------------------------------------------------------------------- Helius 是按权益排名的顶级验证者,比权益较少的验证者和无权益的 RPC 节点更快接收分片。在 Turbine 中,具有较高权益权重的验证者在数据传播树中优先接收数据,这意味着区块领导者首先将分片发送给像 Helius 这样的高权益验证者。 这种基于权益的传播确保我们在网络数据流中尽早接收到碎片。虽然其他提供商必须等待二次传播或依赖于无权益的基础设施,但我们的验证者位置使我们能够直接、优先访问流经网络的原始交易数据。 [​](https://www.helius.dev/docs/zh/shred-delivery#%E6%8A%80%E6%9C%AF%E8%A6%81%E6%B1%82) 技术要求 ----------------------------------------------------------------------------------------------- 为了有效利用碎片传递,您的系统应具备: 碎片重组能力 ------ 自定义逻辑以从原始碎片重建完整交易 低延迟基础设施 ------- 优化为微秒级处理的高性能系统 交易逻辑集成 ------ 能够在未处理数据上采取行动,并具备适当的风险管理 网络优化 ---- 优化的网络配置以最小化处理延迟 **需要技术专长**:碎片传递通过UDP提供原始、未处理的碎片。您的团队必须具备处理碎片重组和实施适当处理逻辑的技术能力。 此页面对您有帮助吗? 是否 [上一页](https://www.helius.dev/docs/zh/data-streaming/quickstart) [概览下一代 Solana 数据流服务,具备超低延迟、历史回放和多节点可靠性。专为高性能应用而设计。\ \ 下一页](https://www.helius.dev/docs/zh/laserstream) ⌘I 在此页面 * [什么是Shred Delivery?](https://www.helius.dev/docs/zh/shred-delivery#%E4%BB%80%E4%B9%88%E6%98%AFshred-delivery%EF%BC%9F) * [Shred Delivery 与 LaserStream:快速比较](https://www.helius.dev/docs/zh/shred-delivery#shred-delivery-%E4%B8%8E-laserstream%EF%BC%9A%E5%BF%AB%E9%80%9F%E6%AF%94%E8%BE%83) * [什么是分片?](https://www.helius.dev/docs/zh/shred-delivery#%E4%BB%80%E4%B9%88%E6%98%AF%E5%88%86%E7%89%87%EF%BC%9F) * [详细比较:Shred Delivery 与 LaserStream](https://www.helius.dev/docs/zh/shred-delivery#%E8%AF%A6%E7%BB%86%E6%AF%94%E8%BE%83%EF%BC%9Ashred-delivery-%E4%B8%8E-laserstream) * [Helius 验证者优势](https://www.helius.dev/docs/zh/shred-delivery#helius-%E9%AA%8C%E8%AF%81%E8%80%85%E4%BC%98%E5%8A%BF) * [技术要求](https://www.helius.dev/docs/zh/shred-delivery#%E6%8A%80%E6%9C%AF%E8%A6%81%E6%B1%82) --- # Shred Delivery - Helius Docs [Skip to main content](https://www.helius.dev/docs/shred-delivery#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Shred Delivery Shred Delivery **Beta Access Required**: Shred Delivery is currently in beta with white glove provisioning. Access is limited and requires approval from the Helius team. Request beta access below. [Request Beta Access\ -------------------\ \ Submit your application for Shred Delivery beta access](https://form.typeform.com/to/aE6sUFRj?typeform-source=t.co) [​](https://www.helius.dev/docs/shred-delivery#what-is-shred-delivery) What is Shred Delivery? ------------------------------------------------------------------------------------------------- Shred Delivery is Helius’s **specialized delivery of raw Solana shreds via UDP**, designed to provide you with the earliest possible access to Solana’s raw transaction data. By delivering unprocessed shreds directly from the network, Shred Delivery offers a significant competitive edge for high-frequency trading (HFT), arbitrage strategies, and other latency-sensitive applications. Earliest Access --------------- Receive raw Solana shreds as they are produced, providing the fastest insight into network activity. Unprocessed Data ---------------- Access data in its raw form, allowing for customized processing tailored to your specific trading strategies. Validator Advantage ------------------- Helius is the top validator by stake and receives shreds faster than validators with less stake and non-staked RPC nodes. White Glove Provisioning ------------------------ Carefully provisioned access ensures optimal performance and dedicated support from the Helius team. [​](https://www.helius.dev/docs/shred-delivery#shred-delivery-vs-laserstream:-quick-comparison) Shred Delivery vs. LaserStream: Quick Comparison --------------------------------------------------------------------------------------------------------------------------------------------------- **TL;DR**: Shred Delivery provides the **earliest possible on-chain signal** by delivering raw, unprocessed shreds directly from the network. However, you must implement custom deshredding logic to process this raw data. For processed data with commitment guarantees and developer-friendly tooling, see [LaserStream](https://www.helius.dev/docs/laserstream) . | Feature | Shred Delivery | LaserStream | | --- | --- | --- | | **Data Type** | Raw, unprocessed shreds | Processed data with commitment guarantees | | **Latency** | **Earliest possible** - before any processing | Ultra-low latency processed data | | **Processing** | **You must process raw data** - requires custom deshredding logic | Turnkey - data is processed and ready to use | | **Best For** | High-frequency trading, arbitrage (when milliseconds matter) | Production applications, analytics, backend services | | **Setup** | White glove provisioning (beta access required) | Developer-friendly SDKs, drop-in replacement | [Learn About LaserStream\ -----------------------\ \ See how LaserStream delivers processed data with commitment guarantees and reliability features](https://www.helius.dev/docs/laserstream) [​](https://www.helius.dev/docs/shred-delivery#what-are-shreds) What Are Shreds? ----------------------------------------------------------------------------------- In Solana, transactions are broken down into smaller data packets called **“shreds”** to facilitate efficient and rapid propagation across the network. Each shred is a fragment of transaction data, optimized to fit within standard network packets, ensuring swift distribution and reconstruction into complete blocks by validators. This architecture is pivotal for maintaining Solana’s high throughput and low latency, and Shred Delivery taps directly into this raw data stream before any processing occurs.[Deep Dive: Understanding Solana Shreds\ --------------------------------------\ \ Read our comprehensive blog post explaining how Solana’s shred mechanism works and why it matters for trading](https://www.helius.dev/blog/solana-shreds) [​](https://www.helius.dev/docs/shred-delivery#detailed-comparison:-shred-delivery-vs-laserstream) Detailed Comparison: Shred Delivery vs. LaserStream --------------------------------------------------------------------------------------------------------------------------------------------------------- While both Shred Delivery and LaserStream are flagship data streaming offerings from Helius, they serve distinct purposes: Shred Delivery -------------- **Earliest Possible Data** * Raw shreds delivered as they’re produced * **Earliest possible on-chain signal** - no processing delay * Requires custom deshredding logic * White glove provisioning only * High-frequency traders & arbitrage strategies LaserStream ----------- **Turnkey Processed Data** * Commitment-level guarantees (processed, confirmed, finalized) * Historical replay capabilities * Developer-friendly SDKs * Automatic reconnection * Production applications & analytics **When to choose each:** * **Choose Shred Delivery** when you need the **earliest possible access** to raw transaction data and have the technical capability to process raw shreds. Shred Delivery provides the absolute lowest latency by delivering unprocessed shreds directly from the network—but you must implement your own deshredding and processing logic. * **Choose LaserStream** when you need reliable, processed data with commitment guarantees, historical replay capabilities, and developer-friendly tooling. LaserStream delivers processed transactions with commitment-level guarantees, making it ideal for production applications that need reliable data delivery without custom processing infrastructure. [LaserStream Documentation\ -------------------------\ \ Learn about LaserStream’s processed data streaming with reliability features](https://www.helius.dev/docs/laserstream) [​](https://www.helius.dev/docs/shred-delivery#the-helius-validator-advantage) The Helius Validator Advantage ---------------------------------------------------------------------------------------------------------------- Helius is a top validator by stake and receives shreds faster than validators with less stake and non-staked RPC nodes. In Turbine, validators with higher stake weights receive priority in the data propagation tree, meaning block leaders send shreds to high-stake validators like Helius first. This stake-weighted propagation ensures we receive shreds at the earliest possible moment in the network’s data flow. While other providers must wait for secondary propagation or rely on unstaked infrastructure, our validator position grants direct, prioritized access to the raw transaction data as it flows through the network. [​](https://www.helius.dev/docs/shred-delivery#technical-requirements) Technical Requirements ------------------------------------------------------------------------------------------------ To effectively utilize Shred Delivery, your system should have: Deshredding Capability ---------------------- Custom logic to reconstruct complete transactions from raw shreds Low-Latency Infrastructure -------------------------- High-performance systems optimized for microsecond-level processing Trading Logic Integration ------------------------- Ability to act on unprocessed data with appropriate risk management Network Optimization -------------------- Optimized network configuration for minimal processing delays **Technical Expertise Required**: Shred Delivery provides raw, unprocessed shreds via UDP. Your team must have the technical capability to handle deshredding and implement appropriate processing logic. Was this page helpful? YesNo [Previous](https://www.helius.dev/docs/data-streaming/quickstart) [OverviewNext-generation Solana data streaming with ultra-low latency, historical replay, and multi-node reliability. Purpose-built for high-performance applications.\ \ Next](https://www.helius.dev/docs/laserstream) ⌘I On this page * [What is Shred Delivery?](https://www.helius.dev/docs/shred-delivery#what-is-shred-delivery) * [Shred Delivery vs. LaserStream: Quick Comparison](https://www.helius.dev/docs/shred-delivery#shred-delivery-vs-laserstream%3A-quick-comparison) * [What Are Shreds?](https://www.helius.dev/docs/shred-delivery#what-are-shreds) * [Detailed Comparison: Shred Delivery vs. LaserStream](https://www.helius.dev/docs/shred-delivery#detailed-comparison%3A-shred-delivery-vs-laserstream) * [The Helius Validator Advantage](https://www.helius.dev/docs/shred-delivery#the-helius-validator-advantage) * [Technical Requirements](https://www.helius.dev/docs/shred-delivery#technical-requirements) --- # 使用 Helius SDK 进行编程化 Solana 质押 - Helius Docs [跳转到主要内容](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![CN](https://d3gk2c5xim1je2.cloudfront.net/flags/CN.svg) 简体中文 搜索... ⌘KAsk AI 搜索... Navigation 质押 使用 Helius SDK 进行编程化 Solana 质押 **零佣金验证器**:使用 Helius 验证器进行质押,享受 0% 佣金率,保留 100% 的质押奖励。 [​](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#%E5%BF%AB%E9%80%9F%E6%A6%82%E8%A7%88) 快速概览 ---------------------------------------------------------------------------------------------------------------------------------- Helius SDK 提供简单的方法以编程方式处理完整的 SOL 质押生命周期。非常适合构建质押界面、DeFi 协议或自动化质押策略。 创建与委托 ----- 在一次交易中设置新的质押账户并委托给验证器 监控与管理 ----- 跟踪奖励、检查状态并管理现有质押账户 提现与赎回 ----- 在冷却期后停用质押并提取 SOL [​](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#%E5%AE%89%E8%A3%85%E4%B8%8E%E8%AE%BE%E7%BD%AE) 安装与设置 -------------------------------------------------------------------------------------------------------------------------------------------- npm yarn pnpm 报告错误代码 复制 询问AI npm install helius-sdk @solana/web3.js bs58 Setup 报告错误代码 复制 询问AI import { Helius } from 'helius-sdk'; import { Keypair, Transaction } from '@solana/web3.js'; import bs58 from 'bs58'; // Initialize Helius client const helius = new Helius('YOUR_API_KEY'); // Your wallet keypair (load from your secure storage) const payer = Keypair.fromSecretKey(/* your secret key */); [​](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#%E8%B4%A8%E6%8A%BC%E5%9F%BA%E7%A1%80) 质押基础 ---------------------------------------------------------------------------------------------------------------------------------- Solana 质押如何运作 **质押账户**:一种特殊账户,用于锁定 SOL 并将其委托给验证器。每个质押账户仅指向一个验证器。**奖励**:验证器通过保障网络安全获得奖励。这些奖励分配给所有委托给该验证器的质押账户。**生命周期**:创建 → 委托 → 获得奖励 → 停用 → 提现 为何选择 Helius 验证器 * **0% 佣金**:保留 100% 的质押奖励 * **高性能**:可靠的区块生产和最小的停机时间 * **易于集成**:针对 Helius SDK 优化,内置辅助工具 时间与周期 * **激活**:质押在下一个周期开始时生效(约 2 天) * **停用**:在当前周期结束时生效 * **冷却**:停用的质押可在周期结束后立即提取 [​](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#%E5%85%A5%E9%97%A8%E6%8C%87%E5%8D%97) 入门指南 ---------------------------------------------------------------------------------------------------------------------------------- * 快速开始 * 完整示例 仅需三行代码即可质押 SOL: 报告错误代码 复制 询问AI // 1. Create the staking transaction const { serializedTx, stakeAccountPubkey } = await helius.rpc.createStakeTransaction(payer.publicKey, 1.5); // 2. Sign and send const tx = Transaction.from(bs58.decode(serializedTx)); tx.partialSign(payer); const signature = await helius.connection.sendRawTransaction(tx.serialize()); console.log(`Staked! Transaction: ${signature}`); console.log(`Stake Account: ${stakeAccountPubkey}`); SDK 会自动处理租金计算和质押账户创建。`1.5` 参数是您想要质押的 SOL 数量。 包含错误处理的完整质押实现: 报告错误代码 复制 询问AI async function stakeSOL(amountInSol: number) { try { // Create staking transaction const { serializedTx, stakeAccountPubkey } = await helius.rpc.createStakeTransaction(payer.publicKey, amountInSol); // Deserialize and sign transaction const transaction = Transaction.from(bs58.decode(serializedTx)); transaction.partialSign(payer); // Send transaction const signature = await helius.connection.sendRawTransaction( transaction.serialize(), { skipPreflight: false, preflightCommitment: 'confirmed' } ); // Wait for confirmation await helius.connection.confirmTransaction(signature, 'confirmed'); return { signature, stakeAccount: stakeAccountPubkey, amount: amountInSol }; } catch (error) { console.error('Staking failed:', error); throw error; } } // Usage const result = await stakeSOL(2.5); console.log(`Successfully staked ${result.amount} SOL`); [​](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#sdk-%E6%96%B9%E6%B3%95%E5%8F%82%E8%80%83) SDK 方法参考 ------------------------------------------------------------------------------------------------------------------------------------------ createStakeTransaction(owner, amount) 创建一个可以签名和发送的完整质押交易。**参数:** * `owner` (PublicKey): 将拥有质押账户的钱包 * `amount` (number): 要质押的 SOL 数量 **返回:** 报告错误代码 复制 询问AI { serializedTx: string, // Base58 encoded transaction stakeAccountPubkey: string // New stake account address } **示例:** 报告错误代码 复制 询问AI const result = await helius.rpc.createStakeTransaction( payer.publicKey, 1.5 // 1.5 SOL ); getStakeInstructions(owner, amount) 返回质押指令(对于自定义交易构建很有用)。**返回:** 报告错误代码 复制 询问AI { instructions: TransactionInstruction[], stakeAccount: Keypair } **示例:** 报告错误代码 复制 询问AI const { instructions } = await helius.rpc.getStakeInstructions( payer.publicKey, 1.5 ); // Use with Smart Transactions const signature = await helius.rpc.sendSmartTransaction( instructions, [payer] ); getHeliusStakeAccounts(wallet) 检索委托给 Helius 验证器的钱包的所有质押账户。**示例:** 报告错误代码 复制 询问AI const accounts = await helius.rpc.getHeliusStakeAccounts( payer.publicKey.toBase58() ); accounts.forEach(account => { const delegation = account.account.data.parsed.info.stake.delegation; console.log(`Account: ${account.pubkey}`); console.log(`Stake: ${delegation.stake / LAMPORTS_PER_SOL} SOL`); }); createUnstakeTransaction(owner, stakeAccount) 创建一个交易以停用(开始取消质押)质押账户。**示例:** 报告错误代码 复制 询问AI const tx = await helius.rpc.createUnstakeTransaction( payer.publicKey, stakeAccountPubkey ); const transaction = Transaction.from(bs58.decode(tx)); transaction.partialSign(payer); await helius.connection.sendRawTransaction(transaction.serialize()); getWithdrawableAmount(stakeAccount, includeRent?) 检查可以从已停用的质押账户中提取多少 SOL。**参数:** * `includeRent` (boolean): 是否包括免租金额 **示例:** 报告错误代码 复制 询问AI const available = await helius.rpc.getWithdrawableAmount(stakeAccountPubkey); const total = await helius.rpc.getWithdrawableAmount(stakeAccountPubkey, true); console.log(`Available now: ${available / LAMPORTS_PER_SOL} SOL`); console.log(`Total balance: ${total / LAMPORTS_PER_SOL} SOL`); createWithdrawTransaction(owner, stakeAccount, destination, amount) 创建一个交易以从已停用的质押账户中提取 SOL。**示例:** 报告错误代码 复制 询问AI const tx = await helius.rpc.createWithdrawTransaction( payer.publicKey, stakeAccountPubkey, destinationPubkey, withdrawAmount // in lamports ); [​](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#%E5%AE%8C%E6%95%B4%E8%B4%A8%E6%8A%BC%E5%B7%A5%E4%BD%9C%E6%B5%81%E7%A8%8B) 完整质押工作流程 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1 创建和委托 报告错误代码 复制 询问AI // Stake 2 SOL to Helius validator const { serializedTx, stakeAccountPubkey } = await helius.rpc.createStakeTransaction(payer.publicKey, 2.0); const tx = Transaction.from(bs58.decode(serializedTx)); tx.partialSign(payer); const signature = await helius.connection.sendRawTransaction(tx.serialize()); console.log(`Stake created: ${stakeAccountPubkey}`); 2 监控您的质押 报告错误代码 复制 询问AI // Get all your Helius stake accounts const accounts = await helius.rpc.getHeliusStakeAccounts( payer.publicKey.toBase58() ); console.log(`You have ${accounts.length} active stake accounts`); accounts.forEach((account, index) => { const info = account.account.data.parsed.info; const delegation = info.stake.delegation; console.log(`Stake ${index + 1}:`); console.log(` Amount: ${delegation.stake / LAMPORTS_PER_SOL} SOL`); console.log(` Activated: Epoch ${delegation.activationEpoch}`); console.log(` Status: ${info.meta.lockup.unixTimestamp === 0 ? 'Active' : 'Locked'}`); }); 3 停用(开始解除质押) 报告错误代码 复制 询问AI // Begin the unstaking process const unstakeTx = await helius.rpc.createUnstakeTransaction( payer.publicKey, stakeAccountPubkey ); const tx = Transaction.from(bs58.decode(unstakeTx)); tx.partialSign(payer); await helius.connection.sendRawTransaction(tx.serialize()); console.log('Deactivation started. Will be withdrawable next epoch.'); 4 提取 SOL 报告错误代码 复制 询问AI // Check withdrawable amount const withdrawable = await helius.rpc.getWithdrawableAmount( stakeAccountPubkey, true // include rent ); if (withdrawable > 0) { // Create withdrawal instruction const withdrawInstruction = helius.rpc.getWithdrawInstruction( payer.publicKey, stakeAccountPubkey, payer.publicKey, // withdraw to same wallet withdrawable ); // Send using Smart Transactions for better reliability const signature = await helius.rpc.sendSmartTransaction( [withdrawInstruction], [payer] ); console.log(`Withdrawn ${withdrawable / LAMPORTS_PER_SOL} SOL`); } [​](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#%E9%AB%98%E7%BA%A7%E6%A8%A1%E5%BC%8F) 高级模式 ---------------------------------------------------------------------------------------------------------------------------------- * 浏览器集成 * 批量操作 * 智能交易 对于使用钱包适配器的浏览器应用程序: 报告错误代码 复制 询问AI // Get instructions instead of full transaction const { instructions, stakeAccount } = await helius.rpc.getStakeInstructions( wallet.publicKey, stakeAmount ); // Let the wallet handle transaction building and signing const transaction = new Transaction().add(...instructions); // Sign with wallet adapter const signature = await wallet.sendTransaction(transaction, connection); console.log(`Stake account: ${stakeAccount.publicKey.toBase58()}`); 高效地为多个钱包进行质押: 报告错误代码 复制 询问AI async function batchStake(wallets: Keypair[], amount: number) { const promises = wallets.map(async (wallet) => { try { const { serializedTx, stakeAccountPubkey } = await helius.rpc.createStakeTransaction(wallet.publicKey, amount); const tx = Transaction.from(bs58.decode(serializedTx)); tx.partialSign(wallet); return helius.connection.sendRawTransaction(tx.serialize()); } catch (error) { console.error(`Failed to stake for ${wallet.publicKey.toBase58()}:`, error); return null; } }); const results = await Promise.allSettled(promises); const successful = results.filter(r => r.status === 'fulfilled').length; console.log(`Successfully staked for ${successful}/${wallets.length} wallets`); } 使用智能交易以提高可靠性和优化: 报告错误代码 复制 询问AI // Get individual instructions const { instructions } = await helius.rpc.getStakeInstructions( payer.publicKey, 2.5 ); // Send with Smart Transaction features: // - Automatic priority fee optimization // - Retry logic with backoff // - Better error handling const signature = await helius.rpc.sendSmartTransaction( instructions, [payer], { skipPreflight: false, maxRetries: 3 } ); console.log(`Smart transaction sent: ${signature}`); [​](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#%E9%87%8D%E8%A6%81%E6%8F%90%E7%A4%BA) 重要提示 ---------------------------------------------------------------------------------------------------------------------------------- **Epoch 时间**:Solana 的 epoch 大约持续 2 天。质押在下一个 epoch 开始时激活,停用在当前 epoch 结束时生效。 **租金考虑**:质押账户需要租金豁免储备(约 0.00228 SOL)。提取全部余额将关闭账户。 **硬件钱包**:用户将看到两个签名提示 - 一个用于质押账户(预签名),另一个用于费用支付者。请相应设计您的用户体验。 [​](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#%E5%BF%AB%E9%80%9F%E5%8F%82%E8%80%83) 快速参考 ---------------------------------------------------------------------------------------------------------------------------------- 需要快速提醒吗?以下是基本方法: 报告错误代码 复制 询问AI // Stake SOL await helius.rpc.createStakeTransaction(owner, amountInSol); // Check your stakes await helius.rpc.getHeliusStakeAccounts(ownerAddress); // Start unstaking await helius.rpc.createUnstakeTransaction(owner, stakeAccount); // Check withdrawable amount await helius.rpc.getWithdrawableAmount(stakeAccount, includeRent); // Withdraw SOL helius.rpc.getWithdrawInstruction(owner, stakeAccount, destination, amount); [​](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#%E4%B8%8B%E4%B8%80%E6%AD%A5) 下一步 ------------------------------------------------------------------------------------------------------------------------ [Helius SDK 文档\ -------------\ \ 完整的 SDK 参考,包含所有可用方法](https://github.com/helius-labs/helius-sdk) [智能交易\ ----\ \ 使用优先费用和重试逻辑优化您的交易](https://www.helius.dev/docs/zh/sending-transactions/optimizing-transactions) [加入 Discord\ ----------\ \ 从我们的开发者社区获取帮助](https://discord.com/invite/6GXdee3gBj) [验证者仪表板\ ------\ \ 监控 Helius 验证者的性能和奖励](https://www.validators.app/validators/EKgWgpJY5BtX7TeJfhKbqcJT7gzLKFFtj7cjX1XY6CxA) 此页面对您有帮助吗? 是否 [上一页](https://www.helius.dev/docs/zh/airship/getting-started) [额外积分设置 Helius 自动扩展和预付积分,以确保不中断的 Solana API 服务。自动积分购买、成本管理和无缝扩展。\ \ 下一页](https://www.helius.dev/docs/zh/billing/autoscaling) ⌘I 在此页面 * [快速概览](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#%E5%BF%AB%E9%80%9F%E6%A6%82%E8%A7%88) * [安装与设置](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#%E5%AE%89%E8%A3%85%E4%B8%8E%E8%AE%BE%E7%BD%AE) * [质押基础](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#%E8%B4%A8%E6%8A%BC%E5%9F%BA%E7%A1%80) * [入门指南](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#%E5%85%A5%E9%97%A8%E6%8C%87%E5%8D%97) * [SDK 方法参考](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#sdk-%E6%96%B9%E6%B3%95%E5%8F%82%E8%80%83) * [完整质押工作流程](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#%E5%AE%8C%E6%95%B4%E8%B4%A8%E6%8A%BC%E5%B7%A5%E4%BD%9C%E6%B5%81%E7%A8%8B) * [高级模式](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#%E9%AB%98%E7%BA%A7%E6%A8%A1%E5%BC%8F) * [重要提示](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#%E9%87%8D%E8%A6%81%E6%8F%90%E7%A4%BA) * [快速参考](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#%E5%BF%AB%E9%80%9F%E5%8F%82%E8%80%83) * [下一步](https://www.helius.dev/docs/zh/staking/how-to-stake-with-helius-programmatically#%E4%B8%8B%E4%B8%80%E6%AD%A5) --- # Helius Status Page: Real-Time Service Monitoring - Helius Docs [Skip to main content](https://www.helius.dev/docs/support/status-page#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Support Helius Status Page: Real-Time Service Monitoring [System Status\ -------------\ \ Check our Status Page for real-time information about Helius service availability and performance.](https://helius.statuspage.io/) Was this page helpful? YesNo [Previous\ \ Contact SupportGet expert help with Helius Solana API issues. Discord community, chat support, email assistance for billing, technical questions, and troubleshooting.](https://www.helius.dev/docs/support/contact-support) ⌘I --- # 联系 Helius 支持:获取 Solana API 问题帮助 - Helius Docs [跳转到主要内容](https://www.helius.dev/docs/zh/support/contact-support#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![CN](https://d3gk2c5xim1je2.cloudfront.net/flags/CN.svg) 简体中文 搜索... ⌘KAsk AI 搜索... Navigation 支持 联系 Helius 支持:获取 Solana API 问题帮助 [Discord 社区\ ----------\ \ 加入我们的社区,获取其他开发者的帮助。](https://discord.com/invite/6GXdee3gBj) [聊天支持\ ----\ \ 开发者计划及更高级别的客户可以使用仪表板聊天功能, 从 Helius 团队获取帮助。](https://dashboard.helius.dev/support) 电子邮件支持 ------ 如有账单、账户或技术问题,请发送电子邮件至 [\[email protected\]](https://www.helius.dev/cdn-cgi/l/email-protection#55262025253a2721153d30393c20267b2d2c2f) [​](https://www.helius.dev/docs/zh/support/contact-support#%E6%8A%A5%E5%91%8A%E6%8A%80%E6%9C%AF%E9%97%AE%E9%A2%98) 报告技术问题 ---------------------------------------------------------------------------------------------------------------------------- 报告技术问题时 ------- 请包括以下信息: 1. 您的项目 ID 2. 请求详情(端点,参数) 3. 错误信息或响应代码 4. 问题发生的时间戳 5. 重现问题的步骤 此页面对您有帮助吗? 是否 [上一页](https://www.helius.dev/docs/zh/support) [状态页面查看 Helius 系统状态,获取实时服务可用性和性能信息。监控 Solana API 的正常运行时间和服务健康状况。\ \ 下一页](https://www.helius.dev/docs/zh/support/status-page) ⌘I 在此页面 * [报告技术问题](https://www.helius.dev/docs/zh/support/contact-support#%E6%8A%A5%E5%91%8A%E6%8A%80%E6%9C%AF%E9%97%AE%E9%A2%98) --- # Helius 状态页面:实时服务监控 - Helius Docs [跳转到主要内容](https://www.helius.dev/docs/zh/support/status-page#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![CN](https://d3gk2c5xim1je2.cloudfront.net/flags/CN.svg) 简体中文 搜索... ⌘KAsk AI 搜索... Navigation 支持 Helius 状态页面:实时服务监控 [系统状态\ ----\ \ 查看我们的状态页面,获取有关 Helius 服务可用性和性能的实时信息。](https://helius.statuspage.io/) 此页面对您有帮助吗? 是否 [上一页\ \ 联系支持获取 Helius Solana API 问题的专家帮助。Discord 社区、聊天支持、电子邮件协助,解决账单、技术问题和故障排除。](https://www.helius.dev/docs/zh/support/contact-support) ⌘I --- # Solana Webhooks: Real-Time Blockchain Event Notifications - Helius Docs [Skip to main content](https://www.helius.dev/docs/webhooks#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Webhooks Solana Webhooks: Real-Time Blockchain Event Notifications Helius Webhooks enable seamless monitoring of Solana on-chain events, such as sales, listings, swaps, and more. We offer a user-friendly interface, programmatic API, and SDK access for easily creating and managing webhooks. For frequently asked questions about webhooks, please refer to our [Webhooks FAQ](https://www.helius.dev/docs/faqs/webhooks) . Helius may retry webhook deliveries if your server does not respond successfully, and you might receive duplicate events. For details on retries and handling duplicates, see the [Webhooks FAQ](https://www.helius.dev/docs/faqs/webhooks#retries) . [​](https://www.helius.dev/docs/webhooks#pricing) Pricing ------------------------------------------------------------ Webhook events are charged at **1 credit** when Helius processes and sends the event to your endpoint. You are charged regardless of whether your endpoint successfully processes the webhook or not. Editing, adding, or deleting a webhook via the API will cost 100 credits/request. [​](https://www.helius.dev/docs/webhooks#types-of-webhooks) Types of Webhooks -------------------------------------------------------------------------------- We currently offer several types of webhooks tailored to different needs: * **Enhanced Transaction Webhooks**: Provide human-readable, parsed data for specific transaction types (e.g., NFT sales) related to the addresses you monitor. This is ideal if you want filtered, actionable insights. * **Raw Transaction Webhooks**: This option delivers raw transaction data for all transactions involving the addresses you monitor. It does not allow filtering by transaction type. * **Discord Webhooks**: Stream updates for specific transaction types directly to a designated Discord channel as formatted messages. To use this option, you must submit your Discord Webhook URL. Raw Transaction Webhooks offer lower latency since they do not involve parsing event types. ### [​](https://www.helius.dev/docs/webhooks#event-payload-example) Event Payload Example Enhanced Report incorrect code Copy Ask AI [\ {\ "accountData": [\ {\ "account": "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX",\ "nativeBalanceChange": -72938049280,\ "tokenBalanceChanges": []\ },\ {\ "account": "NTYeYJ1wr4bpM5xo6zx5En44SvJFAd35zTxxNoERYqd",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "AAaTGaA3uVqikfVEwoSG7EwkCb4bBDsMEyueiVUS5CaU",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "autMW8SgBkVYeBgqYiTuJZnkvDZMVU2MHJh9Jh7CSQ2",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "D8TxfGwdu9MiNMoJmUoC9wQfNfNT7Lnm6DzifQHRTy6B",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "5DxD5ViWjvRZEkxQEaJHZw2sBsso6xoXx3wGFNKgXUzE",\ "nativeBalanceChange": 71860273440,\ "tokenBalanceChanges": []\ },\ {\ "account": "25DTUAd1roBFoUQaxJQByL6Qy2cKQCBp4bK9sgfy9UiM",\ "nativeBalanceChange": -2039280,\ "tokenBalanceChanges": [\ {\ "mint": "FdsNQE5EeCe57tbEYCRV1JwW5dzNCof7MUTaGWhmzYqu",\ "rawTokenAmount": {\ "decimals": 0,\ "tokenAmount": "-1"\ },\ "tokenAccount": "25DTUAd1roBFoUQaxJQByL6Qy2cKQCBp4bK9sgfy9UiM",\ "userAccount": "1BWutmTvYPwDtmw9abTkS4Ssr8no61spGAvW1X6NDix"\ }\ ]\ },\ {\ "account": "DTYuh7gAGGZg2okM7hdFfU1yMY9LUemCiPyD5Z5GCs6Z",\ "nativeBalanceChange": 2039280,\ "tokenBalanceChanges": [\ {\ "mint": "FdsNQE5EeCe57tbEYCRV1JwW5dzNCof7MUTaGWhmzYqu",\ "rawTokenAmount": {\ "decimals": 0,\ "tokenAmount": "1"\ },\ "tokenAccount": "DTYuh7gAGGZg2okM7hdFfU1yMY9LUemCiPyD5Z5GCs6Z",\ "userAccount": "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX"\ }\ ]\ },\ {\ "account": "rFqFJ9g7TGBD8Ed7TPDnvGKZ5pWLPDyxLcvcH2eRCtt",\ "nativeBalanceChange": 1080000000,\ "tokenBalanceChanges": []\ },\ {\ "account": "CgXS5xC3qAGSg9txD9bS7BUgugZwshivGXpCJcGmdwrd",\ "nativeBalanceChange": -2234160,\ "tokenBalanceChanges": []\ },\ {\ "account": "M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "E8cU1WiRWjanGxmn96ewBgk9vPTcL6AEZ1t6F6fkgUWe",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "11111111111111111111111111111111",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "FdsNQE5EeCe57tbEYCRV1JwW5dzNCof7MUTaGWhmzYqu",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "AYZsWahcrSnkwqbA1ji7wEzgAnGjLNJhVUMDPfACECZf",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "SysvarRent111111111111111111111111111111111",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "1BWutmTvYPwDtmw9abTkS4Ssr8no61spGAvW1X6NDix",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ }\ ],\ "description": "5DxD5ViWjvRZEkxQEaJHZw2sBsso6xoXx3wGFNKgXUzE sold Fox #7637 to CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX for 72 SOL on MAGIC_EDEN.",\ "events": {\ "nft": {\ "amount": 72000000000,\ "buyer": "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX",\ "description": "5DxD5ViWjvRZEkxQEaJHZw2sBsso6xoXx3wGFNKgXUzE sold Fox #7637 to CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX for 72 SOL on MAGIC_EDEN.",\ "fee": 10000,\ "feePayer": "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX",\ "nfts": [\ {\ "mint": "FdsNQE5EeCe57tbEYCRV1JwW5dzNCof7MUTaGWhmzYqu",\ "tokenStandard": "NonFungible"\ }\ ],\ "saleType": "INSTANT_SALE",\ "seller": "5DxD5ViWjvRZEkxQEaJHZw2sBsso6xoXx3wGFNKgXUzE",\ "signature": "5nNtjezQMYBHvgSQmoRmJPiXGsPAWmJPoGSa64xanqrauogiVzFyGQhKeFataHGXq51jR2hjbzNTkPUpP787HAmL",\ "slot": 171942732,\ "source": "MAGIC_EDEN",\ "staker": "",\ "timestamp": 1673445241,\ "type": "NFT_SALE"\ }\ },\ "fee": 10000,\ "feePayer": "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX",\ "nativeTransfers": [\ {\ "amount": 72936000000,\ "fromUserAccount": "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX",\ "toUserAccount": "AAaTGaA3uVqikfVEwoSG7EwkCb4bBDsMEyueiVUS5CaU"\ },\ {\ "amount": 2011440,\ "fromUserAccount": "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX",\ "toUserAccount": "D8TxfGwdu9MiNMoJmUoC9wQfNfNT7Lnm6DzifQHRTy6B"\ },\ {\ "amount": 71856000000,\ "fromUserAccount": "AAaTGaA3uVqikfVEwoSG7EwkCb4bBDsMEyueiVUS5CaU",\ "toUserAccount": "5DxD5ViWjvRZEkxQEaJHZw2sBsso6xoXx3wGFNKgXUzE"\ },\ {\ "amount": 1080000000,\ "fromUserAccount": "AAaTGaA3uVqikfVEwoSG7EwkCb4bBDsMEyueiVUS5CaU",\ "toUserAccount": "rFqFJ9g7TGBD8Ed7TPDnvGKZ5pWLPDyxLcvcH2eRCtt"\ },\ {\ "amount": 2039280,\ "fromUserAccount": "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX",\ "toUserAccount": "DTYuh7gAGGZg2okM7hdFfU1yMY9LUemCiPyD5Z5GCs6Z"\ }\ ],\ "signature": "5nNtjezQMYBHvgSQmoRmJPiXGsPAWmJPoGSa64xanqrauogiVzFyGQhKeFataHGXq51jR2hjbzNTkPUpP787HAmL",\ "slot": 171942732,\ "source": "MAGIC_EDEN",\ "timestamp": 1673445241,\ "tokenTransfers": [\ {\ "fromTokenAccount": "25DTUAd1roBFoUQaxJQByL6Qy2cKQCBp4bK9sgfy9UiM",\ "fromUserAccount": "1BWutmTvYPwDtmw9abTkS4Ssr8no61spGAvW1X6NDix",\ "mint": "FdsNQE5EeCe57tbEYCRV1JwW5dzNCof7MUTaGWhmzYqu",\ "toTokenAccount": "DTYuh7gAGGZg2okM7hdFfU1yMY9LUemCiPyD5Z5GCs6Z",\ "toUserAccount": "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX",\ "tokenAmount": 1,\ "tokenStandard": "NonFungible"\ }\ ],\ "type": "NFT_SALE"\ }\ ] Raw Report incorrect code Copy Ask AI [\ {\ "blockTime": 1673445241,\ "indexWithinBlock": 2557,\ "meta": {\ "err": null,\ "fee": 10000,\ "innerInstructions": [\ {\ "index": 0,\ "instructions": [\ {\ "accounts": [\ 0,\ 2\ ],\ "data": "3Bxs3zs3x6pg4XWo",\ "programIdIndex": 12\ }\ ]\ },\ {\ "index": 1,\ "instructions": [\ {\ "accounts": [\ 0,\ 4\ ],\ "data": "11112nba6qLH4BKL4MW8GP9ayKApZeYn3LQKJdPdeSXbRW1n6UPeJ8y77ps6sAVwAjdxzh",\ "programIdIndex": 12\ }\ ]\ },\ {\ "index": 2,\ "instructions": [\ {\ "accounts": [\ 2,\ 5\ ],\ "data": "3Bxs3zx147oWJQej",\ "programIdIndex": 12\ },\ {\ "accounts": [\ 2,\ 8\ ],\ "data": "3Bxs3zwT1TGLhiT9",\ "programIdIndex": 12\ },\ {\ "accounts": [\ 0,\ 7,\ 0,\ 13,\ 12,\ 15\ ],\ "data": "1",\ "programIdIndex": 17\ },\ {\ "accounts": [\ 13\ ],\ "data": "84eT",\ "programIdIndex": 15\ },\ {\ "accounts": [\ 0,\ 7\ ],\ "data": "11119os1e9qSs2u7TsThXqkBSRVFxhmYaFKFZ1waB2X7armDmvK3p5GmLdUxYdg3h7QSrL",\ "programIdIndex": 12\ },\ {\ "accounts": [\ 7\ ],\ "data": "P",\ "programIdIndex": 15\ },\ {\ "accounts": [\ 7,\ 13\ ],\ "data": "6YTZgAHgNKVRJ2mAHQUYC1DgXF6dPCgbSWA5P4gZoSfGV",\ "programIdIndex": 15\ },\ {\ "accounts": [\ 6,\ 7,\ 18\ ],\ "data": "3DdGGhkhJbjm",\ "programIdIndex": 15\ },\ {\ "accounts": [\ 6,\ 5,\ 18\ ],\ "data": "A",\ "programIdIndex": 15\ }\ ]\ }\ ],\ "loadedAddresses": {\ "readonly": [],\ "writable": []\ },\ "logMessages": [\ "Program M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K invoke [1]",\ "Program log: Instruction: Deposit",\ "Program 11111111111111111111111111111111 invoke [2]",\ "Program 11111111111111111111111111111111 success",\ "Program M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K consumed 10148 of 600000 compute units",\ "Program M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K success",\ "Program M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K invoke [1]",\ "Program log: Instruction: Buy",\ "Program 11111111111111111111111111111111 invoke [2]",\ "Program 11111111111111111111111111111111 success",\ "Program log: {\"price\":72000000000,\"buyer_expiry\":0}",\ "Program M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K consumed 30501 of 589852 compute units",\ "Program M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K success",\ "Program M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K invoke [1]",\ "Program log: Instruction: ExecuteSaleV2",\ "Program 11111111111111111111111111111111 invoke [2]",\ "Program 11111111111111111111111111111111 success",\ "Program 11111111111111111111111111111111 invoke [2]",\ "Program 11111111111111111111111111111111 success",\ "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL invoke [2]",\ "Program log: Create",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3]",\ "Program log: Instruction: GetAccountDataSize",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1622 of 497733 compute units",\ "Program return: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA pQAAAAAAAAA=",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",\ "Program 11111111111111111111111111111111 invoke [3]",\ "Program 11111111111111111111111111111111 success",\ "Program log: Initialize the associated token account",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3]",\ "Program log: Instruction: InitializeImmutableOwner",\ "Program log: Please upgrade to SPL Token 2022 for immutable owner support",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1405 of 491243 compute units",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3]",\ "Program log: Instruction: InitializeAccount3",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4241 of 487361 compute units",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",\ "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL consumed 21793 of 504630 compute units",\ "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL success",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]",\ "Program log: Instruction: Transfer",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4645 of 475696 compute units",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]",\ "Program log: Instruction: CloseAccount",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 3033 of 456654 compute units",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",\ "Program log: {\"price\":72000000000,\"seller_expiry\":-1,\"buyer_expiry\":0}",\ "Program M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K consumed 109266 of 559351 compute units",\ "Program M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K success"\ ],\ "postBalances": [\ 371980779080,\ 0,\ 0,\ 100129388687,\ 0,\ 81872924494,\ 0,\ 2039280,\ 993583055919,\ 0,\ 1141440,\ 3654000,\ 1,\ 1461600,\ 5616720,\ 934087680,\ 1009200,\ 731913600,\ 457953014766\ ],\ "postTokenBalances": [\ {\ "accountIndex": 7,\ "mint": "FdsNQE5EeCe57tbEYCRV1JwW5dzNCof7MUTaGWhmzYqu",\ "owner": "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX",\ "programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",\ "uiTokenAmount": {\ "amount": "1",\ "decimals": 0,\ "uiAmount": 1,\ "uiAmountString": "1"\ }\ }\ ],\ "preBalances": [\ 444918828360,\ 0,\ 0,\ 100129388687,\ 0,\ 10012651054,\ 2039280,\ 0,\ 992503055919,\ 2234160,\ 1141440,\ 3654000,\ 1,\ 1461600,\ 5616720,\ 934087680,\ 1009200,\ 731913600,\ 457953014766\ ],\ "preTokenBalances": [\ {\ "accountIndex": 6,\ "mint": "FdsNQE5EeCe57tbEYCRV1JwW5dzNCof7MUTaGWhmzYqu",\ "owner": "1BWutmTvYPwDtmw9abTkS4Ssr8no61spGAvW1X6NDix",\ "programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",\ "uiTokenAmount": {\ "amount": "1",\ "decimals": 0,\ "uiAmount": 1,\ "uiAmountString": "1"\ }\ }\ ],\ "rewards": []\ },\ "slot": 171942732,\ "transaction": {\ "message": {\ "accountKeys": [\ "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX",\ "NTYeYJ1wr4bpM5xo6zx5En44SvJFAd35zTxxNoERYqd",\ "AAaTGaA3uVqikfVEwoSG7EwkCb4bBDsMEyueiVUS5CaU",\ "autMW8SgBkVYeBgqYiTuJZnkvDZMVU2MHJh9Jh7CSQ2",\ "D8TxfGwdu9MiNMoJmUoC9wQfNfNT7Lnm6DzifQHRTy6B",\ "5DxD5ViWjvRZEkxQEaJHZw2sBsso6xoXx3wGFNKgXUzE",\ "25DTUAd1roBFoUQaxJQByL6Qy2cKQCBp4bK9sgfy9UiM",\ "DTYuh7gAGGZg2okM7hdFfU1yMY9LUemCiPyD5Z5GCs6Z",\ "rFqFJ9g7TGBD8Ed7TPDnvGKZ5pWLPDyxLcvcH2eRCtt",\ "CgXS5xC3qAGSg9txD9bS7BUgugZwshivGXpCJcGmdwrd",\ "M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K",\ "E8cU1WiRWjanGxmn96ewBgk9vPTcL6AEZ1t6F6fkgUWe",\ "11111111111111111111111111111111",\ "FdsNQE5EeCe57tbEYCRV1JwW5dzNCof7MUTaGWhmzYqu",\ "AYZsWahcrSnkwqbA1ji7wEzgAnGjLNJhVUMDPfACECZf",\ "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",\ "SysvarRent111111111111111111111111111111111",\ "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",\ "1BWutmTvYPwDtmw9abTkS4Ssr8no61spGAvW1X6NDix"\ ],\ "addressTableLookups": null,\ "header": {\ "numReadonlySignedAccounts": 1,\ "numReadonlyUnsignedAccounts": 9,\ "numRequiredSignatures": 2\ },\ "instructions": [\ {\ "accounts": [\ 0,\ 1,\ 2,\ 3,\ 11,\ 12\ ],\ "data": "3GyWrkssW12wSfxjTynBnbif",\ "programIdIndex": 10\ },\ {\ "accounts": [\ 0,\ 1,\ 13,\ 14,\ 2,\ 3,\ 11,\ 4,\ 3,\ 15,\ 12,\ 16\ ],\ "data": "3Jmjmsq2jyrch5iz612vBLZCRB498owPe7qezQVetRZhiMu",\ "programIdIndex": 10\ },\ {\ "accounts": [\ 0,\ 5,\ 1,\ 6,\ 13,\ 14,\ 2,\ 7,\ 3,\ 11,\ 8,\ 4,\ 3,\ 9,\ 3,\ 15,\ 12,\ 17,\ 18,\ 16\ ],\ "data": "B2rqPwAgvj3t35y6HpdumfhdhsZMLNFLmXMC9Uz2HX4nNAwirTk3o98vTazFB1y",\ "programIdIndex": 10\ }\ ],\ "recentBlockhash": "3NRncb7FJuDruQjMDxnHvJBQkvkHa7KSUBqBsxG21roZ"\ },\ "signatures": [\ "5nNtjezQMYBHvgSQmoRmJPiXGsPAWmJPoGSa64xanqrauogiVzFyGQhKeFataHGXq51jR2hjbzNTkPUpP787HAmL",\ "4dWBkbLHGvU2jw9Sjj6YETtKfaVKAAN1M8aWzXRNC4aHBckUzM73n3FddNbWTtfUvkU2vFRQ7bKHMwKZQ5dGy1iH"\ ]\ }\ }\ ] [​](https://www.helius.dev/docs/webhooks#quick-start) Quick Start -------------------------------------------------------------------- We provide three convenient methods to create, edit, and manage webhooks on Helius. ### [​](https://www.helius.dev/docs/webhooks#via-helius-dashboard) Via Helius Dashboard The Helius UI is perfect if you prefer a no-code solution with additional features like viewing logs and sending test webhook events. You can access it directly through our [Dashboard](https://dashboard.helius.dev/webhooks) . You can add up to 25 addresses via the Dashboard. To monitor more than 25 addresses, you can use our API or SDK. Via Dashboard You can create a webhook directly from the dashboard: 1. Navigate to the [Helius Dashboard](https://dashboard.helius.dev/webhooks) 2. Click “Add Webhook” 3. Complete the required fields 4. Click “Create Webhook” ### [​](https://www.helius.dev/docs/webhooks#via-helius-api) Via Helius API If you’re not working with Typescript or Javascript, you’ll need to interact with our webhooks through REST API:[API Reference\ -------------\ \ Learn about the Webhooks API endpoints and how to use them.](https://www.helius.dev/docs/api-reference/webhooks) ### [​](https://www.helius.dev/docs/webhooks#via-helius-sdk) Via Helius SDK The easiest—and most enjoyable—way to interact with Helius webhooks is through our official SDKs. We currently offer SDKs for **TypeScript** and **Rust**. [TypeScript SDK\ --------------\ \ The TypeScript SDK provides powerful abstractions for webhooks.](https://github.com/helius-labs/helius-sdk#webhooks) [Rust SDK\ --------\ \ Our Rust SDK offers native Rust support for Helius webhooks.](https://github.com/helius-labs/helius-rust-sdk) The SDKs provide powerful abstractions that enhance the functionality of webhooks. [​](https://www.helius.dev/docs/webhooks#example-uses) Example Uses ---------------------------------------------------------------------- * **Bots** * When an NFT is listed on marketplace X, trigger an “NFT buy” action. * When a margin position is unhealthy, trigger a “liquidation” action. * **Monitoring & Alerts** * When a program emits a certain log, it triggers PagerDuty integration. * When a token account balance changes by more than X%, use Dialect to communicate a warning action. * **Event-driven Indexing** * When any transaction occurs for a given program, send it directly to your database or backend. * **Notifications & Activity Tracking** * When transferring from wallet X to wallet Y — send a Slack notification or email. * **Analytics & Logs** * When event X happens, send it to an ETL pipeline or persist it directly on Helius to view trends over time. * **Workflow Automation** * When event X happens, trigger any set of actions. Was this page helpful? YesNo [Previous](https://www.helius.dev/docs/rpc/websocket/stream-pump-amm-data) [Transaction TypesComplete reference guide to Solana webhook transaction types. Learn about NFT sales, DeFi swaps, staking, and 100+ supported blockchain transaction types.\ \ Next](https://www.helius.dev/docs/webhooks/transaction-types) ⌘I On this page * [Pricing](https://www.helius.dev/docs/webhooks#pricing) * [Types of Webhooks](https://www.helius.dev/docs/webhooks#types-of-webhooks) * [Event Payload Example](https://www.helius.dev/docs/webhooks#event-payload-example) * [Quick Start](https://www.helius.dev/docs/webhooks#quick-start) * [Via Helius Dashboard](https://www.helius.dev/docs/webhooks#via-helius-dashboard) * [Via Helius API](https://www.helius.dev/docs/webhooks#via-helius-api) * [Via Helius SDK](https://www.helius.dev/docs/webhooks#via-helius-sdk) * [Example Uses](https://www.helius.dev/docs/webhooks#example-uses) --- # Solana Webhooks:实时区块链事件通知 - Helius Docs [跳转到主要内容](https://www.helius.dev/docs/zh/webhooks#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![CN](https://d3gk2c5xim1je2.cloudfront.net/flags/CN.svg) 简体中文 搜索... ⌘KAsk AI 搜索... Navigation Webhook Solana Webhooks:实时区块链事件通知 Helius Webhooks 使监控 Solana 链上事件(如销售、上架、交换等)变得无缝便捷。我们提供用户友好的界面、可编程的 API 和 SDK 访问,轻松创建和管理 Webhooks。 有关 Webhooks 的常见问题,请参阅我们的 [Webhooks 常见问题解答](https://www.helius.dev/docs/zh/faqs/webhooks) 。 如果您的服务器未成功响应,Helius 可能会重试 webhook 传递,您可能会收到重复的事件。有关重试和处理重复的详细信息,请参阅 [Webhooks FAQ](https://www.helius.dev/docs/zh/faqs/webhooks#retries) 。 [​](https://www.helius.dev/docs/zh/webhooks#%E5%AE%9A%E4%BB%B7) 定价 --------------------------------------------------------------------- 当 Helius 处理并将事件发送到您的端点时,webhook 事件将收取 **1 个信用**。无论您的端点是否成功处理 webhook,您都将被收费。通过 API 编辑、添加或删除 webhook 将花费 100 个信用/请求。 [​](https://www.helius.dev/docs/zh/webhooks#webhooks-%E7%B1%BB%E5%9E%8B) Webhooks 类型 --------------------------------------------------------------------------------------- 我们目前提供几种针对不同需求定制的 webhooks 类型: * **增强型交易 Webhooks**:提供特定交易类型(例如,NFT 销售)的可读解析数据,适用于您监控的地址。如果您需要过滤的、可操作的见解,这是理想的选择。 * **原始交易 Webhooks**:此选项提供涉及您监控地址的所有交易的原始交易数据。它不允许按交易类型进行过滤。 * **Discord Webhooks**:将特定交易类型的更新直接流式传输到指定的 Discord 频道,作为格式化消息。要使用此选项,您必须提交您的 Discord Webhook URL。 原始交易 Webhooks 提供较低的延迟,因为它们不涉及事件类型的解析。 ### [​](https://www.helius.dev/docs/zh/webhooks#%E4%BA%8B%E4%BB%B6%E8%B4%9F%E8%BD%BD%E7%A4%BA%E4%BE%8B) 事件负载示例 增强型 报告错误代码 复制 询问AI [\ {\ "accountData": [\ {\ "account": "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX",\ "nativeBalanceChange": -72938049280,\ "tokenBalanceChanges": []\ },\ {\ "account": "NTYeYJ1wr4bpM5xo6zx5En44SvJFAd35zTxxNoERYqd",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "AAaTGaA3uVqikfVEwoSG7EwkCb4bBDsMEyueiVUS5CaU",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "autMW8SgBkVYeBgqYiTuJZnkvDZMVU2MHJh9Jh7CSQ2",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "D8TxfGwdu9MiNMoJmUoC9wQfNfNT7Lnm6DzifQHRTy6B",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "5DxD5ViWjvRZEkxQEaJHZw2sBsso6xoXx3wGFNKgXUzE",\ "nativeBalanceChange": 71860273440,\ "tokenBalanceChanges": []\ },\ {\ "account": "25DTUAd1roBFoUQaxJQByL6Qy2cKQCBp4bK9sgfy9UiM",\ "nativeBalanceChange": -2039280,\ "tokenBalanceChanges": [\ {\ "mint": "FdsNQE5EeCe57tbEYCRV1JwW5dzNCof7MUTaGWhmzYqu",\ "rawTokenAmount": {\ "decimals": 0,\ "tokenAmount": "-1"\ },\ "tokenAccount": "25DTUAd1roBFoUQaxJQByL6Qy2cKQCBp4bK9sgfy9UiM",\ "userAccount": "1BWutmTvYPwDtmw9abTkS4Ssr8no61spGAvW1X6NDix"\ }\ ]\ },\ {\ "account": "DTYuh7gAGGZg2okM7hdFfU1yMY9LUemCiPyD5Z5GCs6Z",\ "nativeBalanceChange": 2039280,\ "tokenBalanceChanges": [\ {\ "mint": "FdsNQE5EeCe57tbEYCRV1JwW5dzNCof7MUTaGWhmzYqu",\ "rawTokenAmount": {\ "decimals": 0,\ "tokenAmount": "1"\ },\ "tokenAccount": "DTYuh7gAGGZg2okM7hdFfU1yMY9LUemCiPyD5Z5GCs6Z",\ "userAccount": "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX"\ }\ ]\ },\ {\ "account": "rFqFJ9g7TGBD8Ed7TPDnvGKZ5pWLPDyxLcvcH2eRCtt",\ "nativeBalanceChange": 1080000000,\ "tokenBalanceChanges": []\ },\ {\ "account": "CgXS5xC3qAGSg9txD9bS7BUgugZwshivGXpCJcGmdwrd",\ "nativeBalanceChange": -2234160,\ "tokenBalanceChanges": []\ },\ {\ "account": "M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "E8cU1WiRWjanGxmn96ewBgk9vPTcL6AEZ1t6F6fkgUWe",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "11111111111111111111111111111111",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "FdsNQE5EeCe57tbEYCRV1JwW5dzNCof7MUTaGWhmzYqu",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "AYZsWahcrSnkwqbA1ji7wEzgAnGjLNJhVUMDPfACECZf",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "SysvarRent111111111111111111111111111111111",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ },\ {\ "account": "1BWutmTvYPwDtmw9abTkS4Ssr8no61spGAvW1X6NDix",\ "nativeBalanceChange": 0,\ "tokenBalanceChanges": []\ }\ ],\ "description": "5DxD5ViWjvRZEkxQEaJHZw2sBsso6xoXx3wGFNKgXUzE sold Fox #7637 to CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX for 72 SOL on MAGIC_EDEN.",\ "events": {\ "nft": {\ "amount": 72000000000,\ "buyer": "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX",\ "description": "5DxD5ViWjvRZEkxQEaJHZw2sBsso6xoXx3wGFNKgXUzE sold Fox #7637 to CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX for 72 SOL on MAGIC_EDEN.",\ "fee": 10000,\ "feePayer": "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX",\ "nfts": [\ {\ "mint": "FdsNQE5EeCe57tbEYCRV1JwW5dzNCof7MUTaGWhmzYqu",\ "tokenStandard": "NonFungible"\ }\ ],\ "saleType": "INSTANT_SALE",\ "seller": "5DxD5ViWjvRZEkxQEaJHZw2sBsso6xoXx3wGFNKgXUzE",\ "signature": "5nNtjezQMYBHvgSQmoRmJPiXGsPAWmJPoGSa64xanqrauogiVzFyGQhKeFataHGXq51jR2hjbzNTkPUpP787HAmL",\ "slot": 171942732,\ "source": "MAGIC_EDEN",\ "staker": "",\ "timestamp": 1673445241,\ "type": "NFT_SALE"\ }\ },\ "fee": 10000,\ "feePayer": "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX",\ "nativeTransfers": [\ {\ "amount": 72936000000,\ "fromUserAccount": "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX",\ "toUserAccount": "AAaTGaA3uVqikfVEwoSG7EwkCb4bBDsMEyueiVUS5CaU"\ },\ {\ "amount": 2011440,\ "fromUserAccount": "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX",\ "toUserAccount": "D8TxfGwdu9MiNMoJmUoC9wQfNfNT7Lnm6DzifQHRTy6B"\ },\ {\ "amount": 71856000000,\ "fromUserAccount": "AAaTGaA3uVqikfVEwoSG7EwkCb4bBDsMEyueiVUS5CaU",\ "toUserAccount": "5DxD5ViWjvRZEkxQEaJHZw2sBsso6xoXx3wGFNKgXUzE"\ },\ {\ "amount": 1080000000,\ "fromUserAccount": "AAaTGaA3uVqikfVEwoSG7EwkCb4bBDsMEyueiVUS5CaU",\ "toUserAccount": "rFqFJ9g7TGBD8Ed7TPDnvGKZ5pWLPDyxLcvcH2eRCtt"\ },\ {\ "amount": 2039280,\ "fromUserAccount": "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX",\ "toUserAccount": "DTYuh7gAGGZg2okM7hdFfU1yMY9LUemCiPyD5Z5GCs6Z"\ }\ ],\ "signature": "5nNtjezQMYBHvgSQmoRmJPiXGsPAWmJPoGSa64xanqrauogiVzFyGQhKeFataHGXq51jR2hjbzNTkPUpP787HAmL",\ "slot": 171942732,\ "source": "MAGIC_EDEN",\ "timestamp": 1673445241,\ "tokenTransfers": [\ {\ "fromTokenAccount": "25DTUAd1roBFoUQaxJQByL6Qy2cKQCBp4bK9sgfy9UiM",\ "fromUserAccount": "1BWutmTvYPwDtmw9abTkS4Ssr8no61spGAvW1X6NDix",\ "mint": "FdsNQE5EeCe57tbEYCRV1JwW5dzNCof7MUTaGWhmzYqu",\ "toTokenAccount": "DTYuh7gAGGZg2okM7hdFfU1yMY9LUemCiPyD5Z5GCs6Z",\ "toUserAccount": "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX",\ "tokenAmount": 1,\ "tokenStandard": "NonFungible"\ }\ ],\ "type": "NFT_SALE"\ }\ ] 原始 报告错误代码 复制 询问AI [\ {\ "blockTime": 1673445241,\ "indexWithinBlock": 2557,\ "meta": {\ "err": null,\ "fee": 10000,\ "innerInstructions": [\ {\ "index": 0,\ "instructions": [\ {\ "accounts": [\ 0,\ 2\ ],\ "data": "3Bxs3zs3x6pg4XWo",\ "programIdIndex": 12\ }\ ]\ },\ {\ "index": 1,\ "instructions": [\ {\ "accounts": [\ 0,\ 4\ ],\ "data": "11112nba6qLH4BKL4MW8GP9ayKApZeYn3LQKJdPdeSXbRW1n6UPeJ8y77ps6sAVwAjdxzh",\ "programIdIndex": 12\ }\ ]\ },\ {\ "index": 2,\ "instructions": [\ {\ "accounts": [\ 2,\ 5\ ],\ "data": "3Bxs3zx147oWJQej",\ "programIdIndex": 12\ },\ {\ "accounts": [\ 2,\ 8\ ],\ "data": "3Bxs3zwT1TGLhiT9",\ "programIdIndex": 12\ },\ {\ "accounts": [\ 0,\ 7,\ 0,\ 13,\ 12,\ 15\ ],\ "data": "1",\ "programIdIndex": 17\ },\ {\ "accounts": [\ 13\ ],\ "data": "84eT",\ "programIdIndex": 15\ },\ {\ "accounts": [\ 0,\ 7\ ],\ "data": "11119os1e9qSs2u7TsThXqkBSRVFxhmYaFKFZ1waB2X7armDmvK3p5GmLdUxYdg3h7QSrL",\ "programIdIndex": 12\ },\ {\ "accounts": [\ 7\ ],\ "data": "P",\ "programIdIndex": 15\ },\ {\ "accounts": [\ 7,\ 13\ ],\ "data": "6YTZgAHgNKVRJ2mAHQUYC1DgXF6dPCgbSWA5P4gZoSfGV",\ "programIdIndex": 15\ },\ {\ "accounts": [\ 6,\ 7,\ 18\ ],\ "data": "3DdGGhkhJbjm",\ "programIdIndex": 15\ },\ {\ "accounts": [\ 6,\ 5,\ 18\ ],\ "data": "A",\ "programIdIndex": 15\ }\ ]\ }\ ],\ "loadedAddresses": {\ "readonly": [],\ "writable": []\ },\ "logMessages": [\ "Program M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K invoke [1]",\ "Program log: Instruction: Deposit",\ "Program 11111111111111111111111111111111 invoke [2]",\ "Program 11111111111111111111111111111111 success",\ "Program M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K consumed 10148 of 600000 compute units",\ "Program M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K success",\ "Program M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K invoke [1]",\ "Program log: Instruction: Buy",\ "Program 11111111111111111111111111111111 invoke [2]",\ "Program 11111111111111111111111111111111 success",\ "Program log: {\"price\":72000000000,\"buyer_expiry\":0}",\ "Program M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K consumed 30501 of 589852 compute units",\ "Program M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K success",\ "Program M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K invoke [1]",\ "Program log: Instruction: ExecuteSaleV2",\ "Program 11111111111111111111111111111111 invoke [2]",\ "Program 11111111111111111111111111111111 success",\ "Program 11111111111111111111111111111111 invoke [2]",\ "Program 11111111111111111111111111111111 success",\ "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL invoke [2]",\ "Program log: Create",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3]",\ "Program log: Instruction: GetAccountDataSize",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1622 of 497733 compute units",\ "Program return: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA pQAAAAAAAAA=",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",\ "Program 11111111111111111111111111111111 invoke [3]",\ "Program 11111111111111111111111111111111 success",\ "Program log: Initialize the associated token account",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3]",\ "Program log: Instruction: InitializeImmutableOwner",\ "Program log: Please upgrade to SPL Token 2022 for immutable owner support",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 1405 of 491243 compute units",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3]",\ "Program log: Instruction: InitializeAccount3",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4241 of 487361 compute units",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",\ "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL consumed 21793 of 504630 compute units",\ "Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL success",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]",\ "Program log: Instruction: Transfer",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4645 of 475696 compute units",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]",\ "Program log: Instruction: CloseAccount",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 3033 of 456654 compute units",\ "Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success",\ "Program log: {\"price\":72000000000,\"seller_expiry\":-1,\"buyer_expiry\":0}",\ "Program M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K consumed 109266 of 559351 compute units",\ "Program M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K success"\ ],\ "postBalances": [\ 371980779080,\ 0,\ 0,\ 100129388687,\ 0,\ 81872924494,\ 0,\ 2039280,\ 993583055919,\ 0,\ 1141440,\ 3654000,\ 1,\ 1461600,\ 5616720,\ 934087680,\ 1009200,\ 731913600,\ 457953014766\ ],\ "postTokenBalances": [\ {\ "accountIndex": 7,\ "mint": "FdsNQE5EeCe57tbEYCRV1JwW5dzNCof7MUTaGWhmzYqu",\ "owner": "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX",\ "programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",\ "uiTokenAmount": {\ "amount": "1",\ "decimals": 0,\ "uiAmount": 1,\ "uiAmountString": "1"\ }\ }\ ],\ "preBalances": [\ 444918828360,\ 0,\ 0,\ 100129388687,\ 0,\ 10012651054,\ 2039280,\ 0,\ 992503055919,\ 2234160,\ 1141440,\ 3654000,\ 1,\ 1461600,\ 5616720,\ 934087680,\ 1009200,\ 731913600,\ 457953014766\ ],\ "preTokenBalances": [\ {\ "accountIndex": 6,\ "mint": "FdsNQE5EeCe57tbEYCRV1JwW5dzNCof7MUTaGWhmzYqu",\ "owner": "1BWutmTvYPwDtmw9abTkS4Ssr8no61spGAvW1X6NDix",\ "programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",\ "uiTokenAmount": {\ "amount": "1",\ "decimals": 0,\ "uiAmount": 1,\ "uiAmountString": "1"\ }\ }\ ],\ "rewards": []\ },\ "slot": 171942732,\ "transaction": {\ "message": {\ "accountKeys": [\ "CKs1E69a2e9TmH4mKKLrXFF8kD3ZnwKjoEuXa6sz9WqX",\ "NTYeYJ1wr4bpM5xo6zx5En44SvJFAd35zTxxNoERYqd",\ "AAaTGaA3uVqikfVEwoSG7EwkCb4bBDsMEyueiVUS5CaU",\ "autMW8SgBkVYeBgqYiTuJZnkvDZMVU2MHJh9Jh7CSQ2",\ "D8TxfGwdu9MiNMoJmUoC9wQfNfNT7Lnm6DzifQHRTy6B",\ "5DxD5ViWjvRZEkxQEaJHZw2sBsso6xoXx3wGFNKgXUzE",\ "25DTUAd1roBFoUQaxJQByL6Qy2cKQCBp4bK9sgfy9UiM",\ "DTYuh7gAGGZg2okM7hdFfU1yMY9LUemCiPyD5Z5GCs6Z",\ "rFqFJ9g7TGBD8Ed7TPDnvGKZ5pWLPDyxLcvcH2eRCtt",\ "CgXS5xC3qAGSg9txD9bS7BUgugZwshivGXpCJcGmdwrd",\ "M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K",\ "E8cU1WiRWjanGxmn96ewBgk9vPTcL6AEZ1t6F6fkgUWe",\ "11111111111111111111111111111111",\ "FdsNQE5EeCe57tbEYCRV1JwW5dzNCof7MUTaGWhmzYqu",\ "AYZsWahcrSnkwqbA1ji7wEzgAnGjLNJhVUMDPfACECZf",\ "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",\ "SysvarRent111111111111111111111111111111111",\ "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",\ "1BWutmTvYPwDtmw9abTkS4Ssr8no61spGAvW1X6NDix"\ ],\ "addressTableLookups": null,\ "header": {\ "numReadonlySignedAccounts": 1,\ "numReadonlyUnsignedAccounts": 9,\ "numRequiredSignatures": 2\ },\ "instructions": [\ {\ "accounts": [\ 0,\ 1,\ 2,\ 3,\ 11,\ 12\ ],\ "data": "3GyWrkssW12wSfxjTynBnbif",\ "programIdIndex": 10\ },\ {\ "accounts": [\ 0,\ 1,\ 13,\ 14,\ 2,\ 3,\ 11,\ 4,\ 3,\ 15,\ 12,\ 16\ ],\ "data": "3Jmjmsq2jyrch5iz612vBLZCRB498owPe7qezQVetRZhiMu",\ "programIdIndex": 10\ },\ {\ "accounts": [\ 0,\ 5,\ 1,\ 6,\ 13,\ 14,\ 2,\ 7,\ 3,\ 11,\ 8,\ 4,\ 3,\ 9,\ 3,\ 15,\ 12,\ 17,\ 18,\ 16\ ],\ "data": "B2rqPwAgvj3t35y6HpdumfhdhsZMLNFLmXMC9Uz2HX4nNAwirTk3o98vTazFB1y",\ "programIdIndex": 10\ }\ ],\ "recentBlockhash": "3NRncb7FJuDruQjMDxnHvJBQkvkHa7KSUBqBsxG21roZ"\ },\ "signatures": [\ "5nNtjezQMYBHvgSQmoRmJPiXGsPAWmJPoGSa64xanqrauogiVzFyGQhKeFataHGXq51jR2hjbzNTkPUpP787HAmL",\ "4dWBkbLHGvU2jw9Sjj6YETtKfaVKAAN1M8aWzXRNC4aHBckUzM73n3FddNbWTtfUvkU2vFRQ7bKHMwKZQ5dGy1iH"\ ]\ }\ }\ ] [​](https://www.helius.dev/docs/zh/webhooks#%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B) 快速开始 ----------------------------------------------------------------------------------------- 我们提供三种便捷的方法来创建、编辑和管理 Helius 上的 webhooks。 ### [​](https://www.helius.dev/docs/zh/webhooks#%E9%80%9A%E8%BF%87-helius-%E4%BB%AA%E8%A1%A8%E6%9D%BF) 通过 Helius 仪表板 如果您更喜欢无代码解决方案,并希望使用查看日志和发送测试 webhook 事件等附加功能,Helius UI 是完美的选择。您可以直接通过我们的 [仪表板](https://dashboard.helius.dev/webhooks) 访问它。您可以通过仪表板添加最多 25 个地址。要监控超过 25 个地址,您可以使用我们的 API 或 SDK。 通过仪表板 您可以直接从仪表板创建一个 webhook: 1. 导航到 [Helius 仪表板](https://dashboard.helius.dev/webhooks) 2. 点击 “添加 Webhook” 3. 完成必填字段 4. 点击 “创建 Webhook” ### [​](https://www.helius.dev/docs/zh/webhooks#%E9%80%9A%E8%BF%87-helius-api) 通过 Helius API 如果您不使用 Typescript 或 Javascript,您需要通过 REST API 与我们的 webhooks 交互:[API 参考\ ------\ \ 了解 Webhooks API 端点及其使用方法。](https://www.helius.dev/docs/zh/api-reference/webhooks) ### [​](https://www.helius.dev/docs/zh/webhooks#%E9%80%9A%E8%BF%87-helius-sdk) 通过 Helius SDK 与 Helius webhooks 交互的最简单且最愉快的方式是通过我们的官方 SDK。我们目前提供 **TypeScript** 和 **Rust** 的 SDK。 [TypeScript SDK\ --------------\ \ TypeScript SDK 为 webhooks 提供强大的抽象。](https://github.com/helius-labs/helius-sdk#webhooks) [Rust SDK\ --------\ \ 我们的 Rust SDK 为 Helius webhooks 提供原生 Rust 支持。](https://github.com/helius-labs/helius-rust-sdk) SDK 提供强大的抽象,增强了 webhooks 的功能。 [​](https://www.helius.dev/docs/zh/webhooks#%E7%A4%BA%E4%BE%8B%E7%94%A8%E9%80%94) 示例用途 ----------------------------------------------------------------------------------------- * **机器人** * 当 NFT 在市场 X 上架时,触发 “NFT 购买” 动作。 * 当保证金头寸不健康时,触发 “清算” 动作。 * **监控与警报** * 当程序发出某个日志时,触发 PagerDuty 集成。 * 当代币账户余额变化超过 X% 时,使用 Dialect 传达警告动作。 * **事件驱动的索引** * 当给定程序发生任何交易时,直接将其发送到您的数据库或后端。 * **通知与活动跟踪** * 从钱包 X 转移到钱包 Y 时,发送 Slack 通知或电子邮件。 * **分析与日志** * 当事件 X 发生时,将其发送到 ETL 管道或直接在 Helius 上持久化以查看长期趋势。 * **工作流自动化** * 当事件 X 发生时,触发任何一组动作。 此页面对您有帮助吗? 是否 [上一页](https://www.helius.dev/docs/zh/rpc/websocket/stream-pump-amm-data) [交易类型Solana webhook 交易类型的完整参考指南。了解 NFT 销售、DeFi 交换、质押以及 100 多种支持的区块链交易类型。\ \ 下一页](https://www.helius.dev/docs/zh/webhooks/transaction-types) ⌘I 在此页面 * [定价](https://www.helius.dev/docs/zh/webhooks#%E5%AE%9A%E4%BB%B7) * [Webhooks 类型](https://www.helius.dev/docs/zh/webhooks#webhooks-%E7%B1%BB%E5%9E%8B) * [事件负载示例](https://www.helius.dev/docs/zh/webhooks#%E4%BA%8B%E4%BB%B6%E8%B4%9F%E8%BD%BD%E7%A4%BA%E4%BE%8B) * [快速开始](https://www.helius.dev/docs/zh/webhooks#%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B) * [通过 Helius 仪表板](https://www.helius.dev/docs/zh/webhooks#%E9%80%9A%E8%BF%87-helius-%E4%BB%AA%E8%A1%A8%E6%9D%BF) * [通过 Helius API](https://www.helius.dev/docs/zh/webhooks#%E9%80%9A%E8%BF%87-helius-api) * [通过 Helius SDK](https://www.helius.dev/docs/zh/webhooks#%E9%80%9A%E8%BF%87-helius-sdk) * [示例用途](https://www.helius.dev/docs/zh/webhooks#%E7%A4%BA%E4%BE%8B%E7%94%A8%E9%80%94) --- # Solana Webhook Transaction Types - Helius Docs [Skip to main content](https://www.helius.dev/docs/webhooks/transaction-types#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Webhooks Solana Webhook Transaction Types [​](https://www.helius.dev/docs/webhooks/transaction-types#understanding-transaction-types) Understanding Transaction Types ------------------------------------------------------------------------------------------------------------------------------ Transaction types represent different blockchain actions decoded by our system. Each transaction type corresponds to specific on-chain activities like NFT minting, bidding, or staking. Below is the full list of transaction types supported: Report incorrect code Copy Ask AI - UNKNOWN - NFT_BID - NFT_BID_CANCELLED - NFT_LISTING - NFT_CANCEL_LISTING - NFT_SALE - NFT_MINT - NFT_AUCTION_CREATED - NFT_AUCTION_UPDATED - NFT_AUCTION_CANCELLED - NFT_PARTICIPATION_REWARD - NFT_MINT_REJECTED - CREATE_STORE - WHITELIST_CREATOR - ADD_TO_WHITELIST - REMOVE_FROM_WHITELIST - AUCTION_MANAGER_CLAIM_BID - EMPTY_PAYMENT_ACCOUNT - UPDATE_PRIMARY_SALE_METADATA - ADD_TOKEN_TO_VAULT - ACTIVATE_VAULT - INIT_VAULT - INIT_BANK - INIT_STAKE - MERGE_STAKE - SPLIT_STAKE - SET_BANK_FLAGS - SET_VAULT_LOCK - UPDATE_VAULT_OWNER - UPDATE_BANK_MANAGER - RECORD_RARITY_POINTS - ADD_RARITIES_TO_BANK - INIT_FARM - INIT_FARMER - REFRESH_FARMER - UPDATE_FARM - AUTHORIZE_FUNDER - DEAUTHORIZE_FUNDER - FUND_REWARD - CANCEL_REWARD - LOCK_REWARD - PAYOUT - VALIDATE_SAFETY_DEPOSIT_BOX_V2 - SET_AUTHORITY - INIT_AUCTION_MANAGER_V2 - UPDATE_EXTERNAL_PRICE_ACCOUNT - AUCTION_HOUSE_CREATE - CLOSE_ESCROW_ACCOUNT - WITHDRAW - DEPOSIT - TRANSFER - BURN - BURN_NFT - PLATFORM_FEE - LOAN - REPAY_LOAN - ADD_TO_POOL - REMOVE_FROM_POOL - CLOSE_POSITION - UNLABELED - CLOSE_ACCOUNT - WITHDRAW_GEM - DEPOSIT_GEM - STAKE_TOKEN - UNSTAKE_TOKEN - STAKE_SOL - UNSTAKE_SOL - CLAIM_REWARDS - BUY_SUBSCRIPTION - BUY - SELL - SWAP - INIT_SWAP - CANCEL_SWAP - REJECT_SWAP - INITIALIZE_ACCOUNT - TOKEN_MINT - CREATE_APPARAISAL - FUSE - DEPOSIT_FRACTIONAL_POOL - FRACTIONALIZE - CREATE_RAFFLE - BUY_TICKETS - UPDATE_ITEM - LIST_ITEM - DELIST_ITEM - ADD_ITEM - CLOSE_ITEM - BUY_ITEM - FILL_ORDER - UPDATE_ORDER - CREATE_ORDER - CLOSE_ORDER - CANCEL_ORDER - KICK_ITEM - UPGRADE_FOX - UPGRADE_FOX_REQUEST - LOAN_FOX - BORROW_FOX - SWITCH_FOX_REQUEST - SWITCH_FOX - CREATE_ESCROW - ACCEPT_REQUEST_ARTIST - CANCEL_ESCROW - ACCEPT_ESCROW_ARTIST - ACCEPT_ESCROW_USER - PLACE_BET - PLACE_SOL_BET - CREATE_BET - NFT_RENT_UPDATE_LISTING - NFT_RENT_ACTIVATE - NFT_RENT_CANCEL_LISTING - NFT_RENT_LISTING - FINALIZE_PROGRAM_INSTRUCTION - UPGRADE_PROGRAM_INSTRUCTION - NFT_GLOBAL_BID - NFT_GLOBAL_BID_CANCELLED - EXECUTE_TRANSACTION - APPROVE_TRANSACTION - ACTIVATE_TRANSACTION - CREATE_TRANSACTION - REJECT_TRANSACTION - CANCEL_TRANSACTION - ADD_INSTRUCTION - ATTACH_METADATA - REQUEST_PNFT_MIGRATION - START_PNFT_MIGRATION - MIGRATE_TO_PNFT - UPDATE_RAFFLE - CREATE_POOL - ADD_LIQUIDITY - WITHDRAW_LIQUIDITY See all 132 lines If you’d like us to parse a transaction type that isn’t listed above, feel free to reach out on our [Discord](https://discord.com/invite/6GXdee3gBj) . [​](https://www.helius.dev/docs/webhooks/transaction-types#mapping-transaction-types-to-sources) Mapping Transaction Types to Sources ---------------------------------------------------------------------------------------------------------------------------------------- Each transaction type is generated by specific program sources. Understanding these relationships helps identify which programs are triggering particular transaction types. The mappings below illustrate the relationship between sources (programs) and specific transaction types: * **Type-to-Source**: Shows which programs generate a specific transaction type * **Source-to-Type**: Shows all transaction types a specific program can generate For example, **NFT\_GLOBAL\_BID** transactions are generated by **MAGIC\_EDEN** or **SOLANART**, while **CANDY\_MACHINE\_V2** exclusively generates **NFT\_MINT** events. [​](https://www.helius.dev/docs/webhooks/transaction-types#type-to-source-reference) Type-to-Source Reference ---------------------------------------------------------------------------------------------------------------- This mapping shows which program sources can generate each transaction type. Report incorrect code Copy Ask AI { "NFT_MINT": [\ "CANDY_MACHINE_V2",\ "CANDY_MACHINE_V1",\ "CANDY_MACHINE_V3",\ "FORM_FUNCTION",\ "MAGIC_EDEN",\ "LAUNCH_MY_NFT",\ "BIFROST",\ "ATADIA",\ "ELIXIR_LAUNCHPAD",\ "SOLANA_PROGRAM_LIBRARY",\ "METAPLEX"\ ], "TOKEN_MINT": [\ "CANDY_MACHINE_V1",\ "ATADIA",\ "SOLANA_PROGRAM_LIBRARY"\ ], "CANDY_MACHINE_UPDATE": [\ "CANDY_MACHINE_V3"\ ], "CANDY_MACHINE_ROUTE": [\ "CANDY_MACHINE_V3"\ ], "CANDY_MACHINE_WRAP": [\ "CANDY_MACHINE_V3"\ ], "CANDY_MACHINE_UNWRAP": [\ "CANDY_MACHINE_V3"\ ], "NFT_BID": [\ "FORM_FUNCTION",\ "EXCHANGE_ART",\ "SOLANART",\ "MAGIC_EDEN",\ "ENGLISH_AUCTION",\ "YAWWW",\ "HYPERSPACE",\ "METAPLEX",\ "FOXY_AUCTION"\ ], "NFT_SALE": [\ "FORM_FUNCTION",\ "EXCHANGE_ART",\ "SOLANART",\ "MAGIC_EDEN",\ "ENGLISH_AUCTION",\ "SOLSEA",\ "YAWWW",\ "DIGITAL_EYES",\ "HYPERSPACE",\ "TENSOR",\ "METAPLEX",\ "FOXY_AUCTION"\ ], "NFT_LISTING": [\ "FORM_FUNCTION",\ "EXCHANGE_ART",\ "SOLANART",\ "MAGIC_EDEN",\ "SOLSEA",\ "YAWWW",\ "HYPERSPACE",\ "TENSOR",\ "METAPLEX"\ ], "NFT_CANCEL_LISTING": [\ "EXCHANGE_ART",\ "SOLANART",\ "MAGIC_EDEN",\ "SOLSEA",\ "YAWWW",\ "HYPERSPACE",\ "TENSOR"\ ], "NFT_BID_CANCELLED": [\ "EXCHANGE_ART",\ "SOLANART",\ "MAGIC_EDEN",\ "YAWWW",\ "HYPERSPACE",\ "METAPLEX"\ ], "NFT_GLOBAL_BID": [\ "SOLANART",\ "MAGIC_EDEN"\ ], "NFT_GLOBAL_BID_CANCELLED": [\ "SOLANART",\ "MAGIC_EDEN"\ ], "WITHDRAW": [\ "MAGIC_EDEN",\ "BIFROST",\ "STAKE_PROGRAM",\ "PUMP_AMM"\ ], "DEPOSIT": [\ "MAGIC_EDEN",\ "PUMP_AMM"\ ], "NFT_AUCTION_CREATED": [\ "ENGLISH_AUCTION",\ "METAPLEX",\ "FOXY_AUCTION"\ ], "NFT_AUCTION_UPDATED": [\ "ENGLISH_AUCTION"\ ], "NFT_AUCTION_CANCELLED": [\ "ENGLISH_AUCTION",\ "FOXY_AUCTION"\ ], "TRANSFER": [\ "PHANTOM",\ "SOLANA_PROGRAM_LIBRARY",\ "SYSTEM_PROGRAM"\ ], "INIT_BANK": [\ "GEM_BANK",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "SET_BANK_FLAGS": [\ "GEM_BANK",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "INIT_VAULT": [\ "GEM_BANK",\ "DEGODS",\ "BLOCKSMITH_LABS",\ "METAPLEX"\ ], "SET_VAULT_LOCK": [\ "GEM_BANK",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "UPDATE_VAULT_OWNER": [\ "GEM_BANK",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "DEPOSIT_GEM": [\ "GEM_BANK",\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "WITHDRAW_GEM": [\ "GEM_BANK",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "ADD_TO_WHITELIST": [\ "GEM_BANK",\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "REMOVE_FROM_WHITELIST": [\ "GEM_BANK",\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "UPDATE_BANK_MANAGER": [\ "GEM_BANK",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "RECORD_RARITY_POINTS": [\ "GEM_BANK",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "INIT_FARM": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "UPDATE_FARM": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "PAYOUT": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "STAKE_TOKEN": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS",\ "FOXY_STAKING",\ "CARDINAL_STAKING"\ ], "UNSTAKE_TOKEN": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS",\ "FOXY_STAKING",\ "CARDINAL_STAKING"\ ], "CLAIM_REWARDS": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "INIT_FARMER": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "REFRESH_FARMER": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "AUTHORIZE_FUNDER": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "DEAUTHORIZE_FUNDER": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "FUND_REWARD": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "CANCEL_REWARD": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "LOCK_REWARD": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "ADD_RARITIES_TO_BANK": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "BUY_SUBSCRIPTION": [\ "YAWWW"\ ], "BUY": [\ "PUMP_AMM"\ ], "SELL": [\ "PUMP_AMM"\ ], "FUSE": [\ "ELIXIR"\ ], "SWAP": [\ "ELIXIR",\ "JUPITER",\ "FOXY",\ "ALDRIN",\ "HADESWAP",\ "RAYDIUM"\ ], "DEPOSIT_FRACTIONAL_POOL": [\ "ELIXIR"\ ], "FRACTIONALIZE": [\ "ELIXIR"\ ], "CREATE_APPRAISAL": [\ "ELIXIR"\ ], "addCollateralType": [\ "HEDGE"\ ], "AUCTION_HOUSE_CREATE": [\ "METAPLEX"\ ], "CLOSE_ESCROW_ACCOUNT": [\ "METAPLEX"\ ], "AUCTION_MANAGER_CLAIM_BID": [\ "METAPLEX"\ ], "EMPTY_PAYMENT_ACCOUNT": [\ "METAPLEX"\ ], "NFT_PARTICIPATION_REWARD": [\ "METAPLEX"\ ], "VALIDATE_SAFETY_DEPOSIT_BOX_V2": [\ "METAPLEX"\ ], "INIT_AUCTION_MANAGER_V2": [\ "METAPLEX"\ ], "SET_AUTHORITY": [\ "METAPLEX"\ ], "CREATE_STORE": [\ "METAPLEX"\ ], "WHITELIST_CREATOR": [\ "METAPLEX"\ ], "CREATE_RAFFLE": [\ "FOXY_RAFFLE"\ ], "UPDATE_RAFFLE": [\ "FOXY_RAFFLE"\ ], "BUY_TICKETS": [\ "FOXY_RAFFLE"\ ], "ADD_ITEM": [\ "FOXY_TOKEN_MARKET"\ ], "UPGRADE_FOX": [\ "FOXY_MISSIONS"\ ], "CREATE_ESCROW": [\ "FOXY_MARMALADE"\ ], "CREATE_BET": [\ "FOXY_COINFLIP"\ ], "NFT_RENT_LISTING": [\ "CARDINAL_RENT"\ ], "NFT_RENT_ACTIVATE": [\ "CARDINAL_RENT"\ ], "NFT_RENT_CANCEL_LISTING": [\ "CARDINAL_RENT"\ ], "NFT_RENT_UPDATE_LISTING": [\ "CARDINAL_RENT"\ ], "EXECUTE_TRANSACTION": [\ "SQUADS"\ ], "CREATE_TRANSACTION": [\ "SQUADS"\ ], "APPROVE_TRANSACTION": [\ "SQUADS"\ ], "ACTIVATE_TRANSACTION": [\ "SQUADS"\ ], "REJECT_TRANSACTION": [\ "SQUADS"\ ], "CANCEL_TRANSACTION": [\ "SQUADS"\ ], "ADD_INSTRUCTION": [\ "SQUADS"\ ], "BURN": [\ "SOLANA_PROGRAM_LIBRARY"\ ], "UPDATE_PRIMARY_SALE_METADATA": [\ "METAPLEX"\ ], "BURN_NFT": [\ "METAPLEX"\ ], "ADD_TOKEN_TO_VAULT": [\ "METAPLEX"\ ], "ACTIVATE_VAULT": [\ "METAPLEX"\ ], "UPDATE_EXTERNAL_PRICE_ACCOUNT": [\ "METAPLEX"\ ], "STAKE_SOL": [\ "STAKE_PROGRAM"\ ], "UNSTAKE_SOL": [\ "STAKE_PROGRAM"\ ], "INIT_STAKE": [\ "STAKE_PROGRAM"\ ], "MERGE_STAKE": [\ "STAKE_PROGRAM"\ ], "SPLIT_STAKE": [\ "STAKE_PROGRAM"\ ], "UPGRADE_PROGRAM_INSTRUCTION": [\ "BPF_UPGRADEABLE_LOADER"\ ], "FINALIZE_PROGRAM_INSTRUCTION": [\ "BPF_LOADER"\ ], "REQUEST_PNFT_MIGRATION": [\ "METAPLEX"\ ], "START_PNFT_MIGRATION": [\ "METAPLEX"\ ], "MIGRATE_TO_PNFT": [\ "METAPLEX"\ ], "OFFER_LOAN": [\ "SHARKY_FI",\ "CITRUS"\ ], "RESCIND_LOAN": [\ "SHARKY_FI"\ ], "REPAY_LOAN": [\ "SHARKY_FI",\ "CITRUS"\ ], "TAKE_LOAN": [\ "SHARKY_FI"\ ], "FORECLOSE_LOAN": [\ "SHARKY_FI"\ ], "CANCEL_OFFER": [\ "CITRUS"\ ], "LEND_FOR_NFT": [\ "CITRUS"\ ], "REQUEST_LOAN": [\ "CITRUS"\ ], "CANCEL_LOAN_REQUEST": [\ "CITRUS"\ ], "BORROW_SOL_FOR_NFT": [\ "CITRUS"\ ], "CLAIM_NFT": [\ "CITRUS"\ ], "REBORROW_SOL_FOR_NFT": [\ "CITRUS"\ ], "UPDATE_OFFER": [\ "CITRUS"\ ], "CREATE_POOL": [\ "RAYDIUM",\ "PUMP_AMM"\ ], "ADD_LIQUIDITY": [\ "RAYDIUM"\ ], "WITHDRAW_LIQUIDITY": [\ "RAYDIUM"\ ] } See all 468 lines [​](https://www.helius.dev/docs/webhooks/transaction-types#source-to-type-reference) Source-to-Type Reference ---------------------------------------------------------------------------------------------------------------- This mapping shows all transaction types that can be generated by each program source. Report incorrect code Copy Ask AI Source to Type ```json { "CANDY_MACHINE_V2": [\ "NFT_MINT"\ ], "CANDY_MACHINE_V1": [\ "TOKEN_MINT",\ "NFT_MINT"\ ], "CANDY_MACHINE_V3": [\ "NFT_MINT",\ "CANDY_MACHINE_UPDATE",\ "CANDY_MACHINE_ROUTE",\ "CANDY_MACHINE_WRAP",\ "CANDY_MACHINE_UNWRAP"\ ], "FORM_FUNCTION": [\ "NFT_BID",\ "NFT_SALE",\ "NFT_LISTING",\ "NFT_MINT"\ ], "EXCHANGE_ART": [\ "NFT_LISTING",\ "NFT_BID",\ "NFT_SALE",\ "NFT_CANCEL_LISTING",\ "NFT_BID_CANCELLED"\ ], "SOLANART": [\ "NFT_BID",\ "NFT_BID_CANCELLED",\ "NFT_SALE",\ "NFT_LISTING",\ "NFT_CANCEL_LISTING",\ "NFT_GLOBAL_BID",\ "NFT_GLOBAL_BID_CANCELLED"\ ], "MAGIC_EDEN": [\ "NFT_LISTING",\ "NFT_CANCEL_LISTING",\ "NFT_BID",\ "NFT_BID_CANCELLED",\ "NFT_SALE",\ "WITHDRAW",\ "DEPOSIT",\ "NFT_MINT",\ "NFT_GLOBAL_BID",\ "NFT_GLOBAL_BID_CANCELLED"\ ], "ENGLISH_AUCTION": [\ "NFT_AUCTION_CREATED",\ "NFT_AUCTION_UPDATED",\ "NFT_BID",\ "NFT_AUCTION_CANCELLED",\ "NFT_SALE"\ ], "PHANTOM": [\ "TRANSFER"\ ], "SOLSEA": [\ "NFT_SALE",\ "NFT_LISTING",\ "NFT_CANCEL_LISTING"\ ], "LAUNCH_MY_NFT": [\ "NFT_MINT"\ ], "GEM_BANK": [\ "INIT_BANK",\ "SET_BANK_FLAGS",\ "INIT_VAULT",\ "SET_VAULT_LOCK",\ "UPDATE_VAULT_OWNER",\ "DEPOSIT_GEM",\ "WITHDRAW_GEM",\ "ADD_TO_WHITELIST",\ "REMOVE_FROM_WHITELIST",\ "UPDATE_BANK_MANAGER",\ "RECORD_RARITY_POINTS"\ ], "GEM_FARM": [\ "INIT_FARM",\ "UPDATE_FARM",\ "PAYOUT",\ "ADD_TO_WHITELIST",\ "REMOVE_FROM_WHITELIST",\ "STAKE_TOKEN",\ "UNSTAKE_TOKEN",\ "CLAIM_REWARDS",\ "INIT_FARMER",\ "DEPOSIT_GEM",\ "REFRESH_FARMER",\ "AUTHORIZE_FUNDER",\ "DEAUTHORIZE_FUNDER",\ "FUND_REWARD",\ "CANCEL_REWARD",\ "LOCK_REWARD",\ "ADD_RARITIES_TO_BANK"\ ], "DEGODS": [\ "INIT_BANK",\ "SET_BANK_FLAGS",\ "INIT_VAULT",\ "SET_VAULT_LOCK",\ "UPDATE_VAULT_OWNER",\ "DEPOSIT_GEM",\ "WITHDRAW_GEM",\ "ADD_TO_WHITELIST",\ "REMOVE_FROM_WHITELIST",\ "UPDATE_BANK_MANAGER",\ "RECORD_RARITY_POINTS",\ "INIT_FARM",\ "UPDATE_FARM",\ "PAYOUT",\ "STAKE_TOKEN",\ "UNSTAKE_TOKEN",\ "CLAIM_REWARDS",\ "INIT_FARMER",\ "REFRESH_FARMER",\ "AUTHORIZE_FUNDER",\ "DEAUTHORIZE_FUNDER",\ "FUND_REWARD",\ "CANCEL_REWARD",\ "LOCK_REWARD",\ "ADD_RARITIES_TO_BANK"\ ], "BLOCKSMITH_LABS": [\ "INIT_BANK",\ "SET_BANK_FLAGS",\ "INIT_VAULT",\ "SET_VAULT_LOCK",\ "UPDATE_VAULT_OWNER",\ "DEPOSIT_GEM",\ "WITHDRAW_GEM",\ "ADD_TO_WHITELIST",\ "REMOVE_FROM_WHITELIST",\ "UPDATE_BANK_MANAGER",\ "RECORD_RARITY_POINTS",\ "INIT_FARM",\ "UPDATE_FARM",\ "PAYOUT",\ "STAKE_TOKEN",\ "UNSTAKE_TOKEN",\ "CLAIM_REWARDS",\ "INIT_FARMER",\ "REFRESH_FARMER",\ "AUTHORIZE_FUNDER",\ "DEAUTHORIZE_FUNDER",\ "FUND_REWARD",\ "CANCEL_REWARD",\ "LOCK_REWARD",\ "ADD_RARITIES_TO_BANK"\ ], "YAWWW": [\ "NFT_SALE",\ "NFT_LISTING",\ "NFT_CANCEL_LISTING",\ "NFT_BID",\ "NFT_BID_CANCELLED",\ "BUY_SUBSCRIPTION"\ ], "DIGITAL_EYES": [\ "NFT_SALE"\ ], "HYPERSPACE": [\ "NFT_BID",\ "NFT_BID_CANCELLED",\ "NFT_LISTING",\ "NFT_CANCEL_LISTING",\ "NFT_SALE"\ ], "TENSOR": [\ "NFT_LISTING",\ "NFT_SALE",\ "NFT_CANCEL_LISTING"\ ], "ELIXIR": [\ "FUSE",\ "SWAP",\ "DEPOSIT_FRACTIONAL_POOL",\ "FRACTIONALIZE",\ "CREATE_APPRAISAL"\ ], "BIFROST": [\ "NFT_MINT",\ "WITHDRAW"\ ], "HEDGE": [\ "addCollateralType"\ ], "ATADIA": [\ "TOKEN_MINT",\ "NFT_MINT"\ ], "JUPITER": [\ "SWAP"\ ], "METAPLEX": [\ "NFT_SALE",\ "NFT_LISTING",\ "NFT_BID",\ "AUCTION_HOUSE_CREATE",\ "CLOSE_ESCROW_ACCOUNT",\ "AUCTION_MANAGER_CLAIM_BID",\ "EMPTY_PAYMENT_ACCOUNT",\ "NFT_PARTICIPATION_REWARD",\ "VALIDATE_SAFETY_DEPOSIT_BOX_V2",\ "INIT_AUCTION_MANAGER_V2",\ "NFT_AUCTION_CREATED",\ "NFT_BID_CANCELLED",\ "SET_AUTHORITY",\ "CREATE_STORE",\ "WHITELIST_CREATOR",\ "UPDATE_PRIMARY_SALE_METADATA",\ "NFT_MINT",\ "BURN_NFT",\ "INIT_VAULT",\ "ADD_TOKEN_TO_VAULT",\ "ACTIVATE_VAULT",\ "UPDATE_EXTERNAL_PRICE_ACCOUNT",\ "REQUEST_PNFT_MIGRATION",\ "START_PNFT_MIGRATION",\ "MIGRATE_TO_PNFT"\ ], "FOXY": [\ "SWAP"\ ], "FOXY_STAKING": [\ "STAKE_TOKEN",\ "UNSTAKE_TOKEN"\ ], "FOXY_RAFFLE": [\ "CREATE_RAFFLE",\ "BUY_TICKETS",\ "UPDATE_RAFFLE"\ ], "FOXY_TOKEN_MARKET": [\ "ADD_ITEM"\ ], "FOXY_MISSIONS": [\ "UPGRADE_FOX"\ ], "FOXY_MARMALADE": [\ "CREATE_ESCROW"\ ], "FOXY_COINFLIP": [\ "CREATE_BET"\ ], "FOXY_AUCTION": [\ "NFT_BID",\ "NFT_AUCTION_CANCELLED",\ "NFT_AUCTION_CREATED",\ "NFT_SALE"\ ], "ALDRIN": [\ "SWAP"\ ], "HADESWAP": [\ "SWAP"\ ], "CARDINAL_RENT": [\ "NFT_RENT_LISTING",\ "NFT_RENT_ACTIVATE",\ "NFT_RENT_CANCEL_LISTING",\ "NFT_RENT_UPDATE_LISTING"\ ], "CARDINAL_STAKING": [\ "STAKE_TOKEN",\ "UNSTAKE_TOKEN"\ ], "SQUADS": [\ "EXECUTE_TRANSACTION",\ "CREATE_TRANSACTION",\ "APPROVE_TRANSACTION",\ "ACTIVATE_TRANSACTION",\ "REJECT_TRANSACTION",\ "CANCEL_TRANSACTION",\ "ADD_INSTRUCTION"\ ], "ELIXIR_LAUNCHPAD": [\ "NFT_MINT"\ ], "SHARKY_FI": [\ "OFFER_LOAN",\ "RESCIND_LOAN",\ "REPAY_LOAN",\ "TAKE_LOAN",\ "FORECLOSE_LOAN"\ ], "CITRUS": [\ "CANCEL_OFFER",\ "LEND_FOR_NFT",\ "REQUEST_LOAN",\ "CANCEL_LOAN_REQUEST",\ "BORROW_SOL_FOR_NFT",\ "REPAY_LOAN",\ "CLAIM_NFT",\ "REBORROW_SOL_FOR_NFT",\ "OFFER_LOAN",\ "UPDATE_OFFER"\ ], "SOLANA_PROGRAM_LIBRARY": [\ "BURN",\ "TOKEN_MINT",\ "NFT_MINT",\ "TRANSFER"\ ], "SYSTEM_PROGRAM": [\ "TRANSFER"\ ], "STAKE_PROGRAM": [\ "STAKE_SOL",\ "UNSTAKE_SOL",\ "INIT_STAKE",\ "MERGE_STAKE",\ "SPLIT_STAKE",\ "WITHDRAW"\ ], "BPF_UPGRADEABLE_LOADER": [\ "UPGRADE_PROGRAM_INSTRUCTION"\ ], "BPF_LOADER": [\ "FINALIZE_PROGRAM_INSTRUCTION"\ ], "RAYDIUM": [\ "WITHDRAW_LIQUIDITY",\ "ADD_LIQUIDITY",\ "CREATE_POOL",\ "SWAP"\ ], "PUMP_AMM": [\ "CREATE_POOL",\ "DEPOSIT",\ "WITHDRAW",\ "BUY",\ "SELL"\ ] } See all 341 lines [​](https://www.helius.dev/docs/webhooks/transaction-types#using-transaction-types-in-your-code) Using Transaction Types in Your Code ---------------------------------------------------------------------------------------------------------------------------------------- When implementing webhook listeners, you can filter for specific transaction types of interest. Here’s a simple example of how to listen for NFT sale events: Report incorrect code Copy Ask AI // Example webhook handler for NFT sales app.post('/webhook', (req, res) => { const event = req.body; // Filter for NFT sale transactions if (event.type === 'NFT_SALE') { console.log('NFT Sale detected!'); console.log('Seller:', event.seller); console.log('Buyer:', event.buyer); console.log('Price:', event.amount); console.log('NFT:', event.nft?.mint); // Process the sale event // ... } res.status(200).send('OK'); }); You can use the Type-to-Source and Source-to-Type mappings to anticipate which programs will generate specific transaction types. Was this page helpful? YesNo [Previous](https://www.helius.dev/docs/webhooks) [OverviewLearn how to reliably send and confirm Solana transactions using Helius infrastructure. Staked connections, priority fees, and enterprise-grade reliability.\ \ Next](https://www.helius.dev/docs/sending-transactions/overview) ⌘I On this page * [Understanding Transaction Types](https://www.helius.dev/docs/webhooks/transaction-types#understanding-transaction-types) * [Mapping Transaction Types to Sources](https://www.helius.dev/docs/webhooks/transaction-types#mapping-transaction-types-to-sources) * [Type-to-Source Reference](https://www.helius.dev/docs/webhooks/transaction-types#type-to-source-reference) * [Source-to-Type Reference](https://www.helius.dev/docs/webhooks/transaction-types#source-to-type-reference) * [Using Transaction Types in Your Code](https://www.helius.dev/docs/webhooks/transaction-types#using-transaction-types-in-your-code) --- # Solana Webhook 交易类型 - Helius Docs [跳转到主要内容](https://www.helius.dev/docs/zh/webhooks/transaction-types#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![CN](https://d3gk2c5xim1je2.cloudfront.net/flags/CN.svg) 简体中文 搜索... ⌘KAsk AI 搜索... Navigation Webhook Solana Webhook 交易类型 [​](https://www.helius.dev/docs/zh/webhooks/transaction-types#%E7%90%86%E8%A7%A3%E4%BA%A4%E6%98%93%E7%B1%BB%E5%9E%8B) 理解交易类型 ------------------------------------------------------------------------------------------------------------------------------- 交易类型代表我们系统解码的不同区块链操作。每种交易类型对应特定的链上活动,如 NFT 铸造、竞标或质押。 以下是支持的交易类型的完整列表: 报告错误代码 复制 询问AI - UNKNOWN - NFT_BID - NFT_BID_CANCELLED - NFT_LISTING - NFT_CANCEL_LISTING - NFT_SALE - NFT_MINT - NFT_AUCTION_CREATED - NFT_AUCTION_UPDATED - NFT_AUCTION_CANCELLED - NFT_PARTICIPATION_REWARD - NFT_MINT_REJECTED - CREATE_STORE - WHITELIST_CREATOR - ADD_TO_WHITELIST - REMOVE_FROM_WHITELIST - AUCTION_MANAGER_CLAIM_BID - EMPTY_PAYMENT_ACCOUNT - UPDATE_PRIMARY_SALE_METADATA - ADD_TOKEN_TO_VAULT - ACTIVATE_VAULT - INIT_VAULT - INIT_BANK - INIT_STAKE - MERGE_STAKE - SPLIT_STAKE - SET_BANK_FLAGS - SET_VAULT_LOCK - UPDATE_VAULT_OWNER - UPDATE_BANK_MANAGER - RECORD_RARITY_POINTS - ADD_RARITIES_TO_BANK - INIT_FARM - INIT_FARMER - REFRESH_FARMER - UPDATE_FARM - AUTHORIZE_FUNDER - DEAUTHORIZE_FUNDER - FUND_REWARD - CANCEL_REWARD - LOCK_REWARD - PAYOUT - VALIDATE_SAFETY_DEPOSIT_BOX_V2 - SET_AUTHORITY - INIT_AUCTION_MANAGER_V2 - UPDATE_EXTERNAL_PRICE_ACCOUNT - AUCTION_HOUSE_CREATE - CLOSE_ESCROW_ACCOUNT - WITHDRAW - DEPOSIT - TRANSFER - BURN - BURN_NFT - PLATFORM_FEE - LOAN - REPAY_LOAN - ADD_TO_POOL - REMOVE_FROM_POOL - CLOSE_POSITION - UNLABELED - CLOSE_ACCOUNT - WITHDRAW_GEM - DEPOSIT_GEM - STAKE_TOKEN - UNSTAKE_TOKEN - STAKE_SOL - UNSTAKE_SOL - CLAIM_REWARDS - BUY_SUBSCRIPTION - BUY - SELL - SWAP - INIT_SWAP - CANCEL_SWAP - REJECT_SWAP - INITIALIZE_ACCOUNT - TOKEN_MINT - CREATE_APPARAISAL - FUSE - DEPOSIT_FRACTIONAL_POOL - FRACTIONALIZE - CREATE_RAFFLE - BUY_TICKETS - UPDATE_ITEM - LIST_ITEM - DELIST_ITEM - ADD_ITEM - CLOSE_ITEM - BUY_ITEM - FILL_ORDER - UPDATE_ORDER - CREATE_ORDER - CLOSE_ORDER - CANCEL_ORDER - KICK_ITEM - UPGRADE_FOX - UPGRADE_FOX_REQUEST - LOAN_FOX - BORROW_FOX - SWITCH_FOX_REQUEST - SWITCH_FOX - CREATE_ESCROW - ACCEPT_REQUEST_ARTIST - CANCEL_ESCROW - ACCEPT_ESCROW_ARTIST - ACCEPT_ESCROW_USER - PLACE_BET - PLACE_SOL_BET - CREATE_BET - NFT_RENT_UPDATE_LISTING - NFT_RENT_ACTIVATE - NFT_RENT_CANCEL_LISTING - NFT_RENT_LISTING - FINALIZE_PROGRAM_INSTRUCTION - UPGRADE_PROGRAM_INSTRUCTION - NFT_GLOBAL_BID - NFT_GLOBAL_BID_CANCELLED - EXECUTE_TRANSACTION - APPROVE_TRANSACTION - ACTIVATE_TRANSACTION - CREATE_TRANSACTION - REJECT_TRANSACTION - CANCEL_TRANSACTION - ADD_INSTRUCTION - ATTACH_METADATA - REQUEST_PNFT_MIGRATION - START_PNFT_MIGRATION - MIGRATE_TO_PNFT - UPDATE_RAFFLE - CREATE_POOL - ADD_LIQUIDITY - WITHDRAW_LIQUIDITY See all 132 lines 如果您希望我们解析上面未列出的交易类型,请随时通过我们的 [Discord](https://discord.com/invite/6GXdee3gBj) 联系我们。 [​](https://www.helius.dev/docs/zh/webhooks/transaction-types#%E5%B0%86%E4%BA%A4%E6%98%93%E7%B1%BB%E5%9E%8B%E6%98%A0%E5%B0%84%E5%88%B0%E6%9D%A5%E6%BA%90) 将交易类型映射到来源 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- 每种交易类型由特定的程序来源生成。理解这些关系有助于识别哪些程序正在触发特定的交易类型。 下面的映射展示了来源(程序)与特定交易类型之间的关系: * **类型到来源**:显示哪些程序生成特定的交易类型 * **来源到类型**:显示特定程序可以生成的所有交易类型 例如,**NFT\_GLOBAL\_BID** 交易由 **MAGIC\_EDEN** 或 **SOLANART** 生成,而 **CANDY\_MACHINE\_V2** 专门生成 **NFT\_MINT** 事件。 [​](https://www.helius.dev/docs/zh/webhooks/transaction-types#%E7%B1%BB%E5%9E%8B%E5%88%B0%E6%9D%A5%E6%BA%90%E5%8F%82%E8%80%83) 类型到来源参考 ----------------------------------------------------------------------------------------------------------------------------------------- 此映射显示哪些程序来源可以生成每种交易类型。 报告错误代码 复制 询问AI { "NFT_MINT": [\ "CANDY_MACHINE_V2",\ "CANDY_MACHINE_V1",\ "CANDY_MACHINE_V3",\ "FORM_FUNCTION",\ "MAGIC_EDEN",\ "LAUNCH_MY_NFT",\ "BIFROST",\ "ATADIA",\ "ELIXIR_LAUNCHPAD",\ "SOLANA_PROGRAM_LIBRARY",\ "METAPLEX"\ ], "TOKEN_MINT": [\ "CANDY_MACHINE_V1",\ "ATADIA",\ "SOLANA_PROGRAM_LIBRARY"\ ], "CANDY_MACHINE_UPDATE": [\ "CANDY_MACHINE_V3"\ ], "CANDY_MACHINE_ROUTE": [\ "CANDY_MACHINE_V3"\ ], "CANDY_MACHINE_WRAP": [\ "CANDY_MACHINE_V3"\ ], "CANDY_MACHINE_UNWRAP": [\ "CANDY_MACHINE_V3"\ ], "NFT_BID": [\ "FORM_FUNCTION",\ "EXCHANGE_ART",\ "SOLANART",\ "MAGIC_EDEN",\ "ENGLISH_AUCTION",\ "YAWWW",\ "HYPERSPACE",\ "METAPLEX",\ "FOXY_AUCTION"\ ], "NFT_SALE": [\ "FORM_FUNCTION",\ "EXCHANGE_ART",\ "SOLANART",\ "MAGIC_EDEN",\ "ENGLISH_AUCTION",\ "SOLSEA",\ "YAWWW",\ "DIGITAL_EYES",\ "HYPERSPACE",\ "TENSOR",\ "METAPLEX",\ "FOXY_AUCTION"\ ], "NFT_LISTING": [\ "FORM_FUNCTION",\ "EXCHANGE_ART",\ "SOLANART",\ "MAGIC_EDEN",\ "SOLSEA",\ "YAWWW",\ "HYPERSPACE",\ "TENSOR",\ "METAPLEX"\ ], "NFT_CANCEL_LISTING": [\ "EXCHANGE_ART",\ "SOLANART",\ "MAGIC_EDEN",\ "SOLSEA",\ "YAWWW",\ "HYPERSPACE",\ "TENSOR"\ ], "NFT_BID_CANCELLED": [\ "EXCHANGE_ART",\ "SOLANART",\ "MAGIC_EDEN",\ "YAWWW",\ "HYPERSPACE",\ "METAPLEX"\ ], "NFT_GLOBAL_BID": [\ "SOLANART",\ "MAGIC_EDEN"\ ], "NFT_GLOBAL_BID_CANCELLED": [\ "SOLANART",\ "MAGIC_EDEN"\ ], "WITHDRAW": [\ "MAGIC_EDEN",\ "BIFROST",\ "STAKE_PROGRAM",\ "PUMP_AMM"\ ], "DEPOSIT": [\ "MAGIC_EDEN",\ "PUMP_AMM"\ ], "NFT_AUCTION_CREATED": [\ "ENGLISH_AUCTION",\ "METAPLEX",\ "FOXY_AUCTION"\ ], "NFT_AUCTION_UPDATED": [\ "ENGLISH_AUCTION"\ ], "NFT_AUCTION_CANCELLED": [\ "ENGLISH_AUCTION",\ "FOXY_AUCTION"\ ], "TRANSFER": [\ "PHANTOM",\ "SOLANA_PROGRAM_LIBRARY",\ "SYSTEM_PROGRAM"\ ], "INIT_BANK": [\ "GEM_BANK",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "SET_BANK_FLAGS": [\ "GEM_BANK",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "INIT_VAULT": [\ "GEM_BANK",\ "DEGODS",\ "BLOCKSMITH_LABS",\ "METAPLEX"\ ], "SET_VAULT_LOCK": [\ "GEM_BANK",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "UPDATE_VAULT_OWNER": [\ "GEM_BANK",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "DEPOSIT_GEM": [\ "GEM_BANK",\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "WITHDRAW_GEM": [\ "GEM_BANK",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "ADD_TO_WHITELIST": [\ "GEM_BANK",\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "REMOVE_FROM_WHITELIST": [\ "GEM_BANK",\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "UPDATE_BANK_MANAGER": [\ "GEM_BANK",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "RECORD_RARITY_POINTS": [\ "GEM_BANK",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "INIT_FARM": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "UPDATE_FARM": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "PAYOUT": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "STAKE_TOKEN": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS",\ "FOXY_STAKING",\ "CARDINAL_STAKING"\ ], "UNSTAKE_TOKEN": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS",\ "FOXY_STAKING",\ "CARDINAL_STAKING"\ ], "CLAIM_REWARDS": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "INIT_FARMER": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "REFRESH_FARMER": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "AUTHORIZE_FUNDER": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "DEAUTHORIZE_FUNDER": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "FUND_REWARD": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "CANCEL_REWARD": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "LOCK_REWARD": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "ADD_RARITIES_TO_BANK": [\ "GEM_FARM",\ "DEGODS",\ "BLOCKSMITH_LABS"\ ], "BUY_SUBSCRIPTION": [\ "YAWWW"\ ], "BUY": [\ "PUMP_AMM"\ ], "SELL": [\ "PUMP_AMM"\ ], "FUSE": [\ "ELIXIR"\ ], "SWAP": [\ "ELIXIR",\ "JUPITER",\ "FOXY",\ "ALDRIN",\ "HADESWAP",\ "RAYDIUM"\ ], "DEPOSIT_FRACTIONAL_POOL": [\ "ELIXIR"\ ], "FRACTIONALIZE": [\ "ELIXIR"\ ], "CREATE_APPRAISAL": [\ "ELIXIR"\ ], "addCollateralType": [\ "HEDGE"\ ], "AUCTION_HOUSE_CREATE": [\ "METAPLEX"\ ], "CLOSE_ESCROW_ACCOUNT": [\ "METAPLEX"\ ], "AUCTION_MANAGER_CLAIM_BID": [\ "METAPLEX"\ ], "EMPTY_PAYMENT_ACCOUNT": [\ "METAPLEX"\ ], "NFT_PARTICIPATION_REWARD": [\ "METAPLEX"\ ], "VALIDATE_SAFETY_DEPOSIT_BOX_V2": [\ "METAPLEX"\ ], "INIT_AUCTION_MANAGER_V2": [\ "METAPLEX"\ ], "SET_AUTHORITY": [\ "METAPLEX"\ ], "CREATE_STORE": [\ "METAPLEX"\ ], "WHITELIST_CREATOR": [\ "METAPLEX"\ ], "CREATE_RAFFLE": [\ "FOXY_RAFFLE"\ ], "UPDATE_RAFFLE": [\ "FOXY_RAFFLE"\ ], "BUY_TICKETS": [\ "FOXY_RAFFLE"\ ], "ADD_ITEM": [\ "FOXY_TOKEN_MARKET"\ ], "UPGRADE_FOX": [\ "FOXY_MISSIONS"\ ], "CREATE_ESCROW": [\ "FOXY_MARMALADE"\ ], "CREATE_BET": [\ "FOXY_COINFLIP"\ ], "NFT_RENT_LISTING": [\ "CARDINAL_RENT"\ ], "NFT_RENT_ACTIVATE": [\ "CARDINAL_RENT"\ ], "NFT_RENT_CANCEL_LISTING": [\ "CARDINAL_RENT"\ ], "NFT_RENT_UPDATE_LISTING": [\ "CARDINAL_RENT"\ ], "EXECUTE_TRANSACTION": [\ "SQUADS"\ ], "CREATE_TRANSACTION": [\ "SQUADS"\ ], "APPROVE_TRANSACTION": [\ "SQUADS"\ ], "ACTIVATE_TRANSACTION": [\ "SQUADS"\ ], "REJECT_TRANSACTION": [\ "SQUADS"\ ], "CANCEL_TRANSACTION": [\ "SQUADS"\ ], "ADD_INSTRUCTION": [\ "SQUADS"\ ], "BURN": [\ "SOLANA_PROGRAM_LIBRARY"\ ], "UPDATE_PRIMARY_SALE_METADATA": [\ "METAPLEX"\ ], "BURN_NFT": [\ "METAPLEX"\ ], "ADD_TOKEN_TO_VAULT": [\ "METAPLEX"\ ], "ACTIVATE_VAULT": [\ "METAPLEX"\ ], "UPDATE_EXTERNAL_PRICE_ACCOUNT": [\ "METAPLEX"\ ], "STAKE_SOL": [\ "STAKE_PROGRAM"\ ], "UNSTAKE_SOL": [\ "STAKE_PROGRAM"\ ], "INIT_STAKE": [\ "STAKE_PROGRAM"\ ], "MERGE_STAKE": [\ "STAKE_PROGRAM"\ ], "SPLIT_STAKE": [\ "STAKE_PROGRAM"\ ], "UPGRADE_PROGRAM_INSTRUCTION": [\ "BPF_UPGRADEABLE_LOADER"\ ], "FINALIZE_PROGRAM_INSTRUCTION": [\ "BPF_LOADER"\ ], "REQUEST_PNFT_MIGRATION": [\ "METAPLEX"\ ], "START_PNFT_MIGRATION": [\ "METAPLEX"\ ], "MIGRATE_TO_PNFT": [\ "METAPLEX"\ ], "OFFER_LOAN": [\ "SHARKY_FI",\ "CITRUS"\ ], "RESCIND_LOAN": [\ "SHARKY_FI"\ ], "REPAY_LOAN": [\ "SHARKY_FI",\ "CITRUS"\ ], "TAKE_LOAN": [\ "SHARKY_FI"\ ], "FORECLOSE_LOAN": [\ "SHARKY_FI"\ ], "CANCEL_OFFER": [\ "CITRUS"\ ], "LEND_FOR_NFT": [\ "CITRUS"\ ], "REQUEST_LOAN": [\ "CITRUS"\ ], "CANCEL_LOAN_REQUEST": [\ "CITRUS"\ ], "BORROW_SOL_FOR_NFT": [\ "CITRUS"\ ], "CLAIM_NFT": [\ "CITRUS"\ ], "REBORROW_SOL_FOR_NFT": [\ "CITRUS"\ ], "UPDATE_OFFER": [\ "CITRUS"\ ], "CREATE_POOL": [\ "RAYDIUM",\ "PUMP_AMM"\ ], "ADD_LIQUIDITY": [\ "RAYDIUM"\ ], "WITHDRAW_LIQUIDITY": [\ "RAYDIUM"\ ] } See all 468 lines [​](https://www.helius.dev/docs/zh/webhooks/transaction-types#%E6%9D%A5%E6%BA%90%E5%88%B0%E7%B1%BB%E5%9E%8B%E5%8F%82%E8%80%83) 来源到类型参考 ----------------------------------------------------------------------------------------------------------------------------------------- 此映射显示每个程序来源可以生成的所有交易类型。 报告错误代码 复制 询问AI { "CANDY_MACHINE_V2": [\ "NFT_MINT"\ ], "CANDY_MACHINE_V1": [\ "TOKEN_MINT",\ "NFT_MINT"\ ], "CANDY_MACHINE_V3": [\ "NFT_MINT",\ "CANDY_MACHINE_UPDATE",\ "CANDY_MACHINE_ROUTE",\ "CANDY_MACHINE_WRAP",\ "CANDY_MACHINE_UNWRAP"\ ], "FORM_FUNCTION": [\ "NFT_BID",\ "NFT_SALE",\ "NFT_LISTING",\ "NFT_MINT"\ ], "EXCHANGE_ART": [\ "NFT_LISTING",\ "NFT_BID",\ "NFT_SALE",\ "NFT_CANCEL_LISTING",\ "NFT_BID_CANCELLED"\ ], "SOLANART": [\ "NFT_BID",\ "NFT_BID_CANCELLED",\ "NFT_SALE",\ "NFT_LISTING",\ "NFT_CANCEL_LISTING",\ "NFT_GLOBAL_BID",\ "NFT_GLOBAL_BID_CANCELLED"\ ], "MAGIC_EDEN": [\ "NFT_LISTING",\ "NFT_CANCEL_LISTING",\ "NFT_BID",\ "NFT_BID_CANCELLED",\ "NFT_SALE",\ "WITHDRAW",\ "DEPOSIT",\ "NFT_MINT",\ "NFT_GLOBAL_BID",\ "NFT_GLOBAL_BID_CANCELLED"\ ], "ENGLISH_AUCTION": [\ "NFT_AUCTION_CREATED",\ "NFT_AUCTION_UPDATED",\ "NFT_BID",\ "NFT_AUCTION_CANCELLED",\ "NFT_SALE"\ ], "PHANTOM": [\ "TRANSFER"\ ], "SOLSEA": [\ "NFT_SALE",\ "NFT_LISTING",\ "NFT_CANCEL_LISTING"\ ], "LAUNCH_MY_NFT": [\ "NFT_MINT"\ ], "GEM_BANK": [\ "INIT_BANK",\ "SET_BANK_FLAGS",\ "INIT_VAULT",\ "SET_VAULT_LOCK",\ "UPDATE_VAULT_OWNER",\ "DEPOSIT_GEM",\ "WITHDRAW_GEM",\ "ADD_TO_WHITELIST",\ "REMOVE_FROM_WHITELIST",\ "UPDATE_BANK_MANAGER",\ "RECORD_RARITY_POINTS"\ ], "GEM_FARM": [\ "INIT_FARM",\ "UPDATE_FARM",\ "PAYOUT",\ "ADD_TO_WHITELIST",\ "REMOVE_FROM_WHITELIST",\ "STAKE_TOKEN",\ "UNSTAKE_TOKEN",\ "CLAIM_REWARDS",\ "INIT_FARMER",\ "DEPOSIT_GEM",\ "REFRESH_FARMER",\ "AUTHORIZE_FUNDER",\ "DEAUTHORIZE_FUNDER",\ "FUND_REWARD",\ "CANCEL_REWARD",\ "LOCK_REWARD",\ "ADD_RARITIES_TO_BANK"\ ], "DEGODS": [\ "INIT_BANK",\ "SET_BANK_FLAGS",\ "INIT_VAULT",\ "SET_VAULT_LOCK",\ "UPDATE_VAULT_OWNER",\ "DEPOSIT_GEM",\ "WITHDRAW_GEM",\ "ADD_TO_WHITELIST",\ "REMOVE_FROM_WHITELIST",\ "UPDATE_BANK_MANAGER",\ "RECORD_RARITY_POINTS",\ "INIT_FARM",\ "UPDATE_FARM",\ "PAYOUT",\ "STAKE_TOKEN",\ "UNSTAKE_TOKEN",\ "CLAIM_REWARDS",\ "INIT_FARMER",\ "REFRESH_FARMER",\ "AUTHORIZE_FUNDER",\ "DEAUTHORIZE_FUNDER",\ "FUND_REWARD",\ "CANCEL_REWARD",\ "LOCK_REWARD",\ "ADD_RARITIES_TO_BANK"\ ], "BLOCKSMITH_LABS": [\ "INIT_BANK",\ "SET_BANK_FLAGS",\ "INIT_VAULT",\ "SET_VAULT_LOCK",\ "UPDATE_VAULT_OWNER",\ "DEPOSIT_GEM",\ "WITHDRAW_GEM",\ "ADD_TO_WHITELIST",\ "REMOVE_FROM_WHITELIST",\ "UPDATE_BANK_MANAGER",\ "RECORD_RARITY_POINTS",\ "INIT_FARM",\ "UPDATE_FARM",\ "PAYOUT",\ "STAKE_TOKEN",\ "UNSTAKE_TOKEN",\ "CLAIM_REWARDS",\ "INIT_FARMER",\ "REFRESH_FARMER",\ "AUTHORIZE_FUNDER",\ "DEAUTHORIZE_FUNDER",\ "FUND_REWARD",\ "CANCEL_REWARD",\ "LOCK_REWARD",\ "ADD_RARITIES_TO_BANK"\ ], "YAWWW": [\ "NFT_SALE",\ "NFT_LISTING",\ "NFT_CANCEL_LISTING",\ "NFT_BID",\ "NFT_BID_CANCELLED",\ "BUY_SUBSCRIPTION"\ ], "DIGITAL_EYES": [\ "NFT_SALE"\ ], "HYPERSPACE": [\ "NFT_BID",\ "NFT_BID_CANCELLED",\ "NFT_LISTING",\ "NFT_CANCEL_LISTING",\ "NFT_SALE"\ ], "TENSOR": [\ "NFT_LISTING",\ "NFT_SALE",\ "NFT_CANCEL_LISTING"\ ], "ELIXIR": [\ "FUSE",\ "SWAP",\ "DEPOSIT_FRACTIONAL_POOL",\ "FRACTIONALIZE",\ "CREATE_APPRAISAL"\ ], "BIFROST": [\ "NFT_MINT",\ "WITHDRAW"\ ], "HEDGE": [\ "addCollateralType"\ ], "ATADIA": [\ "TOKEN_MINT",\ "NFT_MINT"\ ], "JUPITER": [\ "SWAP"\ ], "METAPLEX": [\ "NFT_SALE",\ "NFT_LISTING",\ "NFT_BID",\ "AUCTION_HOUSE_CREATE",\ "CLOSE_ESCROW_ACCOUNT",\ "AUCTION_MANAGER_CLAIM_BID",\ "EMPTY_PAYMENT_ACCOUNT",\ "NFT_PARTICIPATION_REWARD",\ "VALIDATE_SAFETY_DEPOSIT_BOX_V2",\ "INIT_AUCTION_MANAGER_V2",\ "NFT_AUCTION_CREATED",\ "NFT_BID_CANCELLED",\ "SET_AUTHORITY",\ "CREATE_STORE",\ "WHITELIST_CREATOR",\ "UPDATE_PRIMARY_SALE_METADATA",\ "NFT_MINT",\ "BURN_NFT",\ "INIT_VAULT",\ "ADD_TOKEN_TO_VAULT",\ "ACTIVATE_VAULT",\ "UPDATE_EXTERNAL_PRICE_ACCOUNT",\ "REQUEST_PNFT_MIGRATION",\ "START_PNFT_MIGRATION",\ "MIGRATE_TO_PNFT"\ ], "FOXY": [\ "SWAP"\ ], "FOXY_STAKING": [\ "STAKE_TOKEN",\ "UNSTAKE_TOKEN"\ ], "FOXY_RAFFLE": [\ "CREATE_RAFFLE",\ "BUY_TICKETS",\ "UPDATE_RAFFLE"\ ], "FOXY_TOKEN_MARKET": [\ "ADD_ITEM"\ ], "FOXY_MISSIONS": [\ "UPGRADE_FOX"\ ], "FOXY_MARMALADE": [\ "CREATE_ESCROW"\ ], "FOXY_COINFLIP": [\ "CREATE_BET"\ ], "FOXY_AUCTION": [\ "NFT_BID",\ "NFT_AUCTION_CANCELLED",\ "NFT_AUCTION_CREATED",\ "NFT_SALE"\ ], "ALDRIN": [\ "SWAP"\ ], "HADESWAP": [\ "SWAP"\ ], "CARDINAL_RENT": [\ "NFT_RENT_LISTING",\ "NFT_RENT_ACTIVATE",\ "NFT_RENT_CANCEL_LISTING",\ "NFT_RENT_UPDATE_LISTING"\ ], "CARDINAL_STAKING": [\ "STAKE_TOKEN",\ "UNSTAKE_TOKEN"\ ], "SQUADS": [\ "EXECUTE_TRANSACTION",\ "CREATE_TRANSACTION",\ "APPROVE_TRANSACTION",\ "ACTIVATE_TRANSACTION",\ "REJECT_TRANSACTION",\ "CANCEL_TRANSACTION",\ "ADD_INSTRUCTION"\ ], "ELIXIR_LAUNCHPAD": [\ "NFT_MINT"\ ], "SHARKY_FI": [\ "OFFER_LOAN",\ "RESCIND_LOAN",\ "REPAY_LOAN",\ "TAKE_LOAN",\ "FORECLOSE_LOAN"\ ], "CITRUS": [\ "CANCEL_OFFER",\ "LEND_FOR_NFT",\ "REQUEST_LOAN",\ "CANCEL_LOAN_REQUEST",\ "BORROW_SOL_FOR_NFT",\ "REPAY_LOAN",\ "CLAIM_NFT",\ "REBORROW_SOL_FOR_NFT",\ "OFFER_LOAN",\ "UPDATE_OFFER"\ ], "SOLANA_PROGRAM_LIBRARY": [\ "BURN",\ "TOKEN_MINT",\ "NFT_MINT",\ "TRANSFER"\ ], "SYSTEM_PROGRAM": [\ "TRANSFER"\ ], "STAKE_PROGRAM": [\ "STAKE_SOL",\ "UNSTAKE_SOL",\ "INIT_STAKE",\ "MERGE_STAKE",\ "SPLIT_STAKE",\ "WITHDRAW"\ ], "BPF_UPGRADEABLE_LOADER": [\ "UPGRADE_PROGRAM_INSTRUCTION"\ ], "BPF_LOADER": [\ "FINALIZE_PROGRAM_INSTRUCTION"\ ], "RAYDIUM": [\ "WITHDRAW_LIQUIDITY",\ "ADD_LIQUIDITY",\ "CREATE_POOL",\ "SWAP"\ ], "PUMP_AMM": [\ "CREATE_POOL",\ "DEPOSIT",\ "WITHDRAW",\ "BUY",\ "SELL"\ ] } [​](https://www.helius.dev/docs/zh/webhooks/transaction-types#using-transaction-types-in-your-code) Using Transaction Types in Your Code ------------------------------------------------------------------------------------------------------------------------------------------- When implementing webhook listeners, you can filter for specific transaction types of interest. Here’s a simple example of how to listen for NFT sale events: 报告错误代码 复制 询问AI javascript // 用于 NFT 销售的示例 webhook 处理程序 app.post('/webhook', (req, res) => { const event = req.body; // 过滤 NFT 销售交易 if (event.type === 'NFT_SALE') { console.log('检测到 NFT 销售!'); console.log('卖家:', event.seller); console.log('买家:', event.buyer); console.log('价格:', event.amount); console.log('NFT:', event.nft?.mint); // 处理销售事件 // ... } res.status(200).send('OK'); }); 您可以使用 Type-to-Source 和 Source-to-Type 映射来预测哪些程序将生成特定的交易类型。 此页面对您有帮助吗? 是否 [上一页](https://www.helius.dev/docs/zh/webhooks) [概述学习如何使用 Helius 基础设施可靠地发送和确认 Solana 交易。质押连接、优先费用和企业级可靠性。\ \ 下一页](https://www.helius.dev/docs/zh/sending-transactions/overview) ⌘I 在此页面 * [理解交易类型](https://www.helius.dev/docs/zh/webhooks/transaction-types#%E7%90%86%E8%A7%A3%E4%BA%A4%E6%98%93%E7%B1%BB%E5%9E%8B) * [将交易类型映射到来源](https://www.helius.dev/docs/zh/webhooks/transaction-types#%E5%B0%86%E4%BA%A4%E6%98%93%E7%B1%BB%E5%9E%8B%E6%98%A0%E5%B0%84%E5%88%B0%E6%9D%A5%E6%BA%90) * [类型到来源参考](https://www.helius.dev/docs/zh/webhooks/transaction-types#%E7%B1%BB%E5%9E%8B%E5%88%B0%E6%9D%A5%E6%BA%90%E5%8F%82%E8%80%83) * [来源到类型参考](https://www.helius.dev/docs/zh/webhooks/transaction-types#%E6%9D%A5%E6%BA%90%E5%88%B0%E7%B1%BB%E5%9E%8B%E5%8F%82%E8%80%83) * [Using Transaction Types in Your Code](https://www.helius.dev/docs/zh/webhooks/transaction-types#using-transaction-types-in-your-code) --- # What is ZK Compression on Solana? - Helius Docs [Skip to main content](https://www.helius.dev/docs/zk-compression/introduction#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Compression What is ZK Compression on Solana? [ZK Compression](https://www.zkcompression.com/) is a generalized compression framework that allows developers to store data on Solana at a fraction of the cost. After helping develop cNFT compression, Helius saw the need to build a generalized system. So, along with the [Light team](https://lightprotocol.com/) , we built ZK Compression to allow developers to store arbitrary data in _compressed accounts_, akin to native Solana accounts. [​](https://www.helius.dev/docs/zk-compression/introduction#photon:-the-zk-compression-indexer) Photon: the ZK Compression Indexer ------------------------------------------------------------------------------------------------------------------------------------- Helius built [Photon](https://github.com/helius-labs/photon) , the ZK Compression indexer. In ZK Compression, programs log compressed account data in Solana transactions and store the fingerprint of that data in validator memory. Photon indexes Solana transactions to parse and store compressed account data. It then exposes a [ZK Compression](https://www.helius.dev/docs/api-reference/zk-compression) API similar to Solana’s native API to help users access compression data. Though developers can directly host Photon, we expose a Photon API to streamline the developer experience. Please visit the official [ZK Compression docs](https://www.zkcompression.com/) to learn more about ZK Compression and Photon. Was this page helpful? YesNo [Previous](https://www.helius.dev/docs/nfts/cnft-event-listening) [OverviewCost-effective Solana token airdrops using ZK compression. Reduce airdrop costs by 95% with Helius AirShip's open-source distribution tool.\ \ Next](https://www.helius.dev/docs/airship/overview) ⌘I On this page * [Photon: the ZK Compression Indexer](https://www.helius.dev/docs/zk-compression/introduction#photon%3A-the-zk-compression-indexer) --- # 什么是 Solana 上的 ZK 压缩? - Helius Docs [跳转到主要内容](https://www.helius.dev/docs/zh/zk-compression/introduction#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![CN](https://d3gk2c5xim1je2.cloudfront.net/flags/CN.svg) 简体中文 搜索... ⌘KAsk AI 搜索... Navigation 压缩 什么是 Solana 上的 ZK 压缩? [ZK 压缩](https://www.zkcompression.com/) 是一个通用的压缩框架,允许开发者以极低的成本在 Solana 上存储数据。在帮助开发 cNFT 压缩后,Helius 发现需要构建一个通用系统。因此,我们与 [Light 团队](https://lightprotocol.com/) 一起构建了 ZK 压缩,以允许开发者在 _压缩账户_ 中存储任意数据,类似于 Solana 原生账户。 [​](https://www.helius.dev/docs/zh/zk-compression/introduction#photon%EF%BC%9Azk-%E5%8E%8B%E7%BC%A9%E7%B4%A2%E5%BC%95%E5%99%A8) Photon:ZK 压缩索引器 -------------------------------------------------------------------------------------------------------------------------------------------------- Helius 构建了 [Photon](https://github.com/helius-labs/photon) ,即 ZK Compression 索引器。在 ZK Compression 中,程序在 Solana 交易中记录压缩的账户数据,并将该数据的指纹存储在验证器内存中。Photon 索引 Solana 交易以解析和存储压缩的账户数据。然后,它提供一个类似于 Solana 原生 API 的 [ZK Compression](https://www.helius.dev/docs/api-reference/zk-compression) API,帮助用户访问压缩数据。虽然开发者可以直接托管 Photon,但我们提供了一个 Photon API 以简化开发者体验。 请访问官方 [ZK 压缩文档](https://www.zkcompression.com/) 以了解有关 ZK 压缩和 Photon 的更多信息。 此页面对您有帮助吗? 是否 [上一页](https://www.helius.dev/docs/zh/nfts/cnft-event-listening) [概述使用 ZK 压缩进行经济高效的 Solana 代币空投。通过 Helius AirShip 的开源分发工具,将空投成本降低 95%。\ \ 下一页](https://www.helius.dev/docs/zh/airship/overview) ⌘I 在此页面 * [Photon:ZK 压缩索引器](https://www.helius.dev/docs/zh/zk-compression/introduction#photon%EF%BC%9Azk-%E5%8E%8B%E7%BC%A9%E7%B4%A2%E5%BC%95%E5%99%A8) --- # Page Not Found [跳转到主要内容](https://www.helius.dev/docs/zh/orb/explore-validators#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![CN](https://d3gk2c5xim1je2.cloudfront.net/flags/CN.svg) 简体中文 搜索... ⌘KAsk AI 搜索... Navigation 使用 Orb Page Not Found 404 Page Not Found ============== We couldn't find the page. Maybe you were looking for one of these pages below? [How to Find Top Solana Validators on Orb](https://www.helius.dev/docs/orb/explore-validators#) [How to Explore Blocks on Solana](https://www.helius.dev/docs/orb/explore-blocks#how-to-explore-blocks-on-solana) [Using the Orb Block Explorer as a Solana Wallet Tracker](https://www.helius.dev/docs/orb/explore-wallets#using-the-orb-block-explorer-as-a-solana-wallet-tracker) ⌘I --- # Page Not Found [跳转到主要内容](https://www.helius.dev/docs/zh/orb/explore-markets#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![CN](https://d3gk2c5xim1je2.cloudfront.net/flags/CN.svg) 简体中文 搜索... ⌘KAsk AI 搜索... Navigation 使用 Orb Page Not Found 404 Page Not Found ============== We couldn't find the page. Maybe you were looking for one of these pages below? [Using the Orb Block Explorer as a Solana Wallet Tracker](https://www.helius.dev/docs/orb/explore-wallets#using-the-orb-block-explorer-as-a-solana-wallet-tracker) [How to Use the Orb Solana Devnet Explorer](https://www.helius.dev/docs/orb/explore-devnet#how-to-use-the-orb-solana-devnet-explorer) [How to Use Orb: Solana Block Explorer Tutorials](https://www.helius.dev/docs/orb#how-to-use-orb-solana-block-explorer-tutorials) ⌘I --- # Page Not Found [跳转到主要内容](https://www.helius.dev/docs/zh/orb/swap-tokens#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![CN](https://d3gk2c5xim1je2.cloudfront.net/flags/CN.svg) 简体中文 搜索... ⌘KAsk AI 搜索... Navigation 使用 Orb Page Not Found 404 Page Not Found ============== We couldn't find the page. Maybe you were looking for one of these pages below? [How to Swap Solana Tokens on Orb](https://www.helius.dev/docs/orb/swap-tokens#how-to-swap-solana-tokens-on-orb) [Using the Orb Block Explorer as a Solana Wallet Tracker](https://www.helius.dev/docs/orb/explore-wallets#using-the-orb-block-explorer-as-a-solana-wallet-tracker) [How to Find Top Solana Coins on Orb](https://www.helius.dev/docs/orb/explore-markets#how-to-find-top-solana-coins-on-orb) ⌘I --- # 使用 Helius 构建您的第一个 Solana 应用 - Helius Docs [Skip to main content](https://www.helius.dev/docs/zh/quickstart#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation 使用 Helius 构建您的第一个 Solana 应用 准备好在 Solana 上构建了吗?本指南将引导您使用 Helius API 创建您的第一个应用。您将学习如何获取 NFT 数据、理解响应结构,并了解如何利用我们的基础设施轻松构建强大的应用程序。 1 创建您的免费 Helius 账户 ---------------- 首先在 [Helius Dashboard](https://dashboard.helius.dev/dashboard) 创建您的免费账户。您的免费套餐每月包含 100,000 次 DAS API 调用,非常适合入门和构建原型。 2 获取您的 API 密钥 ----------- 前往 [API Keys](https://dashboard.helius.dev/api-keys) 部分并复制您的密钥。此密钥可让您访问所有 Helius API,包括 RPC 节点、DAS API 和增强的交易数据。 3 进行您的第一次 API 调用 -------------- 让我们从一个实际示例开始:从钱包中获取 NFT。我们将使用 [getAssetsByOwner](https://www.helius.dev/docs/zh/api-reference/das/getassetsbyowner) 方法查询 `86xCn…o2MMY`(Solana 联合创始人 Anatoly Yakovenko 的钱包)拥有的资产。**这里发生了什么?** DAS API 允许您通过一次调用查询压缩和标准 NFT。请注意,响应中包含元数据、图片 URL 和所有权信息——构建丰富用户体验所需的所有数据。 4 理解响应 ---- 太棒了!您已成功获取 NFT 数据。响应包括: * **资产 ID**:每个 NFT 的唯一标识符 * **元数据**:名称、符号、描述和属性 * **内容**:图片 URL 和文件信息 * **所有权**:当前所有者和权限信息 [​](https://www.helius.dev/docs/zh/quickstart#%E7%94%A8%E4%BB%A3%E7%A0%81%E6%9E%84%E5%BB%BA) 用代码构建 ----------------------------------------------------------------------------------------------------- 现在让我们在实际应用中实现这一点。我们将创建一个简单的 NFT 投资组合查看器,您可以在此基础上进行扩展。 我们将在此示例中使用 Node.js。请确保您已从 [nodejs.org](https://nodejs.org/en/download) 安装它。 1 ### 设置您的项目 Report incorrect code Copy Ask AI mkdir solana-nft-viewer cd solana-nft-viewer npm init -y npm install node-fetch 2 ### 创建 NFT 投资组合查看器 nft-portfolio.js Report incorrect code Copy Ask AI const fetch = require('node-fetch'); class NFTPortfolioViewer { constructor(apiKey) { this.apiKey = apiKey; this.baseUrl = 'https://mainnet.helius-rpc.com'; } async fetchNFTsByOwner(ownerAddress, limit = 10) { try { const response = await fetch(`${this.baseUrl}/?api-key=${this.apiKey}`, { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ jsonrpc: '2.0', id: '1', method: 'getAssetsByOwner', params: { ownerAddress, page: 1, limit, displayOptions: { showFungible: false, showNativeBalance: false, }, }, }), }); const data = await response.json(); if (data.error) { throw new Error(data.error.message); } return data.result; } catch (error) { console.error('Error fetching NFTs:', error.message); throw error; } } displayNFTPortfolio(nfts) { console.log('\n🖼️ NFT Portfolio Summary'); console.log('========================'); console.log(`Total NFTs: ${nfts.total}`); console.log(`Showing: ${nfts.items.length} items\n`); nfts.items.forEach((nft, index) => { console.log(`${index + 1}. ${nft.content?.metadata?.name || 'Unnamed NFT'}`); console.log(` Collection: ${nft.grouping?.[0]?.group_value || 'Individual'}`); console.log(` Compressed: ${nft.compression?.compressed ? 'Yes' : 'No'}`); console.log(` Image: ${nft.content?.files?.[0]?.uri || 'No image'}`); console.log(` ID: ${nft.id}\n`); }); } async getRandomNFT(ownerAddress) { const portfolio = await this.fetchNFTsByOwner(ownerAddress, 50); if (portfolio.items.length === 0) { console.log('No NFTs found for this address.'); return null; } const randomIndex = Math.floor(Math.random() * portfolio.items.length); return portfolio.items[randomIndex]; } } // Usage example async function main() { const viewer = new NFTPortfolioViewer('YOUR_API_KEY'); // Anatoly's wallet address const walletAddress = '86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY'; console.log('🚀 Fetching NFT portfolio...'); try { // Get full portfolio overview const portfolio = await viewer.fetchNFTsByOwner(walletAddress); viewer.displayNFTPortfolio(portfolio); // Get a random NFT for featured display console.log('🎲 Featured Random NFT:'); console.log('====================='); const randomNFT = await viewer.getRandomNFT(walletAddress); if (randomNFT) { console.log(`Name: ${randomNFT.content?.metadata?.name}`); console.log(`Description: ${randomNFT.content?.metadata?.description || 'No description'}`); console.log(`Image: ${randomNFT.content?.files?.[0]?.uri}`); } } catch (error) { console.error('Failed to fetch NFT data:', error.message); } } main(); 3 ### 添加您的 API 密钥 将 `YOUR_API_KEY` 替换为您从 Helius 仪表板获取的实际 API 密钥。 4 ### 运行您的 NFT 投资组合查看器 Report incorrect code Copy Ask AI node nft-portfolio.js 5 ### 成功!🎉 您已经构建了您的第一个 Solana 应用程序!输出显示: * 钱包中的 NFT 总数 * 包括压缩状态在内的单个 NFT 详细信息 * 集合信息 * 一个随机精选的 NFT **您学到了什么:** * 如何构建对 Helius 的 API 调用 * 处理 DAS API 响应格式 * 处理压缩和标准 NFT * 为 NFT 操作构建可重用代码 [​](https://www.helius.dev/docs/zh/quickstart#%E6%9B%B4%E8%BF%9B%E4%B8%80%E6%AD%A5) 更进一步 ------------------------------------------------------------------------------------------- 现在您已经了解了基础知识,可以探索以下高级功能: [发送交易\ ----\ \ 学习交易优化、优先费用和智能路由以实现可靠执行。](https://www.helius.dev/docs/zh/sending-transactions/overview) [高级 NFT 操作\ ---------\ \ 按特征搜索 NFT,获取集合统计信息,并大规模处理代币元数据。](https://www.helius.dev/docs/zh/das/get-nfts) [实时数据流\ -----\ \ 使用 gRPC 或增强的 WebSockets 以亚秒级延迟流式传输实时区块链数据。](https://www.helius.dev/docs/zh/data-streaming/quickstart) [使用 Webhooks 自动化\ ---------------\ \ 为钱包活动、NFT 销售和自定义链上事件设置智能通知。](https://www.helius.dev/docs/zh/webhooks) [​](https://www.helius.dev/docs/zh/quickstart#%E6%8E%A5%E4%B8%8B%E6%9D%A5%E5%81%9A%E4%BB%80%E4%B9%88%EF%BC%9F) 接下来做什么? ------------------------------------------------------------------------------------------------------------------------- 您已经成功使用 Helius 构建了您的第一个 Solana 应用程序!以下是一些扩展项目的想法: * **添加钱包连接**:与钱包集成 * **构建用户界面**:创建一个 React/Vue 前端来显示投资组合 * **添加筛选功能**:按收藏、特征或铸造日期搜索 * **实时更新**:使用 WebSockets 显示投资组合的实时变化 * **分析功能**:跟踪投资组合价值和 NFT 价格历史 Was this page helpful? YesNo ⌘I On this page * [用代码构建](https://www.helius.dev/docs/zh/quickstart#%E7%94%A8%E4%BB%A3%E7%A0%81%E6%9E%84%E5%BB%BA) * [更进一步](https://www.helius.dev/docs/zh/quickstart#%E6%9B%B4%E8%BF%9B%E4%B8%80%E6%AD%A5) * [接下来做什么?](https://www.helius.dev/docs/zh/quickstart#%E6%8E%A5%E4%B8%8B%E6%9D%A5%E5%81%9A%E4%BB%80%E4%B9%88%EF%BC%9F) --- # How to Swap Solana Tokens on Orb - Helius Docs [Skip to main content](https://www.helius.dev/docs/orb/swap-tokens#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Using Orb How to Swap Solana Tokens on Orb Block explorers like [Orb](https://orb.helius.dev/) are great tools for [finding top Solana coins](https://www.helius.dev/orb/explore-markets) , researching projects, and deciding whether to buy or sell tokens. To make this process even easier, we’ve added a “Buy” button to every Solana token page indexed on the Orb explorer. All you need to do is connect your wallet and click “Buy” to swap into or out of any SPL token on Solana. This tutorial explains how to swap tokens on Solana using Orb, along with keyboard shortcuts for faster research and easier buys. [​](https://www.helius.dev/docs/orb/swap-tokens#swapping-solana-tokens-on-orb) **Swapping Solana Tokens on Orb** ------------------------------------------------------------------------------------------------------------------- Here is a step-by-step tutorial on finding and trading tokens on Orb. ### [​](https://www.helius.dev/docs/orb/swap-tokens#find-the-token) **Find the Token** First, find the token you’re looking to swap by either searching by name in Orb’s search bar or by entering the token’s mint address. ![Find Zec Token On Solana Using The Orb Explorer Jp](https://mintcdn.com/helius/X4NJAjNn4RMMK4jH/images/find-zec-token-on-solana-using-the-orb-explorer.jpg?w=2500&fit=max&auto=format&n=X4NJAjNn4RMMK4jH&q=85&s=259d415a6e2f1fe6e8a92e7da83a8a91) Orb token search bar showing the ZEC token on Solana For more details, learn about [looking up Solana tokens](https://www.helius.dev/docs/orb/explore-tokens) and [finding SPL mint addresses](https://www.helius.dev/docs/orb/explore-authorities) . ### [​](https://www.helius.dev/docs/orb/swap-tokens#click-%E2%80%9Cbuy%E2%80%9D) Click “Buy” At the top of the page, next to the token’s image and name, click the orange “Buy” button. You will also see key token metrics, including supply, market cap, liquidity, fully diluted value (FDV), current price, holders (on Solana), and 24-hour volume. ![Zec Token Explorer And Swap Button On Orb Jp](https://mintcdn.com/helius/mxJR5cR2qBt5r4qx/images/zec-token-explorer-and-swap-button-on-orb.jpg?w=2500&fit=max&auto=format&n=mxJR5cR2qBt5r4qx&q=85&s=972d5d64fd3fc39c2517364b18fbc250) Solana token page on the Orb explorer with the “Buy” button highlighted For this example, we’ll swap SOL for ZEC (Zcash) on Solana. ### [​](https://www.helius.dev/docs/orb/swap-tokens#connect-your-wallet) Connect Your Wallet Clicking the “Buy” button or pressing the keyboard shortcut “B” opens a dialogue box prompting you to connect your wallet. ![Connect Solana Wallet To The Orb Explorer To Swap Tokens Jp](https://mintcdn.com/helius/X4NJAjNn4RMMK4jH/images/connect-solana-wallet-to-the-orb-explorer-to-swap-tokens.jpg?w=2500&fit=max&auto=format&n=X4NJAjNn4RMMK4jH&q=85&s=c38f6b98591202678c9f4ba46b8a5741) Dialogue box to connect your wallet, powered by reown ### [​](https://www.helius.dev/docs/orb/swap-tokens#use-the-swap-widget) Use the Swap Widget Once connected, you’ll see the main swap widget. ![The Orb Explorer Swap Widget For Trading Tokens On Solana Jp](https://mintcdn.com/helius/Mi8GsGOkm1vOOHvS/images/the-orb-explorer-swap-widget-for-trading-tokens-on-solana.jpg?w=2500&fit=max&auto=format&n=Mi8GsGOkm1vOOHvS&q=85&s=930d328621c36e454e22a1f6094b9bde) Orb swap widget indicating a 0.015 SOL swap for ZEC This swap widget UI lets you choose the asset and amount you want to buy/sell.  Once you click “Buy ZEC,” your wallet will display a confirmation message. ![Phantom Wallet Swap Confirmation For Trading On The Orb Explorer Jp](https://mintcdn.com/helius/Mi8GsGOkm1vOOHvS/images/phantom-wallet-swap-confirmation-for-trading-on-the-orb-explorer.jpg?w=2500&fit=max&auto=format&n=Mi8GsGOkm1vOOHvS&q=85&s=1822ae7fa7a20cda50125330c2975626) Phantom swap confirmation message for trading on Orb Once you click confirm, your trade will be routed through [DFlow’s](https://dflow.net/) meta aggregator or Jupiter. DFlow’s intelligent transaction execution stack offers traders the best prices and tightest spreads. A 0.1% swap fee is applied to all swaps made through the Orb UI. ### [​](https://www.helius.dev/docs/orb/swap-tokens#view-swap-details) View Swap Details Once the swap is completed, you’ll see a swap confirmation message and a link to [view the transaction details](https://www.helius.dev/docs/orb/explore-transactions) . Click this link to see a summary of your trade. ![Sol Zec Swap Transaction Explorer Summary On The Orb Jp](https://mintcdn.com/helius/Mi8GsGOkm1vOOHvS/images/sol-zec-swap-transaction-explorer-summary-on-the-orb.jpg?w=2500&fit=max&auto=format&n=Mi8GsGOkm1vOOHvS&q=85&s=20bc6788a2e834da2dcff7e05cb60323) Swap transaction summary page on the Orb explorer That’s it!  You’ve successfully swapped Solana for ZEC on Orb. To [view your wallet balances](https://www.helius.dev/docs/orb/explore-wallets) , go to your wallet page on Orb and click the **Tokens** tab. ![Solana Wallet Explorer Tab On Orb Jp](https://mintcdn.com/helius/Mi8GsGOkm1vOOHvS/images/solana-wallet-explorer-tab-on-orb.jpg?w=2500&fit=max&auto=format&n=Mi8GsGOkm1vOOHvS&q=85&s=e3e43c855513475c69621c1085b1a779) Explore token balances for any wallet on Orb [​](https://www.helius.dev/docs/orb/swap-tokens#conclusion) **Conclusion** ----------------------------------------------------------------------------- Discovering, researching, and buying tokens on Solana doesn’t need to be a complicated process involving multiple different websites and research tools. The [Orb block explorer](https://orb.helius.dev/) provides everything investors need to find, analyze, and buy crypto. For more information, read our other guides on: * [Finding Solana Mint Addresses](https://www.helius.dev/docs/orb/explore-mint-addresses) * [Researching Solana Token Authorities](https://www.helius.dev/docs/orb/explore-authorities) * [Discovering Trending Solana Tokens](https://www.helius.dev/docs/orb/explore-markets) Was this page helpful? YesNo [Previous](https://www.helius.dev/docs/orb) [Explore DevnetLearn how to use Orb, a new block explorer for Solana Devnet to analyze blocks, inspect on-chain programs, and debug transactions.\ \ Next](https://www.helius.dev/docs/orb/explore-devnet) ⌘I On this page * [Swapping Solana Tokens on Orb](https://www.helius.dev/docs/orb/swap-tokens#swapping-solana-tokens-on-orb) * [Find the Token](https://www.helius.dev/docs/orb/swap-tokens#find-the-token) * [Click “Buy”](https://www.helius.dev/docs/orb/swap-tokens#click-%E2%80%9Cbuy%E2%80%9D) * [Connect Your Wallet](https://www.helius.dev/docs/orb/swap-tokens#connect-your-wallet) * [Use the Swap Widget](https://www.helius.dev/docs/orb/swap-tokens#use-the-swap-widget) * [View Swap Details](https://www.helius.dev/docs/orb/swap-tokens#view-swap-details) * [Conclusion](https://www.helius.dev/docs/orb/swap-tokens#conclusion) --- # How to Find Top Solana Coins on Orb - Helius Docs [Skip to main content](https://www.helius.dev/docs/orb/explore-markets#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Using Orb How to Find Top Solana Coins on Orb The [Orb block explorer](https://orb.helius.dev/) has a **Markets** page that highlights the [top coins on Solana](https://orb.helius.dev/markets) so you can quickly find the best projects across majors, currencies, DeFi, DePIN, and memecoins. This tutorial explains how to discover tokens on Solana with Orb, use keyboard shortcuts to speed up research, and buy tokens directly through Orb. [​](https://www.helius.dev/docs/orb/explore-markets#top-coins-on-solana) **Top Coins on Solana** --------------------------------------------------------------------------------------------------- The **Markets** page lists the top coins on Solana. Click each tab to view a curated list of assets or use the following numbered keyboard shortcuts: 1. Trending  2. Majors  3. DeFi  4. Stocks  5. Currencies  6. DePIN  7. Cults ### [​](https://www.helius.dev/docs/orb/explore-markets#trending-coins) Trending Coins The trending tokens tab filters the top coins on Solana by trading volume, minimum market cap, and FDV. To navigate the token list, use the following keyboard shortcuts: * Press “W” or ”S” to navigate up and down rows * Press “A” or “D” to navigate to the next and previous pages * Press “B” to buy the selected token ![Trending Solana Token Explorer Orb Jp](https://mintcdn.com/helius/mxJR5cR2qBt5r4qx/images/trending-solana-token-explorer-orb.jpg?w=2500&fit=max&auto=format&n=mxJR5cR2qBt5r4qx&q=85&s=d64cd7faa780e0383f5cd11a83dc6cea) Top trending coins tradeable on Solana If you want to learn more, click the asset’s name to view its [token details page](https://www.helius.dev/docs/orb/explore-tokens) . ### [​](https://www.helius.dev/docs/orb/explore-markets#major-assets) Major Assets Majors are verified tokens on Solana of reputable, blue-chip assets such as wrapped Bitcoin (BTC), Ethereum (ETH), Hyperliquid (HYPE), Zcash (ZEC), and Monad (MON). ![Explore Top Major Assets On Solana Using The Orb Jp](https://mintcdn.com/helius/X4NJAjNn4RMMK4jH/images/explore-top-major-assets-on-solana-using-the-orb.jpg?w=2500&fit=max&auto=format&n=X4NJAjNn4RMMK4jH&q=85&s=2c2ba4483d3bf389a37ac5a698357a72) The top major assets that are tradeable on Solana To access this list via shortcuts, press “2”. ### [​](https://www.helius.dev/docs/orb/explore-markets#defi-tokens) DeFi Tokens [Solana’s DeFi ecosystem](https://www.helius.dev/blog/solana-ecosystem-report-h1-2025) is home to some of crypto’s highest-revenue-generating applications, like Pump.fun, Jupiter, Kamino, Ore, and Meteora. Type “3” to navigate to the top DeFi tokens tab on Orb and view a curated list of the top assets by volume, market cap, and liquidity. ![Explore Top Defi Coins On Solana With Orb Jp](https://mintcdn.com/helius/X4NJAjNn4RMMK4jH/images/explore-top-defi-coins-on-solana-with-orb.jpg?w=2500&fit=max&auto=format&n=X4NJAjNn4RMMK4jH&q=85&s=e54fe7ec6c3ba1f6df11386bfefd2bc9) Top 10 DeFi coins tradeable on Solana ### [​](https://www.helius.dev/docs/orb/explore-markets#tokenized-stocks) Tokenized Stocks xStocks powered by Backed, which Kraken recently acquired, are synthetic tokens that track the price of stocks like TSLA, NVDA, and NFLX that are traded on traditional stock exchanges like NYSE and NASDAQ. While these stocks can’t be redeemed for the underlying stock, they do use [Token Extensions](https://www.helius.dev/blog/what-is-token-2022) , such as Scaled UI, to support stock activities like stock splits. ![Netflix Xstock On Solana With 10 1 Stock Split Token Extension Jp](https://mintcdn.com/helius/X4NJAjNn4RMMK4jH/images/netflix-xstock-on-solana-with-10-1-stock-split-token-extension.jpg?w=2500&fit=max&auto=format&n=X4NJAjNn4RMMK4jH&q=85&s=fe37e136b8e7aca33c639bad1f8f3eec) Netflix xStock with a new Scaled UI multiplier of 10 effective 2025-11-16 at 15:55:00 to handle Netflix’s recent 10:1 stock split To view xStocks and PreStocks, backed by Republic Capital, click the **Stocks** tab or use the keyboard shortcut “4” to see a list of the top equities on Solana. ![Explore Top Tokenized Stocks And Equities Trading On Solana Jp](https://mintcdn.com/helius/X4NJAjNn4RMMK4jH/images/explore-top-tokenized-stocks-and-equities-trading-on-solana.jpg?w=2500&fit=max&auto=format&n=X4NJAjNn4RMMK4jH&q=85&s=7247e6bb36eea62ec7fdd19b95feaa2a) Top 10 xStocks and PreStocks tradeable on Solana ### [​](https://www.helius.dev/docs/orb/explore-markets#currencies) Currencies Investors can also trade [stablecoins](https://www.helius.dev/blog/solanas-stablecoin-landscape) and foreign currencies, including stablecoins for Euros, Swiss Francs, the British Pound, and more.  To view currencies, click the **Currencies** tab or use the keyboard shortcut “5”. ![Explore Top Stablecoins And Forex Currencies On Solana With Orb Jp](https://mintcdn.com/helius/X4NJAjNn4RMMK4jH/images/explore-top-stablecoins-and-forex-currencies-on-solana-with-orb.jpg?w=2500&fit=max&auto=format&n=X4NJAjNn4RMMK4jH&q=85&s=420717c0587fb2b945964e790dc4205c) Top 10 stablecoins and Forex currencies tradeable on Solana ### [​](https://www.helius.dev/docs/orb/explore-markets#depin-projects) DePIN Projects [DePIN](https://www.helius.dev/blog/a-short-introduction-to-depin) , or Decentralized Physical Infrastructure Networks, is one of the fastest-growing sectors on Solana. On the DePIN tab, find tokens for decentralized fiber networks (DoubleZero), decentralized wireless networks (Helium), decentralized mapping (Hivemapper), and more. ![Top Solana Depin Coins Orb Explorer Jp](https://mintcdn.com/helius/Mi8GsGOkm1vOOHvS/images/top-solana-depin-coins-orb-explorer.jpg?w=2500&fit=max&auto=format&n=Mi8GsGOkm1vOOHvS&q=85&s=8a830b817ac27ae523e25429a1cd1819) Top DePIN coins tradeable on Solana To view DePIN projects, click the **DePIN** tab or use the keyboard shortcut “6”. ### [​](https://www.helius.dev/docs/orb/explore-markets#memecoins-cults) Memecoins (Cults) Because of Solana’s low fees, fast transaction times, and ability to handle massive scale, it has become the blockchain of choice for memecoins.  While creators have launched millions of memecoins on Solana just this year, only a handful have developed cult-like followings, such as the official $TRUMP memecoin, which led to [historic records of trading activity on Solana](https://www.helius.dev/blog/trump-solana-memecoin-records-trends-insights) , iconic internet memes like Popcat, and memes created by AI agents like Truth Terminal’s $FARTCOIN. ![Top Solana Memecoin Explorer Orb Jp](https://mintcdn.com/helius/Mi8GsGOkm1vOOHvS/images/top-solana-memecoin-explorer-orb.jpg?w=2500&fit=max&auto=format&n=Mi8GsGOkm1vOOHvS&q=85&s=c29181427f6f4f112b06b6e99daf1801) Top memecoin cult tokens tradeable on Solana To view the top Solana memecoins, click the **Cults** tab or use the keyboard shortcut “7”. [​](https://www.helius.dev/docs/orb/explore-markets#conclusion) **Conclusion** --------------------------------------------------------------------------------- Asset discovery, research, and trading don’t need to be complicated or require multiple tools. With the [Orb block explorer](https://orb.helius.dev/) , investors get a curated list of verified, reputable assets, key trading information like volume, market capitalization, and revenue, and a simple UI for buying any token on Solana. For more information about using Orb, check out these other tutorials: * [Looking Up Solana Coins](https://www.helius.dev/docs/orb/explore-tokens) * [Finding Solana Token Authorities](https://www.helius.dev/docs/orb/explore-authorities) * [How to Swap Solana Tokens on Orb](https://www.helius.dev/docs/orb/swap-tokens) Was this page helpful? YesNo [Previous](https://www.helius.dev/docs/orb/explore-tokens) [Explore WalletsLearn how to use Orb, a new Solana block explorer, to track, analyze, and check Solana wallets, including transactions, tokens, balances, funding, and more.\ \ Next](https://www.helius.dev/docs/orb/explore-wallets) ⌘I On this page * [Top Coins on Solana](https://www.helius.dev/docs/orb/explore-markets#top-coins-on-solana) * [Trending Coins](https://www.helius.dev/docs/orb/explore-markets#trending-coins) * [Major Assets](https://www.helius.dev/docs/orb/explore-markets#major-assets) * [DeFi Tokens](https://www.helius.dev/docs/orb/explore-markets#defi-tokens) * [Tokenized Stocks](https://www.helius.dev/docs/orb/explore-markets#tokenized-stocks) * [Currencies](https://www.helius.dev/docs/orb/explore-markets#currencies) * [DePIN Projects](https://www.helius.dev/docs/orb/explore-markets#depin-projects) * [Memecoins (Cults)](https://www.helius.dev/docs/orb/explore-markets#memecoins-cults) * [Conclusion](https://www.helius.dev/docs/orb/explore-markets#conclusion) --- # How to Find Top Solana Validators on Orb - Helius Docs [Skip to main content](https://www.helius.dev/docs/orb/explore-validators#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Using Orb How to Find Top Solana Validators on Orb The [Orb](https://orb.helius.dev/) block explorer has dedicated pages for each Solana validator, with key information including vote addresses, total stake, APY, transaction history, and more. This tutorial will explain how to research Solana validators on Orb, pick [the best place to stake your SOL](https://www.helius.dev/staking/calculator) , and begin earning [SOL staking rewards](https://www.helius.dev/staking/rewards) . [​](https://www.helius.dev/docs/orb/explore-validators#find-top-solana-validators) **Find Top Solana Validators** -------------------------------------------------------------------------------------------------------------------- There are two main ways to search for validators on the Orb explorer: 1. Using the search bar 2. From the Network section ### [​](https://www.helius.dev/docs/orb/explore-validators#searching-for-validators) **Searching for Validators** To find validators on Orb, simply enter their name or vote identity in the search bar. If there are multiple results for your query, filter by the “Validator” category. ![Solana Validator Explorer Orb Jp](https://mintcdn.com/helius/Mi8GsGOkm1vOOHvS/images/solana-validator-explorer-orb.jpg?w=2500&fit=max&auto=format&n=Mi8GsGOkm1vOOHvS&q=85&s=36674656779df92a5c411e6593cc6f74) Search for Solana validators by name or identity on the Orb explorer Once the result appears, click it to visit their validator page. ### [​](https://www.helius.dev/docs/orb/explore-validators#network-section) **Network Section** The [Solana network statistics](https://orb.helius.dev/stats) page has a summary view of the top 10 Solana validators ranked by total stake. From here, you can quickly see the top validators, sort results, and paginate through the list. ![Explore Top Solana Validators On Orb Jp](https://mintcdn.com/helius/X4NJAjNn4RMMK4jH/images/explore-top-solana-validators-on-orb.jpg?w=2500&fit=max&auto=format&n=X4NJAjNn4RMMK4jH&q=85&s=3f86d6514fa8f9782d55893f68b0464c) Explore top Solana validators on the Orb explorer network statistics page To visit a validator page, simply click the result. [​](https://www.helius.dev/docs/orb/explore-validators#researching-solana-validators) **Researching Solana Validators** -------------------------------------------------------------------------------------------------------------------------- Let’s break down the Solana validator performance metrics you can find on Orb. ### [​](https://www.helius.dev/docs/orb/explore-validators#validator-stake-and-apy) **Validator Stake and APY** At the top of the page, you can see the validator’s total active stake, APY, commission rates, and other high-level information. ![Solana Validator Performance Explorer Orb Jp](https://mintcdn.com/helius/Mi8GsGOkm1vOOHvS/images/solana-validator-performance-explorer-orb.jpg?w=2500&fit=max&auto=format&n=Mi8GsGOkm1vOOHvS&q=85&s=0c7625ca60b2fe4ee8aa45225be79ff8) The validator performance metrics summary for the Helius validator on Orb When looking for a place to stake your Solana, make sure you check the commission rates, as they directly impact how much yield you can earn. Just below the summary section, you can find some of the validator’s metadata, including: * **Authorized voter address:** the public key permitted to cast votes on behalf of the validator’s stake * **Authorized withdrawer:** the public key permitted to withdraw SOL from the stake account * **Identity account:** the system account that pays for vote transaction fees submitted to the vote account ### [​](https://www.helius.dev/docs/orb/explore-validators#validator-transaction-history) **Validator Transaction History** Below the metadata section, you’ll find a table with five different sections. These sections can be navigated using keyboard shortcuts. Simply type the numbers 1-5 to access each tab. In the **History** section, you’ll find the validator’s most recent transactions. These will mainly be votes cast on recent blocks. Click **See more details** to [inspect the transaction](https://www.helius.dev/docs/orb/explore-transactions) . ![Solana Validator Transaction History Explorer Orb Jp](https://mintcdn.com/helius/Mi8GsGOkm1vOOHvS/images/solana-validator-transaction-history-explorer-orb.jpg?w=2500&fit=max&auto=format&n=Mi8GsGOkm1vOOHvS&q=85&s=b1281cefa5942a1e81979c52caa39bb3) The most recent transactions executed by the Helius validator ### [​](https://www.helius.dev/docs/orb/explore-validators#validator-stake-accounts) **Validator Stake Accounts** Using shortcut “2”, navigate to the **Stake Accounts** section. In this table, view the account, total delegated stake, activation epoch, account creation date, and account metadata, including withdraw and stake authority. ![Solana Validator Stake Account Explorer Orb Jp](https://mintcdn.com/helius/Mi8GsGOkm1vOOHvS/images/solana-validator-stake-account-explorer-orb.jpg?w=2500&fit=max&auto=format&n=Mi8GsGOkm1vOOHvS&q=85&s=a5f70afd85670ff5614b8a6c004db18c) The top 10 Solana stake accounts delegated to the Helius validator ### [​](https://www.helius.dev/docs/orb/explore-validators#validator-vote-history) **Validator Vote History** Typing “3” on your keyboard will take you to the **Vote History** page. This page shows the most recent slots the validator voted on, along with the confirmation count. For blocks to be “rooted” on Solana, they need to receive 32 confirmations. This will give it the [“Finalized” commitment](https://www.helius.dev/blog/solana-commitment-levels) . ![Solana Validator Vote History Explorer Orb Jp](https://mintcdn.com/helius/Mi8GsGOkm1vOOHvS/images/solana-validator-vote-history-explorer-orb.jpg?w=2500&fit=max&auto=format&n=Mi8GsGOkm1vOOHvS&q=85&s=dcf902c95de3c6259560155c8ee7a85b) Helius’s Solana validator vote history page on the Orb explorer The finalization commitment levels will change with the introduction of [Alpenglow](https://www.helius.dev/blog/alpenglow) , Solana’s upcoming consensus upgrade that replaces TowerBFT. ### [​](https://www.helius.dev/docs/orb/explore-validators#validator-delinquency-metrics) **Validator Delinquency Metrics** The **Delinquency** tab shows the total number of delinquent days and the total delinquent minutes over the last 12 months. You can view this in a heatmap view or as a table. Delinquent stake refers to a validator’s total stake for which it has failed to cast a vote on the network for a specified period, falling behind the cluster.  For example, [Binance’s Solana validator](https://orb.helius.dev/address/3N7s9zXMZ4QqvHQR15t5GNHyqc89KduzMP7423eWiD5g/delinquency) has experienced **40 delinquent days** and **651 delinquent minutes** over the past 12 months.  ![Binance Solana Validator Delinquency Metrics On The Orb Explorer Jp](https://mintcdn.com/helius/X4NJAjNn4RMMK4jH/images/binance-solana-validator-delinquency-metrics-on-the-orb-explorer.jpg?w=2500&fit=max&auto=format&n=X4NJAjNn4RMMK4jH&q=85&s=1bf77796a75ef8762df8ef06f803b2c5) Binance’s Solana validator delinquency heatmap on the Orb explorer While a validator is delinquent, the validator’s stake will not earn staking rewards, which negatively impacts the SOL staking APY for delegators. When choosing a place to stake your SOL, it is important to choose a validator that is not delinquent.  ### [​](https://www.helius.dev/docs/orb/explore-validators#validator-info) **Validator Info** The **Info** tab shows a description of the validator along with key details such as: * **Identity:** the unique public key identifying the validator * **Stake weight:** the total amount of SOL delegated to this validator * **Client version:** the software version the validator is currently running * **Commission:** The percentage of staking rewards the validator takes as a fee * **Website:** a link to the validator operator’s website or informational page * **Location:** the geographic location of the validator’s server * **Network:** the provider hosting the validator’s server (e.g., Teraswitch, Latitude, etc.) * **ASN:** the Autonomous System Number identifying the network provider * **Skip rate:** the percentage of scheduled blocks the validator missed producing * **Vote success rate:** the percentage of valid votes the validator successfully submitted * **Uptime:** the duration the validator has been actively validating and voting * **Last vote:** the slot number of the most recent block the validator voted on * **First epoch:** the epoch number when the validator first began participating * **Root slot:** the most recent slot number the validator has finalized * **Epoch credits:** the number of vote credits the validator earned within the current epoch * **Total credits:** the cumulative number of vote credits the validator has earned all time ![Helius Solana Validator Info Section On Orb Validator Explorer Jp](https://mintcdn.com/helius/X4NJAjNn4RMMK4jH/images/helius-solana-validator-info-section-on-orb-validator-explorer.jpg?w=2500&fit=max&auto=format&n=X4NJAjNn4RMMK4jH&q=85&s=0f3536c8fa4ed15d878b7994c1a33711) The Helius validator info tab on the Orb explorer When selecting a place to stake SOL, look for a validator with low skip rates, high uptime, and high vote success rates, as each of these metrics will impact your total SOL yield. * **Uptime:** low uptime means more skipped blocks and fewer rewards * **Skip rates:** more skipped blocks means less issuance and MEV rewards earned * **Vote success rates:** lower success rates mean fewer vote credits and fewer rewards [​](https://www.helius.dev/docs/orb/explore-validators#conclusion) **Conclusion** ------------------------------------------------------------------------------------ The [Orb block explorer](https://orb.helius.dev/) is a powerful tool for researching the top validators on Solana. Once you’ve finished comparing Solana staking providers and are ready to earn yield on your SOL, start staking! If you want to stake with Helius, visit the [Orb staking portal](https://orb.helius.dev/stake) . For more information, check out these additional staking resources: * [Solana Rewards](https://www.helius.dev/staking/rewards) * [SOL Staking Calculator](https://www.helius.dev/staking/calculator) * [Solana (SOL) Staking Guide](https://www.helius.dev/blog/solana-staking-simplified-guide-to-sol-staking) Was this page helpful? YesNo [Previous](https://www.helius.dev/docs/orb/explore-programs) [Explore AuthoritiesLearn how to use Orb, a new Solana block explorer, to find the mint, freeze, and update authority for Solana tokens and on-chain programs.\ \ Next](https://www.helius.dev/docs/orb/explore-authorities) ⌘I On this page * [Find Top Solana Validators](https://www.helius.dev/docs/orb/explore-validators#find-top-solana-validators) * [Searching for Validators](https://www.helius.dev/docs/orb/explore-validators#searching-for-validators) * [Network Section](https://www.helius.dev/docs/orb/explore-validators#network-section) * [Researching Solana Validators](https://www.helius.dev/docs/orb/explore-validators#researching-solana-validators) * [Validator Stake and APY](https://www.helius.dev/docs/orb/explore-validators#validator-stake-and-apy) * [Validator Transaction History](https://www.helius.dev/docs/orb/explore-validators#validator-transaction-history) * [Validator Stake Accounts](https://www.helius.dev/docs/orb/explore-validators#validator-stake-accounts) * [Validator Vote History](https://www.helius.dev/docs/orb/explore-validators#validator-vote-history) * [Validator Delinquency Metrics](https://www.helius.dev/docs/orb/explore-validators#validator-delinquency-metrics) * [Validator Info](https://www.helius.dev/docs/orb/explore-validators#validator-info) * [Conclusion](https://www.helius.dev/docs/orb/explore-validators#conclusion) --- # Solana 历史数据概览与教程 - Helius Docs [Skip to main content](https://www.helius.dev/docs/zh/rpc/historical-data#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Solana 历史数据概览与教程 [​](https://www.helius.dev/docs/zh/rpc/historical-data#%E4%B8%BA%E4%BB%80%E4%B9%88%E9%80%89%E6%8B%A9-helius-%E8%BF%9B%E8%A1%8C%E5%8E%86%E5%8F%B2%E6%95%B0%E6%8D%AE%E6%9F%A5%E8%AF%A2%EF%BC%9F) 为什么选择 Helius 进行历史数据查询? ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 与依赖共享 BigTable 基础设施的提供商不同,Helius 维护专用的归档节点,优化用于快速历史数据检索。这种架构为时间关键型应用提供了卓越的性能和可靠性。 独立基础设施 ------ Helius 运行自己的归档系统,而不是像其他提供商那样共享 BigTable 更快的查询 ----- 直接访问优化的存储意味着历史查询的响应时间更快 更高的可靠性 ------ 无共享基础设施瓶颈。即使在网络高峰期也能保持一致的性能 * * * [​](https://www.helius.dev/docs/zh/rpc/historical-data#%E7%89%B9%E8%89%B2%E6%96%B9%E6%B3%95%EF%BC%9Agettransactionsforaddress) 特色方法:getTransactionsForAddress ---------------------------------------------------------------------------------------------------------------------------------------------------------------- [高级交易历史 API\ ----------\ \ 我们的增强方法超越了标准 Solana RPC 功能。通过强大的过滤、双向排序和高效分页查询交易历史。**特别之处在于:**\ \ * 基于时间和槽位的过滤\ * 双向排序(最旧优先或最新优先)\ * 高效的键集分页\ * 单次请求中的完整交易数据\ * 支持版本化交易\ \ **完美适用于:**\ \ * 代币发行分析\ * 钱包历史\ * MEV 研究\ * 合规报告\ * 投资组合跟踪](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress) [查看完整文档\ ------\ \ 包含示例和最佳实践的完整指南](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress) [获取您的 API 密钥\ -----------\ \ 今天就开始使用历史数据进行构建](https://dashboard.helius.dev/api-keys) * * * [​](https://www.helius.dev/docs/zh/rpc/historical-data#%E6%A0%87%E5%87%86%E5%BD%92%E6%A1%A3%E6%96%B9%E6%B3%95) 标准归档方法 ------------------------------------------------------------------------------------------------------------------------ 使用这些标准 RPC 方法访问历史区块链数据。 ### [​](https://www.helius.dev/docs/zh/rpc/historical-data#%E5%8C%BA%E5%9D%97%E6%95%B0%E6%8D%AE%E6%96%B9%E6%B3%95) 区块数据方法 查询历史区块信息和元数据。 #### [​](https://www.helius.dev/docs/zh/rpc/historical-data#getblock) getBlock 检索完整的区块数据,包括特定插槽的所有交易和元数据。 **用例:** * 区块浏览器 * 审计工具 * 历史分析 [查看 getBlock 指南\ --------------](https://www.helius.dev/docs/zh/rpc/guides/getblock) #### [​](https://www.helius.dev/docs/zh/rpc/historical-data#getblocks) getBlocks 获取两个插槽之间的已确认区块列表。 **用例:** * 间隙检测 * 区块范围分析 * 索引 [查看 getBlocks 指南\ ---------------](https://www.helius.dev/docs/zh/rpc/guides/getblocks) #### [​](https://www.helius.dev/docs/zh/rpc/historical-data#getblocktime) getBlockTime 获取区块的估计生产时间,以 Unix 时间戳表示。 **用例:** * 基于时间的分析 * 事件关联 [查看 getBlockTime 指南\ ------------------](https://www.helius.dev/docs/zh/rpc/guides/getblocktime) ### [​](https://www.helius.dev/docs/zh/rpc/historical-data#%E4%BA%A4%E6%98%93%E5%8E%86%E5%8F%B2%E6%96%B9%E6%B3%95) 交易历史方法 访问历史交易数据和签名。 #### [​](https://www.helius.dev/docs/zh/rpc/historical-data#gettransaction) getTransaction 检索特定签名的完整交易详情。 **用例:** * 交易验证 * 详细分析 * 调试 [查看 getTransaction 指南\ --------------------](https://www.helius.dev/docs/zh/rpc/guides/gettransaction) #### [​](https://www.helius.dev/docs/zh/rpc/historical-data#getsignaturesforaddress) getSignaturesForAddress 获取涉及某个地址的交易的已确认签名。 **用例:** * 基本交易历史 * 签名收集 对于高级过滤和排序,请使用 [`getTransactionsForAddress`](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress) 代替。 [查看 getSignaturesForAddress 指南\ -----------------------------](https://www.helius.dev/docs/zh/rpc/guides/getsignaturesforaddress) #### [​](https://www.helius.dev/docs/zh/rpc/historical-data#gettransactionsforaddress) getTransactionsForAddress 增强的交易历史,具有高级过滤、双向排序和高效分页功能。**每个请求花费 100 积分。** **用例:** * 基于时间的交易分析 * 状态过滤(成功/失败) * 按时间顺序的历史重放 * 一次调用中获取完整的交易数据 [查看 getTransactionsForAddress 指南\ -------------------------------](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress) #### [​](https://www.helius.dev/docs/zh/rpc/historical-data#getinflationreward) getInflationReward 获取一个纪元中一组地址的通胀奖励。 **用例:** * 验证者奖励 * 质押分析 [查看 getInflationReward 指南\ ------------------------](https://www.helius.dev/docs/zh/rpc/guides/getinflationreward) * * * [​](https://www.helius.dev/docs/zh/rpc/historical-data#solana-%E5%BD%92%E6%A1%A3%E7%94%A8%E4%BE%8B) Solana 归档用例 ------------------------------------------------------------------------------------------------------------------ 代币发行分析 ------ 跟踪铸币创建和早期持有者活动。识别项目起源和初始分配模式。 钱包取证 ---- 构建完整的交易时间线。发现资金来源和随时间变化的交易模式。 MEV 研究 ------ 分析历史套利和三明治攻击。研究具有精确时间数据的 MEV 机会。 合规与审计 ----- 生成全面的交易报告。通过完整的历史记录支持监管合规。 投资组合跟踪 ------ 访问完整的 DeFi 交易历史。构建准确的投资组合分析和绩效跟踪。 区块浏览器 ----- 显示完整的区块链历史。为用户提供详细的区块和交易信息。 * * * [​](https://www.helius.dev/docs/zh/rpc/historical-data#%E5%8F%AF%E7%94%A8%E7%9A%84%E5%8E%86%E5%8F%B2%E6%95%B0%E6%8D%AE%E6%98%AF%E4%BB%80%E4%B9%88%EF%BC%9F) 可用的历史数据是什么? -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Helius 提供从 Solana 创世到现在的完整历史数据,并实时持续更新。我们的索引和结构化存储支持快速检索,使您能够高效查询多年的链上活动。 所有历史数据都完全支持版本化交易和所有 Solana 程序类型。Helius 在独立的归档基础设施上维护这些数据,提供一致的性能,没有共享 BigTable 系统常见的瓶颈或可靠性问题。 * * * [​](https://www.helius.dev/docs/zh/rpc/historical-data#%E5%BC%80%E5%A7%8B%E4%BD%BF%E7%94%A8) 开始使用 ---------------------------------------------------------------------------------------------------- 准备好访问 Solana 的完整历史数据了吗?以下是开始的方法: * **[尝试 getTransactionsForAddress](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress) ** - 从我们的增强型交易历史 API 开始 * **[获取您的 API 密钥](https://dashboard.helius.dev/api-keys) ** - 注册并开始查询历史数据 * **[查看积分](https://www.helius.dev/docs/zh/billing/credits) ** - 查看所有方法的积分成本 * * * [​](https://www.helius.dev/docs/zh/rpc/historical-data#%E6%94%AF%E6%8C%81%E4%B8%8E%E7%A4%BE%E5%8C%BA) 支持与社区 -------------------------------------------------------------------------------------------------------------- [联系支持\ ----\ \ 获取我们团队的帮助,解决技术问题和疑问](https://www.helius.dev/docs/zh/support) [Discord 社区\ ----------\ \ 加入数千名使用 Helius 在 Solana 上构建的开发者](https://discord.com/invite/6GXdee3gBj) Was this page helpful? YesNo ⌘I On this page * [为什么选择 Helius 进行历史数据查询?](https://www.helius.dev/docs/zh/rpc/historical-data#%E4%B8%BA%E4%BB%80%E4%B9%88%E9%80%89%E6%8B%A9-helius-%E8%BF%9B%E8%A1%8C%E5%8E%86%E5%8F%B2%E6%95%B0%E6%8D%AE%E6%9F%A5%E8%AF%A2%EF%BC%9F) * [特色方法:getTransactionsForAddress](https://www.helius.dev/docs/zh/rpc/historical-data#%E7%89%B9%E8%89%B2%E6%96%B9%E6%B3%95%EF%BC%9Agettransactionsforaddress) * [标准归档方法](https://www.helius.dev/docs/zh/rpc/historical-data#%E6%A0%87%E5%87%86%E5%BD%92%E6%A1%A3%E6%96%B9%E6%B3%95) * [区块数据方法](https://www.helius.dev/docs/zh/rpc/historical-data#%E5%8C%BA%E5%9D%97%E6%95%B0%E6%8D%AE%E6%96%B9%E6%B3%95) * [getBlock](https://www.helius.dev/docs/zh/rpc/historical-data#getblock) * [getBlocks](https://www.helius.dev/docs/zh/rpc/historical-data#getblocks) * [getBlockTime](https://www.helius.dev/docs/zh/rpc/historical-data#getblocktime) * [交易历史方法](https://www.helius.dev/docs/zh/rpc/historical-data#%E4%BA%A4%E6%98%93%E5%8E%86%E5%8F%B2%E6%96%B9%E6%B3%95) * [getTransaction](https://www.helius.dev/docs/zh/rpc/historical-data#gettransaction) * [getSignaturesForAddress](https://www.helius.dev/docs/zh/rpc/historical-data#getsignaturesforaddress) * [getTransactionsForAddress](https://www.helius.dev/docs/zh/rpc/historical-data#gettransactionsforaddress) * [getInflationReward](https://www.helius.dev/docs/zh/rpc/historical-data#getinflationreward) * [Solana 归档用例](https://www.helius.dev/docs/zh/rpc/historical-data#solana-%E5%BD%92%E6%A1%A3%E7%94%A8%E4%BE%8B) * [可用的历史数据是什么?](https://www.helius.dev/docs/zh/rpc/historical-data#%E5%8F%AF%E7%94%A8%E7%9A%84%E5%8E%86%E5%8F%B2%E6%95%B0%E6%8D%AE%E6%98%AF%E4%BB%80%E4%B9%88%EF%BC%9F) * [开始使用](https://www.helius.dev/docs/zh/rpc/historical-data#%E5%BC%80%E5%A7%8B%E4%BD%BF%E7%94%A8) * [支持与社区](https://www.helius.dev/docs/zh/rpc/historical-data#%E6%94%AF%E6%8C%81%E4%B8%8E%E7%A4%BE%E5%8C%BA) --- # Build Your First Solana App with Helius - Helius Docs [Skip to main content](https://www.helius.dev/docs/quickstart#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation Build Your First Solana App with Helius Ready to build on Solana? This guide will walk you through creating your first application using Helius APIs. You’ll learn how to fetch NFT data, understand the response structure, and see how easy it is to build powerful applications with our infrastructure. 1 Create Your Free Helius Account ------------------------------- Start by creating your free account at the [Helius Dashboard](https://dashboard.helius.dev/dashboard) . Your free tier includes 100,000 DAS API calls per month; perfect for getting started and building prototypes. 2 Get Your API Key ---------------- Navigate to the [API Keys](https://dashboard.helius.dev/api-keys) section and copy your key. This key gives you access to all Helius APIs, including RPC nodes, DAS API, and enhanced transaction data. 3 Make Your First API Call ------------------------ Let’s start with a practical example: fetching NFTs from a wallet. We’ll use the [getAssetsByOwner](https://www.helius.dev/docs/api-reference/das/getassetsbyowner) method to query assets owned by `86xCn…o2MMY` (Anatoly Yakovenko’s wallet, co-founder of Solana).**What’s happening here?** The DAS API allows you to query compressed and standard NFTs with a single call. Notice how the response includes metadata, image URLs, and ownership information - all the data you need to build rich user experiences. 4 Understanding the Response -------------------------- Great! You’ve successfully fetched NFT data. The response includes: * **Asset ID**: Unique identifier for each NFT * **Metadata**: Name, symbol, description, and attributes * **Content**: Image URLs and file information * **Ownership**: Current owner and authority information [​](https://www.helius.dev/docs/quickstart#build-it-with-code) Build It with Code ------------------------------------------------------------------------------------ Now let’s implement this in a real application. We’ll create a simple NFT portfolio viewer that you can expand upon. We’ll use Node.js for this example. Make sure you have it installed from [nodejs.org](https://nodejs.org/en/download) . 1 ### Set up your project Report incorrect code Copy Ask AI mkdir solana-nft-viewer cd solana-nft-viewer npm init -y npm install node-fetch 2 ### Create the NFT portfolio viewer nft-portfolio.js Report incorrect code Copy Ask AI const fetch = require('node-fetch'); class NFTPortfolioViewer { constructor(apiKey) { this.apiKey = apiKey; this.baseUrl = 'https://mainnet.helius-rpc.com'; } async fetchNFTsByOwner(ownerAddress, limit = 10) { try { const response = await fetch(`${this.baseUrl}/?api-key=${this.apiKey}`, { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ jsonrpc: '2.0', id: '1', method: 'getAssetsByOwner', params: { ownerAddress, page: 1, limit, displayOptions: { showFungible: false, showNativeBalance: false, }, }, }), }); const data = await response.json(); if (data.error) { throw new Error(data.error.message); } return data.result; } catch (error) { console.error('Error fetching NFTs:', error.message); throw error; } } displayNFTPortfolio(nfts) { console.log('\n🖼️ NFT Portfolio Summary'); console.log('========================'); console.log(`Total NFTs: ${nfts.total}`); console.log(`Showing: ${nfts.items.length} items\n`); nfts.items.forEach((nft, index) => { console.log(`${index + 1}. ${nft.content?.metadata?.name || 'Unnamed NFT'}`); console.log(` Collection: ${nft.grouping?.[0]?.group_value || 'Individual'}`); console.log(` Compressed: ${nft.compression?.compressed ? 'Yes' : 'No'}`); console.log(` Image: ${nft.content?.files?.[0]?.uri || 'No image'}`); console.log(` ID: ${nft.id}\n`); }); } async getRandomNFT(ownerAddress) { const portfolio = await this.fetchNFTsByOwner(ownerAddress, 50); if (portfolio.items.length === 0) { console.log('No NFTs found for this address.'); return null; } const randomIndex = Math.floor(Math.random() * portfolio.items.length); return portfolio.items[randomIndex]; } } // Usage example async function main() { const viewer = new NFTPortfolioViewer('YOUR_API_KEY'); // Anatoly's wallet address const walletAddress = '86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY'; console.log('🚀 Fetching NFT portfolio...'); try { // Get full portfolio overview const portfolio = await viewer.fetchNFTsByOwner(walletAddress); viewer.displayNFTPortfolio(portfolio); // Get a random NFT for featured display console.log('🎲 Featured Random NFT:'); console.log('====================='); const randomNFT = await viewer.getRandomNFT(walletAddress); if (randomNFT) { console.log(`Name: ${randomNFT.content?.metadata?.name}`); console.log(`Description: ${randomNFT.content?.metadata?.description || 'No description'}`); console.log(`Image: ${randomNFT.content?.files?.[0]?.uri}`); } } catch (error) { console.error('Failed to fetch NFT data:', error.message); } } main(); 3 ### Add your API key Replace `YOUR_API_KEY` with your actual API key from the Helius dashboard. 4 ### Run your NFT portfolio viewer Report incorrect code Copy Ask AI node nft-portfolio.js 5 ### Success! 🎉 You’ve built your first Solana application! The output shows: * Total NFT count in the wallet * Individual NFT details including compression status * Collection information * A featured random NFT **What you’ve learned:** * How to structure API calls to Helius * Working with the DAS API response format * Handling compressed vs standard NFTs * Building reusable code for NFT operations [​](https://www.helius.dev/docs/quickstart#take-it-further) Take It Further ------------------------------------------------------------------------------ Now that you understand the basics, explore these advanced features: [Send Transactions\ -----------------\ \ Learn transaction optimization, priority fees, and smart routing for reliable execution.](https://www.helius.dev/docs/sending-transactions/overview) [Advanced NFT Operations\ -----------------------\ \ Search NFTs by traits, fetch collection stats, and work with token metadata at scale.](https://www.helius.dev/docs/das/get-nfts) [Real-Time Data Streaming\ ------------------------\ \ Stream live blockchain data with sub-second latency using gRPC or enhanced WebSockets.](https://www.helius.dev/docs/data-streaming/quickstart) [Automate with Webhooks\ ----------------------\ \ Set up intelligent notifications for wallet activity, NFT sales, and custom on-chain events.](https://www.helius.dev/docs/webhooks) [​](https://www.helius.dev/docs/quickstart#what%E2%80%99s-next) What’s Next? ------------------------------------------------------------------------------- You’ve successfully built your first Solana application with Helius! Here are some ideas to expand your project: * **Add wallet connection**: Integrate with wallets * **Build a UI**: Create a React/Vue frontend to display the portfolio * **Add filtering**: Search by collection, traits, or mint date * **Real-time updates**: Use WebSockets to show live portfolio changes * **Analytics**: Track portfolio value and NFT price history Was this page helpful? YesNo ⌘I On this page * [Build It with Code](https://www.helius.dev/docs/quickstart#build-it-with-code) * [Take It Further](https://www.helius.dev/docs/quickstart#take-it-further) * [What’s Next?](https://www.helius.dev/docs/quickstart#what%E2%80%99s-next) --- # getTransactionsForAddress 概述和教程 - Helius Docs [Skip to main content](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#content-area) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. [Learn More](https://www.helius.dev/docs/rpc/gettransactionsforaddress) [Helius Docs home page![light logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/light.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=8dc7d328f4e40fdaa0746889c10be474)![dark logo](https://mintcdn.com/helius/RGuN9Tphu9J_7kRM/logo/dark.svg?fit=max&auto=format&n=RGuN9Tphu9J_7kRM&q=85&s=a2ba5e6cf5d5173b0e44b958556367d1)](https://www.helius.dev/) ![US](https://d3gk2c5xim1je2.cloudfront.net/flags/US.svg) English Search... ⌘KAsk AI Search... Navigation getTransactionsForAddress 概述和教程 **Helius 独家功能** - `getTransactionsForAddress` 仅通过 Helius RPC 节点提供,并不是标准 Solana RPC 的一部分。此端点需要 [开发者计划](https://www.helius.dev/docs/zh/billing/plans) 或更高级别,并且每次请求消耗 100 积分。返回 100 个完整交易或 1,000 个签名。 [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E6%A6%82%E8%BF%B0) 概述 ------------------------------------------------------------------------------------------ [`getTransactionsForAddress`](https://www.helius.dev/docs/zh/api-reference/rpc/http/gettransactionsforaddress) 提供强大的交易历史查询功能,具有高级过滤、灵活排序和高效分页。 ### [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E4%B8%BB%E8%A6%81%E5%8A%9F%E8%83%BD) 主要功能 灵活排序 ---- 按时间顺序排序(最早优先)或反向排序(最新优先) 高级过滤 ---- 按时间范围、槽位、签名和交易状态进行过滤 完整交易数据 ------ 一次调用获取完整的交易详情 简单分页 ---- 使用 slot:position 令牌轻松分页 * * * [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E5%B8%B8%E8%A7%81%E7%94%A8%E4%BE%8B) 常见用例 -------------------------------------------------------------------------------------------------------------- 此方法在多个场景中特别有用。**代币发行分析**有助于跟踪新项目的首次铸币交易和早期代币持有者。**钱包资金历史**允许您识别特定地址的资金来源和交易模式。**交易分析**让您可以按成功/失败状态进行过滤,专注于已完成的交易并排除失败的尝试。 该 API 还支持 **审计与合规** 工作流,通过状态过滤为特定时间段生成交易报告。**分析仪表板**可以利用历史重播功能构建全面的交易分析。最后,**投资组合跟踪**应用程序可以访问完整的成功交易历史,用于 DeFi 投资组合管理。 [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E7%BD%91%E7%BB%9C%E6%94%AF%E6%8C%81) 网络支持 -------------------------------------------------------------------------------------------------------------- | 网络 | 支持 | 保留期 | | --- | --- | --- | | Mainnet | 是 | 无限 | | Devnet | 是 | 2周 | | Testnet | 否 | 不适用 | * * * [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B) 快速开始 -------------------------------------------------------------------------------------------------------------- 1 获取您的API密钥 从[Helius Dashboard](https://dashboard.helius.dev/api-keys) 获取您的API密钥。 2 使用高级功能查询 获取在两个日期之间的钱包的所有成功交易,按时间顺序排序: Report incorrect code Copy Ask AI // Get successful transactions between Jan 1-31, 2025 in chronological order const response = await fetch('https://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ jsonrpc: '2.0', id: 1, method: 'getTransactionsForAddress', params: [\ 'YOUR_ADDRESS_HERE',\ {\ transactionDetails: 'full',\ sortOrder: 'asc',\ limit: 100,\ filters: {\ blockTime: {\ gte: 1735689600, // Jan 1, 2025\ lte: 1738368000 // Jan 31, 2025\ },\ status: 'succeeded' // Only successful transactions\ }\ }\ ] }) }); const data = await response.json(); console.log('Successful transactions in January:', data.result.data); 3 了解参数 此示例展示了关键功能: * **transactionDetails**: 设置为`'full'`以在一次调用中获取完整的交易数据 * **sortOrder**: 使用`'asc'`按时间顺序(最旧的优先)或`'desc'`按最新的优先 * **filters.blockTime**: 使用`gte`(大于或等于)和`lte`(小于或等于)设置时间范围 * **filters.status**: 仅过滤`'succeeded'`或`'failed'`交易 * * * [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E8%AF%B7%E6%B1%82%E5%8F%82%E6%95%B0) 请求参数 -------------------------------------------------------------------------------------------------------------- [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#param-address) address string required 要查询交易历史的账户的Base-58编码公钥 [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#param-transaction-details) transactionDetails string default:"signatures" 返回的交易详细级别: * `signatures`: 基本签名信息(更快) * `full`: 完整的交易数据(消除对getTransaction调用的需求,要求限制≤100) [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#param-sort-order) sortOrder string default:"desc" 结果的排序顺序: * `desc`: 最新的优先(默认) * `asc`: 最旧的优先(按时间顺序,适合历史分析) [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#param-limit) limit number default:"1000" 返回的最大交易数: * 当`transactionDetails: "signatures"`时最多1000 * 当`transactionDetails: "full"`时最多100 [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#param-pagination-token) paginationToken string 上一个响应的分页令牌(格式:`"slot:position"`) [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#param-commitment) commitment string default:"finalized" 承诺级别:`finalized`, `confirmed`, 或 `processed` [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#param-filters) filters object 用于缩小结果范围的高级过滤选项。 [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#param-filters-slot) filters.slot object 使用比较运算符按槽号进行过滤:`gte`, `gt`, `lte`, `lt`示例:`{ "slot": { "gte": 1000, "lte": 2000 } }` [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#param-filters-block-time) filters.blockTime object 使用比较运算符按Unix时间戳进行过滤:`gte`, `gt`, `lte`, `lt`, `eq`示例:`{ "blockTime": { "gte": 1640995200, "lte": 1641081600 } }` [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#param-filters-signature) filters.signature object 使用比较运算符按交易签名进行过滤:`gte`, `gt`, `lte`, `lt`示例:`{ "signature": { "lt": "SIGNATURE_STRING" } }` [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#param-filters-status) filters.status string 按交易成功/失败状态进行过滤: * `succeeded`: 仅成功的交易 * `failed`: 仅失败的交易 * `any`: 成功和失败的交易(默认) 示例:`{ "status": "succeeded" }` [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#param-encoding) encoding string 交易数据的编码格式(仅在`transactionDetails: "full"`时适用)。与`getTransaction` API相同。选项:`json`, `jsonParsed`, `base64`, `base58` [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#param-max-supported-transaction-version) maxSupportedTransactionVersion number 设置要返回的最大交易版本。如果省略,将仅返回传统交易。设置为`0`以包含所有版本的交易。 [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#param-min-context-slot) minContextSlot number 请求可以评估的最小槽位 * * * [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E8%BF%87%E6%BB%A4%E8%BF%90%E7%AE%97%E7%AC%A6) 过滤运算符 ------------------------------------------------------------------------------------------------------------------------ 使用过滤器时,可以使用比较运算符进行`slot`, `blockTime`或`signature`,以及一个特殊的`status`过滤器。这些运算符的工作方式类似于数据库查询,能够精确控制数据范围。 ### [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E6%AF%94%E8%BE%83%E8%BF%90%E7%AE%97%E7%AC%A6) 比较运算符 | 运算符 | 全名 | 描述 | 示例 | | --- | --- | --- | --- | | `gte` | 大于或等于 | 包含值 ≥ 指定值 | `slot: { gte: 100 }` | | `gt` | 大于 | 包含值 > 指定值 | `blockTime: { gt: 1641081600 }` | | `lte` | 小于或等于 | 包含值 ≤ 指定值 | `slot: { lte: 2000 }` | | `lt` | 小于 | 包含值 < 指定值 | `blockTime: { lt: 1641168000 }` | | `eq` | 等于 | 包含值完全等于(仅`blockTime`) | `blockTime: { eq: 1641081600 }` | ### [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E7%8A%B6%E6%80%81%E8%BF%87%E6%BB%A4%E5%99%A8) 状态过滤器 | 过滤器 | 描述 | 值 | | --- | --- | --- | | `status` | 按成功/失败过滤交易 | `succeeded`, `failed`, 或 `any` | **组合过滤器示例:** Report incorrect code Copy Ask AI // Time range with successful transactions only "filters": { "blockTime": { "gte": 1640995200, "lte": 1641081600 }, "status": "succeeded" } // Slot range "filters": { "slot": { "gte": 1000, "lte": 2000 } } // Only failed transactions "filters": { "status": "failed" } * * * [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E5%93%8D%E5%BA%94%E6%A0%BC%E5%BC%8F) 响应格式 -------------------------------------------------------------------------------------------------------------- * 签名响应 * 完整交易响应 Report incorrect code Copy Ask AI { "jsonrpc": "2.0", "id": 1, "result": { "data": [\ {\ "signature": "5h6xBEauJ3PK6SWCZ1PGjBvj8vDdWG3KpwATGy1ARAXFSDwt8GFXM7W5Ncn16wmqokgpiKRLuS83KUxyZyv2sUYv",\ "slot": 1054,\ "err": null,\ "memo": null,\ "blockTime": 1641038400,\ "confirmationStatus": "finalized"\ }\ ], "paginationToken": "1055:5" } } Report incorrect code Copy Ask AI { "jsonrpc": "2.0", "id": 1, "result": { "data": [\ {\ "slot": 1054,\ "transaction": {\ "signatures": ["5h6xBEauJ3PK6SWCZ1PGjBvj8vDdWG3KpwATGy1ARAXFSDwt8GFXM7W5Ncn16wmqokgpiKRLuS83KUxyZyv2sUYv"],\ "message": {\ "accountKeys": ["...", "..."],\ "instructions": [...],\ // Complete transaction structure\ }\ },\ "meta": {\ "fee": 5000,\ "preBalances": [1000000, 2000000],\ "postBalances": [999995000, 2000000],\ // Complete metadata\ }\ }\ ], "paginationToken": "1055:5" } } * * * [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E5%AE%9E%E7%94%A8%E7%A4%BA%E4%BE%8B) 实用示例 -------------------------------------------------------------------------------------------------------------- ### [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E5%9F%BA%E4%BA%8E%E6%97%B6%E9%97%B4%E7%9A%84%E5%88%86%E6%9E%90) 基于时间的分析 生成每月交易报告: Report incorrect code Copy Ask AI // Get all successful transactions for January 2025 const startTime = Math.floor(new Date('2025-01-01').getTime() / 1000); const endTime = Math.floor(new Date('2025-02-01').getTime() / 1000); { "jsonrpc": "2.0", "id": 1, "method": "getTransactionsForAddress", "params": [\ "WALLET_OR_PROGRAM_ADDRESS",\ {\ "transactionDetails": "signatures",\ "filters": {\ "blockTime": {\ "gte": startTime,\ "lt": endTime\ },\ "status": "succeeded"\ },\ "limit": 1000\ }\ ] } 分析处理: Report incorrect code Copy Ask AI // Calculate daily transaction volume const dailyStats = {}; response.result.data.forEach(tx => { const date = new Date(tx.blockTime * 1000).toISOString().split('T')[0]; dailyStats[date] = (dailyStats[date] || 0) + 1; }); console.log('Daily Transaction Counts:', dailyStats); ### [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E4%BB%A3%E5%B8%81%E9%93%B8%E9%80%A0%E5%88%9B%E5%BB%BA) 代币铸造创建 查找特定代币的铸造创建交易: Report incorrect code Copy Ask AI { "jsonrpc": "2.0", "id": "find-first-mints", "method": "getTransactionsForAddress", "params": [\ MINT_ADDRESS, // Token mint address\ {\ "encoding": "jsonParsed",\ "maxSupportedTransactionVersion": 0,\ "sortOrder": "asc", // Chronological order from the beginning\ "limit": 10,\ "transactionDetails": "full"\ }\ ] } 对于流动性池创建,查询池地址: Report incorrect code Copy Ask AI { "jsonrpc": "2.0", "id": 1, "method": "getTransactionsForAddress", "params": [\ "POOL_ADDRESS_HERE", // Raydium/Meteora pool address\ {\ "transactionDetails": "full",\ "sortOrder": "asc", // First transaction is usually pool creation\ "limit": 1\ }\ ] } **用例**:查找代币铸造或流动性池创建的确切时刻,包括创建者地址和初始参数。 ### [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E8%B5%84%E9%87%91%E4%BA%A4%E6%98%93) 资金交易 查找谁为特定地址提供资金: Report incorrect code Copy Ask AI { "jsonrpc": "2.0", "id": 1, "method": "getTransactionsForAddress", "params": [\ "TARGET_WALLET_ADDRESS",\ {\ "transactionDetails": "full",\ "sortOrder": "asc", // Oldest first\ "limit": 10\ }\ ] } 然后分析交易数据以查找SOL转账: Report incorrect code Copy Ask AI response.result.data.forEach(tx => { // Look for SOL transfers in preBalances/postBalances const balanceChanges = tx.meta.preBalances.map((pre, index) => tx.meta.postBalances[index] - pre ); // Positive balance change = incoming SOL balanceChanges.forEach((change, index) => { if (change > 0) { console.log(`Received ${change} lamports from ${tx.transaction.message.accountKeys[index]}`); } }); }); 前几笔交易通常会揭示资金来源,并有助于识别相关地址或资金模式。 * * * [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E5%88%86%E9%A1%B5) 分页 ------------------------------------------------------------------------------------------ 当交易数量超过限制时,使用响应中的`paginationToken`获取下一页。该令牌是一个简单的字符串,格式为`"slot:position"`,告诉API从哪里继续。 ### [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E5%A6%82%E4%BD%95%E5%88%86%E9%A1%B5) 如何分页 使用每个响应中的分页令牌获取下一页: Report incorrect code Copy Ask AI // First request let paginationToken = null; let allTransactions = []; const getNextPage = async (paginationToken = null) => { const params = [\ 'ADDRESS',\ {\ transactionDetails: 'signatures',\ limit: 100,\ ...(paginationToken && { paginationToken })\ }\ ]; const response = await fetch(rpcUrl, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ jsonrpc: '2.0', id: 1, method: 'getTransactionsForAddress', params }) }); const data = await response.json(); return data.result; }; // Paginate through all results do { const result = await getNextPage(paginationToken); allTransactions.push(...result.data); paginationToken = result.paginationToken; console.log(`Fetched ${result.data.length} transactions, total: ${allTransactions.length}`); } while (paginationToken); ### [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E5%A4%9A%E4%B8%AA%E5%9C%B0%E5%9D%80) 多个地址 您不能在单个请求中查询多个地址。要获取多个地址的交易,请在相同的时间或槽窗口内查询每个地址,然后合并和排序: Report incorrect code Copy Ask AI const addresses = ['Address1...', 'Address2...', 'Address3...']; // Query all addresses in parallel with slot filter const results = await Promise.all( addresses.map(address => fetch(rpcUrl, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ jsonrpc: '2.0', id: 1, method: 'getTransactionsForAddress', params: [address, {\ sortOrder: 'desc',\ filters: { slot: { gt: 250000000 } }\ }] }) }).then(r => r.json()) ) ); // Merge and sort by slot const allTransactions = results .flatMap(r => r.result.data) .sort((a, b) => b.slot - a.slot); 对于较大的历史扫描,通过时间或槽窗口迭代(例如,每次1000个槽)并重复此模式。 每个地址查询都算作一个单独的API请求(每个地址100个积分)。 * * * [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E6%9C%80%E4%BD%B3%E5%AE%9E%E8%B7%B5) 最佳实践 -------------------------------------------------------------------------------------------------------------- ### [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E6%80%A7%E8%83%BD) 性能 为了获得最佳性能,当不需要完整交易数据时,使用`transactionDetails: "signatures"`。实现合理的页面大小以获得更好的响应时间,并考虑按时间范围或特定槽进行过滤以进行更有针对性的查询。 ### [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E8%BF%87%E6%BB%A4) 过滤 从广泛的过滤器开始,然后逐步缩小范围以找到所需的数据。使用基于时间的过滤器进行分析和报告工作流。您可以结合多个过滤器进行精确查询,以定位特定的交易类型或时间段。 ### [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E5%88%86%E9%A1%B5-2) 分页 在需要稍后恢复大型查询时存储分页键。监控分页深度以进行性能规划,并在需要按时间顺序重放历史事件的情况下使用升序。 ### [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E9%94%99%E8%AF%AF%E5%A4%84%E7%90%86) 错误处理 使用指数退避策略优雅地处理速率限制。在发出请求之前始终验证地址,并在适当时缓存结果以减少API使用并提高应用程序性能。 * * * [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E8%BF%99%E4%B8%8Egetsignaturesforaddress%E6%9C%89%E4%BD%95%E4%B8%8D%E5%90%8C%EF%BC%9F) 这与getSignaturesForAddress有何不同? ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 如果您熟悉标准`getSignaturesForAddress`方法,这里是主要区别: ### [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E4%B8%80%E6%AC%A1%E8%B0%83%E7%94%A8%E8%8E%B7%E5%8F%96%E5%AE%8C%E6%95%B4%E4%BA%A4%E6%98%93) 一次调用获取完整交易 使用`getSignaturesForAddress`,您需要两个步骤: Report incorrect code Copy Ask AI // Step 1: Get signatures const signatures = await connection.getSignaturesForAddress(address, { limit: 100 }); // Step 2: Get transaction details (100 additional calls!) const transactions = await Promise.all( signatures.map(sig => connection.getTransaction(sig.signature)) ); 使用`getTransactionsForAddress`,只需一次调用: Report incorrect code Copy Ask AI const response = await fetch(heliusRpcUrl, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ jsonrpc: '2.0', id: 1, method: 'getTransactionsForAddress', params: [\ address,\ {\ transactionDetails: 'full',\ limit: 100\ }\ ] }) }); ### [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E9%A2%9D%E5%A4%96%E5%8A%9F%E8%83%BD) 额外功能 按时间顺序排序 ------- 使用`sortOrder: 'asc'`将交易从最旧排序到最新 基于时间的过滤 ------- 使用`blockTime`过滤器按时间范围过滤 状态过滤 ---- 使用`status`过滤器仅获取成功或失败的交易 更简单的分页 ------ 使用`paginationToken`代替复杂的`before`/`until`签名 * * * [​](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E6%94%AF%E6%8C%81%E4%B8%8E%E7%A4%BE%E5%8C%BA) 支持与社区 ------------------------------------------------------------------------------------------------------------------------ [联系支持\ ----\ \ 获取我们团队的技术问题和问题帮助](https://www.helius.dev/docs/zh/support) [Discord 社区\ ----------\ \ 加入数千名在 Solana 上使用 Helius 构建的开发者](https://discord.com/invite/6GXdee3gBj) Was this page helpful? YesNo ⌘I On this page * [概述](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E6%A6%82%E8%BF%B0) * [主要功能](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E4%B8%BB%E8%A6%81%E5%8A%9F%E8%83%BD) * [常见用例](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E5%B8%B8%E8%A7%81%E7%94%A8%E4%BE%8B) * [网络支持](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E7%BD%91%E7%BB%9C%E6%94%AF%E6%8C%81) * [快速开始](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B) * [请求参数](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E8%AF%B7%E6%B1%82%E5%8F%82%E6%95%B0) * [过滤运算符](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E8%BF%87%E6%BB%A4%E8%BF%90%E7%AE%97%E7%AC%A6) * [比较运算符](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E6%AF%94%E8%BE%83%E8%BF%90%E7%AE%97%E7%AC%A6) * [状态过滤器](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E7%8A%B6%E6%80%81%E8%BF%87%E6%BB%A4%E5%99%A8) * [响应格式](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E5%93%8D%E5%BA%94%E6%A0%BC%E5%BC%8F) * [实用示例](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E5%AE%9E%E7%94%A8%E7%A4%BA%E4%BE%8B) * [基于时间的分析](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E5%9F%BA%E4%BA%8E%E6%97%B6%E9%97%B4%E7%9A%84%E5%88%86%E6%9E%90) * [代币铸造创建](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E4%BB%A3%E5%B8%81%E9%93%B8%E9%80%A0%E5%88%9B%E5%BB%BA) * [资金交易](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E8%B5%84%E9%87%91%E4%BA%A4%E6%98%93) * [分页](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E5%88%86%E9%A1%B5) * [如何分页](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E5%A6%82%E4%BD%95%E5%88%86%E9%A1%B5) * [多个地址](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E5%A4%9A%E4%B8%AA%E5%9C%B0%E5%9D%80) * [最佳实践](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E6%9C%80%E4%BD%B3%E5%AE%9E%E8%B7%B5) * [性能](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E6%80%A7%E8%83%BD) * [过滤](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E8%BF%87%E6%BB%A4) * [分页](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E5%88%86%E9%A1%B5-2) * [错误处理](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E9%94%99%E8%AF%AF%E5%A4%84%E7%90%86) * [这与getSignaturesForAddress有何不同?](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E8%BF%99%E4%B8%8Egetsignaturesforaddress%E6%9C%89%E4%BD%95%E4%B8%8D%E5%90%8C%EF%BC%9F) * [一次调用获取完整交易](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E4%B8%80%E6%AC%A1%E8%B0%83%E7%94%A8%E8%8E%B7%E5%8F%96%E5%AE%8C%E6%95%B4%E4%BA%A4%E6%98%93) * [额外功能](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E9%A2%9D%E5%A4%96%E5%8A%9F%E8%83%BD) * [支持与社区](https://www.helius.dev/docs/zh/rpc/gettransactionsforaddress#%E6%94%AF%E6%8C%81%E4%B8%8E%E7%A4%BE%E5%8C%BA) ---