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
React Native
0/50 solved · 0%
All lessons
lesson
code
Native APIs · easy
19. Building a notification payload
Compose a title/body for a confirmed transaction.
Write `txNotification(hash)` returning `{ title: "Transaction confirmed", body: <first 10 chars of hash> + "…" }`.
Required in your answer:
slice(
Reveal solution
Run & check
Reset
Transpiled, then run in a sandbox
function txNotification(hash) { // TODO }
Output appears here.
← 18. Parsing a deep link
20. Redacting secrets before logging →