{"id":2201302,"recorded_at":"2026-11-02T19:13:23.243427Z","observed_at":"2026-11-02T19:13:23.243329Z","subject_kind":"source_record","subject":"x402_bazaar:https://focus-sleep-calc.x402tookit.com/caffeine-decay","kind":"listing","method":"sync.x402_bazaar/1","body":{"endpoints":[["x402","https://focus-sleep-calc.x402tookit.com/caffeine-decay"]],"name":"Focus & Sleep Planner","owner_address":"0xb531320805c5bed1d46aeadcf4f008fdf172dbda","raw":{"accepts":[{"amount":"20000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa","scheme":"exact"},{"amount":"20000","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","extra":{"feePayer":"D6ZhtNQ5nT9ZnTHUbqXZsTx5MH2rPFiBBggX4hY1WePM","transactionVersions":[0]},"maxTimeoutSeconds":300,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","payTo":"DUPiupXtuox38dcGoXUKer5mAydCzmaHjrbQ66qeEm8s","scheme":"exact"},{"amount":"20000","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:137","payTo":"0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa","scheme":"exact"},{"amount":"20000","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:42161","payTo":"0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa","scheme":"exact"}],"description":"Caffeine remaining after hours, and the time until it drops below a threshold, from a half-life you can set (default 5 hours).","extensions":{"bazaar":{"info":{"input":{"method":"GET","queryParams":{"bedtime":"10:00 PM","doseMg":200,"doseTime":"2:00 PM","halfLifeHours":5,"hoursElapsed":10,"thresholdMg":25},"type":"http"},"output":{"example":{"asOf":"2026-10-12T01:41:12.828Z","bedtimeClock":"10:00 PM","belowThresholdAt":"5:00 AM","belowThresholdDayOffset":1,"degraded":false,"disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.","doseMg":200,"doseTimeClock":"2:00 PM","halfLifeHours":5,"halfLifeTable":[{"halfLives":0,"hours":0,"remainingMg":200},{"halfLives":1,"hours":5,"remainingMg":100}],"hoursElapsed":10,"hoursFromDoseToBedtime":8,"hoursUntilBelowThreshold":15,"notChecked":["your own caffeine half-life (genetics, pregnancy, medicines, smoking and liver health change it)","the real caffeine content of any drink","…2 more"],"percentRemaining":25,"reasons":["Each half-life halves the amount; remaining = dose x 0.5^(hours / half-life).","A bedtime earlier on the clock than the dose time is read as the next day."],"remainingAtBedtimeMg":65.98,"remainingMg":50,"source":"computed locally (first-order decay: dose x 0.5^(hours / half-life))","summary":"50 mg of 200 mg remains after 10 h (half-life 5 h); 15 h until below 25 mg. Below 25 mg at 5:00 AM (+1 day). At bedtime 10:00 PM (8 h later) about 66 mg remains.","thresholdMg":25,"verdict":"COMPUTED"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"bedtime":{"description":"Bedtime clock time; with doseTime gives the amount left at bedtime","type":"string"},"doseMg":{"description":"Caffeine taken, in milligrams (1 to 2000)","type":"number"},"doseTime":{"description":"Clock time of the dose, like 2:00 PM; adds clock times to the answer","type":"string"},"halfLifeHours":{"description":"Half-life in hours, 0.5 to 24 (default 5; varies a lot between people)","type":"number"},"hoursElapsed":{"description":"Hours since the dose, for the remaining amount (default 0)","type":"number"},"thresholdMg":{"description":"Level to fall below, in mg (default 25)","type":"number"}},"required":["doseMg"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"asOf":{"type":["null","string"]},"bedtimeClock":{"type":["null","string"]},"belowThresholdAt":{"type":["null","string"]},"belowThresholdDayOffset":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"doseMg":{"type":["null","number"]},"doseTimeClock":{"type":["null","string"]},"halfLifeHours":{"type":["null","number"]},"halfLifeTable":{"items":{"properties":{"halfLives":{"type":["null","number"]},"hours":{"type":["null","number"]},"remainingMg":{"type":["null","number"]}},"type":"object"},"type":["array","null"]},"hoursElapsed":{"type":["null","number"]},"hoursFromDoseToBedtime":{"type":["null","number"]},"hoursUntilBelowThreshold":{"type":["null","number"]},"notChecked":{"items":{"type":"string"},"type":["array","null"]},"percentRemaining":{"type":["null","number"]},"reasons":{"items":{"type":"string"},"type":["array","null"]},"remainingAtBedtimeMg":{"type":["null","number"]},"remainingMg":{"type":["null","number"]},"source":{"type":["null","string"]},"summary":{"type":["null","string"]},"thresholdMg":{"type":["null","number"]},"verdict":{"type":["null","string"]}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"lastUpdated":"2026-11-02T04:06:07.06Z","quality":{"l30DaysTotalCalls":3,"l30DaysUniquePayers":2,"lastCalledAt":"2026-11-02T04:06:06.832Z"},"resource":"https://focus-sleep-calc.x402tookit.com/caffeine-decay","serviceName":"Focus & Sleep Planner","tags":["caffeine","half-life","decay","coffee"],"type":"http","x402Version":2},"source":"x402_bazaar","summary":"Caffeine remaining after hours, and the time until it drops below a threshold, from a half-life you can set (default 5 hours)."},"body_sha256":"b225bf4873776d09e23be8877c6361c75a8fd31721d2a6d00f06745406077696","prev_id":null,"leaf":"0x57676578c132de6b925654d65fd89ef72bca7b5ecc21e245bb47bfb2552229fc","leaf_text":"{\"body\":\"b225bf4873776d09e23be8877c6361c75a8fd31721d2a6d00f06745406077696\",\"id\":2201302,\"kind\":\"listing\",\"method\":\"sync.x402_bazaar/1\",\"observed_us\":1793646803243329,\"prev\":null,\"subject\":\"x402_bazaar:https://focus-sleep-calc.x402tookit.com/caffeine-decay\",\"subject_kind\":\"source_record\"}","day":{"day":"2026-11-02","leaves":444186,"root":"0x78fecaabbe319e56f5c4b80fc02e2052e198ad24781da8832a475ff65f2002d1","chained":"0xdc35957db5d1371ca382b9152878ffece28ec7c5cb4f98fd71ddb367f8b999b2","anchor_chain":"eip155:5042002","anchor_tx":"0x56b814612eb2e3e544153df3e91e1f7199106d1e430c7d8c6b653feeb9ebe9af","anchor_block":70432815},"proof":["0x576783d7ed4f50edbdf322c65ceee5bc25b77cf451e229f2cad1c22a2cea57eb","0x705f970347e4664bdb7caae1d70689614af5d44b351573dccf254d787539fcab","0x9610cc57760d0709d427a08553ea9dae6eb6111454f88e191e7c700c2eecd544","0x13755b1f74f78b903380e1ea3e062c768cc92cfaaf98dc60892d85b79a8b29f5","0x6fecc8bed680aaa540ee37c4b148e6f11b90e6e067303612940a353a64f884c4","0x87dff31f2c995d509190dc6965c0c877d8b77ff61d4d989179b5a3e6c943779f","0x871551ba3d0bef7d4d87544ea33a45fef9233ca133f304239d37f74b730ae488","0xa0269aca578380cc60207f520429ce9266c1f1454d9959d61caec881e91db49b","0x004f9a7cb504d17f2da2c85573b909dcadc2edeab0a68df68683d75cfcbeb565","0xc65cd462d807ca53e2babd271d0386fb42c42a7621e5982b4ba4cffff2b6729b","0x0f60c3cb81cc8c6f9c174ee80980c1b2812ec50b479351a0e4f2f4995084da5b","0x8d78c6f91f0a0c782b9c9f61136a2d39249651d60823d7dd99828d8f91c418ca","0x4156d0c5ab6447dc36720ca7ceb2f5a0f0c5620d9192ea6d8fcf5e704e8dda41","0xc73349c9955998a166e6e5920ac8ee0aa7bc6c9d66bace60f6dbd465dd9e0530","0x52242d46cadab5f421a6f86c1edc6379b085ae98482fa80904e4a3028c1849a3","0x1068659ec8f2bcf26e4ad39786557a8c45d60e5ebba4fce2fb9962b2c9c59920","0xf9973981f80219d4f00fa9186b40a8144accc0c9875572fb79eaea312a21a187","0x4d205063c881c48edbbb37762a8d3bbb7444d4c42daa882f663a231893d25c35","0x365b161a4b68d750dcc4b3ecce1154a2163c87b08762079428e68f0ebb6a754e"]}