memoscan
← all memos

Memo 0x14191b58…316259 on Ethereum

synthID: "CPI", q:"Go to https://api.stlouisfed.org/fred/series/observations?file_type=json&series_id=CPIAUCSL&api_key=API_KEY&observation_start=YYYY-MM-DD&realtime_end=YYYY-MM-DD and get the latest available CPI price. Put the observation_start date as the request date minus 60 days in YYYY-MM-DD format, and the realtime_end date as the request date in YYYY-MM-DD. Replace API_KEY with your api key. Propose the price which is the latest value in the observations list. Get the "value" price from this object."