DeFi University
Skip to lesson

Exercise 1

Ledger API, JWT & Client Codegen

About 15 min

Your task

You'll read a real-format Ledger API token, work out which calls its user can make, then trace a retry that went wrong and route three error codes the way a production client should. By the end you can size a deduplication window from a retry policy and explain why a duplicate is good news.

Time
20 to 30 minutes
You'll need
a calculator, and a Unix-time converter if you want to check the clock times
Builds on
Lesson 1

Warm-up

Check yourself

Which three things make up a command's change ID?

Check yourself

An administrator removes canActAs(Carol) from a user whose token is still valid. What happens on the user's next submission as Carol?

Members only

This course is for members.

The DeFi University membership on Skool opens all 31 courses here, plus the live calls and community. Private coaching clients have access too. Already a member? Sign in with your Skool email.