Features & Services

The Neo N3 Service Layer provides a comprehensive suite of services to enhance your blockchain applications with secure, reliable infrastructure.

Functions Service

Functions Service

Execute JavaScript functions in a secure Trusted Execution Environment (TEE). The Functions Service enables developers to run custom logic that can read blockchain state, fetch external data, and make authenticated API calls, all within a secure environment.

  • Secure JavaScript execution in Azure Confidential Computing TEE
  • Memory limits and timeout enforcement
  • Function isolation with VM-per-execution model
  • Sandbox security with frozen prototypes and strict mode
  • Access to blockchain data and external APIs
  • Support for secrets and environment variables
Functions Service
Functions Service
Secret Management

Secret Management

Store sensitive data like API keys, private keys, and other credentials securely. The Secret Management service uses envelope encryption to protect your secrets, which are only accessible within the TEE during function execution.

  • Envelope encryption for all secrets
  • Data key rotation mechanism
  • Comprehensive audit logging
  • User isolation for secrets
  • TEE-based access control
  • Integration with Functions service
Secret Management
Secret Management
Contract Automation

Contract Automation

Automate smart contract interactions based on various triggers. Set up time-based schedules, blockchain events, or price thresholds to automatically execute functions or interact with contracts.

  • Time-based scheduling (cron expressions)
  • Blockchain event triggers
  • Price threshold triggers
  • Conditional execution logic
  • Failure handling and retry mechanisms
  • Execution history and monitoring
Contract Automation
Contract Automation
Gas Bank

Gas Bank

Efficient gas management for service operations. The Gas Bank handles the complexities of transaction fees, ensuring your contracts and automated functions always have the gas they need to execute.

  • Automatic gas fee calculation
  • Gas usage optimization
  • Fee estimation based on network conditions
  • Prepaid gas accounts
  • Automatic refill options
  • Usage reporting and analytics
Gas Bank
Gas Bank
Random Number Generation

Random Number Generation

Generate secure, verifiable random numbers for your smart contracts. The Random service uses TEE to ensure the randomness cannot be tampered with, making it ideal for games, lotteries, and fair selection processes.

  • Cryptographically secure random generation
  • TEE-based execution for tamper resistance
  • On-chain verification
  • Support for various distributions
  • Customizable range and precision
  • Low latency and high reliability
Random Number Generation
Random Number Generation
Price Feed

Price Feed

Get reliable token price updates for your DeFi applications. The Price Feed service aggregates data from multiple sources, validates it in the TEE, and publishes it to the blockchain at regular intervals.

  • Multi-source data aggregation
  • Outlier detection and filtering
  • Configurable update frequency
  • Support for multiple asset pairs
  • Historical data access
  • Low deviation thresholds
Price Feed
Price Feed
Oracle Service

Oracle Service

Bring external data to the Neo N3 blockchain. The Oracle service allows smart contracts to access real-world data from various sources, all validated and processed within the TEE for maximum security.

  • External API integration
  • Data transformation capabilities
  • XML, JSON, and CSV parsing
  • Custom data source configuration
  • Response validation and verification
  • Caching and rate limiting
Oracle Service
Oracle Service

Ready to try these features?

Experience the power of the Neo N3 Service Layer through our interactive playground or dive into the documentation to learn more.