Get Chainlink Price (USD)
0x581BEf12967f06f2eBfcabb7504fA61f0326CD9A

What this does

This plug reads the latest Chainlink price of a token quoted in USD at address 0x0000000000000000000000000000000000000348, normalized to 18 decimals, and surfaces it as an output. It asks the caller for the token to price and a swap plug to compose inline. It fires whenever the caller executes it, running the composed swap in the same transaction. Fetching the price by hand or acting on a stale figure risks pricing the swap against an outdated number.

Actions · 3

  • Get price
    Get price of in
    Reads the latest Chainlink price of a base asset in a quote asset, normalized to 18 decimals.
  • Bubble
    Bubble
    Surfaces a value as an output of this plug.
  • Use
    Use
    Composes another plug inside this one.

Related plugs · 8