Clarity theorytheory 0/50 · 0%
Context · medium

24. Calling Other Contracts

contract-call! and cross-contract interaction.

You can call public functions of other contracts using `contract-call!`. You need the contract's principal and the function name.

clarity
(contract-call! 'SP3FG...other-contract my-function u10)

Check your understanding

  1. 1. What happens if a contract-call! fails?