


Acts onchain
Writes a value to the socket's persistent storage under a scope and key. Scope chooses socket storage, shared across every plug the socket runs, or plug storage, private to this plug bundle. The value persists across transactions until overwritten; writing zero deletes it. Read it back with the read stored value action using the same scope and key. Reach for it to persist anything a later run needs: a running total, the timestamp of the last rebalance, a cap consumed so far.
Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.
Daily ETH Price Snapshot From Chainlink



1·Repeat
Capping cadence, this rate limit permits at most one run every day, so the schedule advances no more than once in that interval.
2·Get price
Reading Chainlink, this pulls the latest ETH price quoted in USD, normalized to 18 decimals.
3·Set stored value
Writing that quoted price under the key eth price in the plug's own persistent storage, this records the value from slot 1.7 for later runs to read.
Posts · 6
More on Database · 5