← Developer Forum

Entropy·help question

Entropy Callback function integration on Story

Open on dev-forum →Back to forum

Hey,

We’re testing Pyth Entropy on Story chain and wanted to double-check how to receive the callback.

The docs mention to have a “entropyCallback” function https://docs.pyth.network/entropy/generate-random-numbers/evm

But we see that the Entropy contract tried to call “revealWithCallback(address arg0, uint64 arg1, bytes32 arg2, bytes32 arg3)” on our contract Story transaction 0x11a4e7b8737c8fb507e606b15ed1e5c2219e6d8b2f3687f3bdf9a2c4c6d5f806 | Blockscout

Should we implement revealWithCallback? And if so, what parameter should we use to get the random value?

Showing the original post only. Read the full thread on dev-forum.pyth.network ↗

Replies: 1
Views: 281
Likes: 1
Posted: 10/29/2025

Source: https://dev-forum.pyth.network/t/entropy-callback-function-integration-on-story/459 · external id 459