Oracle Subscription (Mainnet)
This page allows you to manage your Oracle subscription on the Radix Mainnet. To use the Morpher Oracle, you need to purchase a subscription NFT.
What is an Oracle Subscription?
An Oracle subscription is represented by a non-fungible token (NFT) that:
- Grants access to the Oracle’s signed price data
- Stores your public key for authentication
- Tracks your subscription expiration date
- Provides a secure way to verify your requests
Subscription Benefits
- Real-time Price Data: Access to up-to-date price information from multiple exchanges
- Cryptographic Security: All data is signed and verified for authenticity
- On-chain Verification: Smart contracts can verify the data’s authenticity
- Multiple Markets: Access to a wide range of cryptocurrency and traditional asset prices
Subscription Manager (Mainnet)
Use the subscription manager below to:
- Purchase a new subscription
- View your existing subscriptions
- Renew an expiring subscription
- Update the public key associated with your subscription
Oracle Subscription
Connected to Mainnet
The Morpher Oracle provides real-time, cryptographically signed price data for your DApps. Purchase or manage your subscription below.
No Active Subscriptions
You don't have any active Oracle subscriptions yet
Oracle Subscription
Secure, real-time price data for your DApps
- Real-time price data from multiple exchanges
- Cryptographically signed data for on-chain verification
- Access to all supported markets and assets
- 30-day subscription with unlimited API calls
* Introductory pricing for early adopters. Regular price will be $999/month.
Subscription Pricing
The Morpher Oracle subscription is currently priced at $1 per month during our introductory period. This price is subject to change in the future.
How to Use Your Subscription
After purchasing a subscription, follow these steps to start using the Oracle:
-
Generate a BLS12-381 Key Pair:
import * as ed from '@noble/ed25519'; import { bls12_381 as bls } from '@noble/curves/bls12-381'; // Generate a secure random private key const privateKey = ed.utils.randomPrivateKey(); const hexPrivateKey = ed.etc.bytesToHex(privateKey); // Derive the public key function getPublicKey(privateKey) { return Array.from( bls.getPublicKey(privateKey), byte => byte.toString(16).padStart(2, '0') ).join(''); } const publicKey = getPublicKey(privateKey);
-
Enroll Your Public Key:
- Enter your public key in the subscription manager
- This key will be used to authenticate your requests to the Oracle
-
Set Up Your Backend:
- Store your private key securely in your backend
- Use it to sign requests to the Oracle API
- See the Integration Guide for details
-
Start Making Oracle Requests:
- Your backend can now request signed price data
- Include this data in transaction manifests
- Smart contracts can verify the data on-chain
Technical Details
The subscription NFT contains the following data:
- Expiration Time: When your subscription expires
- Authorized Public Key: Your BLS12-381 public key
- Current Nonce: Tracks the number of requests made
- Maximum Nonce: The maximum number of requests allowed
For more technical details on how to integrate with the Oracle, see the Integration Guide.