Does the price in the contract update automatically from time to time, or is it fetched only when needed?
Definition: A push oracle has the oracle network actively push prices on-chain according to preset rules, and the contract reads the latest price on-chain directly.
How it works: Pull oracles update prices on-chain on demand, so prices can be updated more promptly. However, the application must check for itself whether a price is stale; otherwise, it may read an outdated price.
$PYTH is the token of Pyth, an oracle network that uses a pull-based design.
Don't put all your funds on a single prediction.
#PYTH
Definition: A push oracle has the oracle network actively push prices on-chain according to preset rules, and the contract reads the latest price on-chain directly.
How it works: Pull oracles update prices on-chain on demand, so prices can be updated more promptly. However, the application must check for itself whether a price is stale; otherwise, it may read an outdated price.
$PYTH is the token of Pyth, an oracle network that uses a pull-based design.
Don't put all your funds on a single prediction.
#PYTH