Back to APIs list

Currency API examples & templates

Use these vals as a playground to view and fork Currency API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
iamseeley avatar
tokenBucket
@iamseeley
Script
An interactive, runnable TypeScript val by iamseeley
globus avatar
conversion
@globus
Script
An interactive, runnable TypeScript val by globus
tempguy avatar
silverSwallow
@tempguy
Cron
Forked from tempguy/violetFerret
ryoid avatar
SolanaJupiterSwapEventParser
@ryoid
Script
An interactive, runnable TypeScript val by ryoid
u avatar
msPerDay
@u
Script
An interactive, runnable TypeScript val by u
u avatar
msPerMin
@u
Script
An interactive, runnable TypeScript val by u
orasund avatar
publicKey
@orasund
Script
// set at Thu Nov 09 2023 20:45:52 GMT+0000 (Coordinated Universal Time)
vladimyr avatar
CFDate
@vladimyr
Script
// SPDX-License-Identifier: 0BSD
movienerd avatar
clickerGame
@movienerd
HTTP
* This clicker game allows users to earn virtual money by clicking. * It includes an upgrade system where users can purchase multiple auto-clickers, dime-smithers, quarter-makers, dollar-mills, twoonie-transformers, fiver-factories, ten-trackers, twenty-detectors, fifty-forgers, and hundred-hewers. * Each upgrade adds to the overall effect, increasing earnings per second. * Upgrades are hidden until they are unlocked for the first time. * The game state is stored client-side using localStorage for persistence. * React is used for the UI, and setInterval for the auto-upgrade functionality.
josephscott avatar
ulid
@josephscott
Script
// From https://github.com/skeeto/ulid-js/blob/master/ulid.js
u avatar
secPerDay
@u
Script
An interactive, runnable TypeScript val by u
tempguy avatar
southcloud
@tempguy
Script
An interactive, runnable TypeScript val by tempguy
rwev avatar
polygonPriceOnWeekdayMsAgo
@rwev
Script
An interactive, runnable TypeScript val by rwev
feb avatar
calculateFlyBill
@feb
Script
An interactive, runnable TypeScript val by feb
fdterr avatar
untitled8638060
@fdterr
Script
An interactive, runnable TypeScript val by fdterr
neoneffect avatar
untitled_pinkSkunk
@neoneffect
Script
An interactive, runnable TypeScript val by neoneffect
11
Next