Get Chainlink Token Value (USD)
0x581BEf12967f06f2eBfcabb7504fA61f0326CD9A

What this does

This plug computes the USD value of a token holding by reading its Chainlink price and multiplying by a quantity. It asks the caller for a token to value and an amount to apply the price to. It fires on execution, composing the Get Chainlink Price (USD) plug to fetch the rate before the multiplication. Doing this by hand or against a stale Chainlink reading yields a valuation that does not match the current oracle price.

Actions · 3

  • Use
    Use where
    tokenis
    Composes another plug inside this one.
  • Calculate
    Calculate
    Applies a binary arithmetic operation to two values and returns the result.
  • Bubble
    Bubble
    Surfaces a value as an output of this plug.

Related plugs · 8