THIS ARTICLE IS FOR NON-US USERS ONLY.
Want to See Your Lucky Buy Result and Understand How Randomness Is Guaranteed?
Follow the steps below to get started — but first, let’s cover the basics.
Understanding The Transactions
Commit Transaction
A commit transaction is a type of transaction where a user commits to a value or action without revealing it immediately. This is the first step of the transaction in a two-step process.
Fulfillment Transactions
A fulfillment transaction (or reveal transaction) is typically the second step in a two-step process. It finalizes an action that was initially committed to in a prior transaction.
How is randomness ensured in Lucky Buy?
This is totally trustless on-chain and Magic Eden has no ability to affect outcomes.
Lucky Buy utilizes a Verified Randomness Function (VRF) to ensure fairness and transparency. VRF generates random outcomes that are beyond the control of both users and Magic Eden while allowing for verification.
To enhance trust, we provide a sandbox environment where you can independently audit your result.
Let's jump in.
Determining The Result From The Transactions & Verifying The Randomness
Locate Your Commit Transaction
After completing a Lucky Buy purchase:
Go to a blockchain explorer (like Etherscan)
Look for a transaction labeled "commit"
Use the timestamp of your spin to help locate the correct transaction.
Use The Sandbox To Verify The Result
Visit the verification sandbox,Input the commit transaction hash and a valid RPC URL to fetch the verification details.
Hit confirm.
If you’re unsure, always verify your result via the sandbox to ensure transparency.
When you input the transaction into the sandbox, you will receive detailed verification messages. Let's dive deeper into what each component of the message means:
Lucky Buy ID: A unique identifier corresponding to the purchase.
Attempt: The validation corresponding to the purchase.
Difficulty: The probability of success for the purchase. This result is in BPS (For example, a value of 1730 indicates a 17.3% chance of winning).
Result: The outcome of your purchase.
The NFT was added to your collection.
You received a Lucky Emmy NFT that amplifies your end of season rewards!
The NFT was no longer available. You received the value of the NFT.
Collection: The contract address of the token involved in the transaction.
Token ID: The address of the token involved in the transaction.
Amount: The quantity or value of the token transferred as part of the transaction (the amount is denominated in wei).
Receiver: The wallet address that received the token amount.
Fee: The transaction fee paid by the sender to initiate the purchase (fee is denominated in wei).
CoSigner: ME account that must approve or authorize a transaction before it can be executed.
Digest: A cryptographic hash or reference associated with the transaction, used for verification and audit purposes.
Interpreting Your Result:
There are three potential outcomes:
The NFT was added to your collection
You received a Lucky Emmy NFT that amplifies your end of season rewards
The NFT was no longer available. You received the value of the NFT
Example transaction to reference: 0xe357161cdbdb7acc876702a7d4af7ffaac4479e4d97ab5780012f31686d8f97a
Are there any scenarios where I would receive a refund?
Refunds are issued in these similar situations:
If your purchase is stuck in "pending" and it cannot be completed, the system will wait around 3 minutes (this may vary slightly). After that, the system will expire the purchase, and your ETH will be automatically refunded.
If the purchase never starts because gas fees are too high, the result is the same — after about 3 minutes, the attempt will expire, and you’ll receive a full refund.
If the NFT is unable for fulfillment, an equivalent value of the NFT in ETH will be sent to the user instead.
For a more comprehensive overview of the ETH Lucky Buy feature on Magic Eden's NFT platform, refer to our detailed article.