Everyone, this is a concept you absolutely need to understand: the two types of oracles!
Pull-based oracles keep signed prices off-chain. When making a transaction, the application submits the price along with it, and the on-chain contract uses it only after verifying the signature.
The advantage of push-based oracles is that contracts can use the data right away. The tradeoff is that the oracle network must constantly pay Gas to push updates, so the update frequency can't be increased indefinitely.
$PYTH is the token of Pyth, an oracle network that uses a pull-based design.
Save this and read it at your leisure👇
#PYTH
Stay rational—don't get carried away.
Pull-based oracles keep signed prices off-chain. When making a transaction, the application submits the price along with it, and the on-chain contract uses it only after verifying the signature.
The advantage of push-based oracles is that contracts can use the data right away. The tradeoff is that the oracle network must constantly pay Gas to push updates, so the update frequency can't be increased indefinitely.
$PYTH is the token of Pyth, an oracle network that uses a pull-based design.
Save this and read it at your leisure👇
#PYTH
Stay rational—don't get carried away.