Yashotantra Academy
AI · Blockchain · Cloud · Data
Dark mode active
Learn
Tracks
ABCD
Certification
More
▾
Dark mode active
Learn
Tracks
ABCD
Certification
Study
Theory
Code Lab
Build
Solidity IDE
Staking Sandbox
Simulation
Reference
Wallets
Gas Fees
Explorers
← Code Lab
Node.js
0/50 solved · 0%
All lessons
lesson
code
Foundations · easy
12. Transaction Status Mapper
Map raw codes to human-friendly strings.
Codes: 0=PENDING, 1=SUCCESS, 2=FAILED.
Required in your answer:
map[code]
Reveal solution
Run & check
Reset
Runs in a sandboxed worker
function getStatus(code) { // TODO }
Output appears here.
← 11. Health Check Aggregator
13. Hex to Number Converter →