This plug reads a token balance held by a given wallet and multiplies it by a supplied price to return the holding's value. It asks the caller for the token address, the holder wallet, and the price to apply. It runs whenever the caller executes it, with no schedule or threshold gating it. Computing this by hand or against a stale price yields a valuation that no longer matches the current balance or market price.
Actions · 4
Getbalanceofheldby
Reads a token balance held by an address, native or ERC-20.
Calculate
Applies a binary arithmetic operation to two values and returns the result.
Setto
Assigns a value to a named variable that later steps reference.
Bubble
Surfaces a value as an output of this plug.
Related plugs · 8
Not ready to run as it stands: it waits on values or a position of your own.