Call public functions in other contracts using `contract-call!`.
clarity (contract-call! .token-contract transfer u100 tx-sender 'SP3FG... none)
100 XP to Apprentice
Interacting with external deployed contracts.
AI translates the explanation and quiz text while preserving code and answer scoring.
Call public functions in other contracts using `contract-call!`.
clarity (contract-call! .token-contract transfer u100 tx-sender 'SP3FG... none)
1. How do you call a function in another contract?
2. What happens if a contract-call! returns an (err ...)?