diff --git a/docs/src/starknet/multicall.md b/docs/src/starknet/multicall.md index f42aeb01ab..8e03ac1ab5 100644 --- a/docs/src/starknet/multicall.md +++ b/docs/src/starknet/multicall.md @@ -34,7 +34,7 @@ function = "put" inputs = ["0x123", 234] # Numbers can be used directly without quotes ``` -After running `sncast multicall run --path file.toml`, a declared contract will be first deployed, and then its function `put` will be invoked. +After running `sncast multicall run --path template.toml`, a declared contract will be first deployed, and then its function `put` will be invoked. > 📝 **Note** > The example above demonstrates the use of the `id` property in a deploy call, which is then referenced as the `contract address` in an invoke call. @@ -46,10 +46,8 @@ Additionally, the `id` can be referenced in the inputs of deploy and invoke call > 📝 **Note** > For numbers larger than 2^63 - 1 (that can't fit into `i64`), use string format (e.g., `"9223372036854775808"`) due to TOML parser limitations. - - ```shell -$ sncast multicall run --path multicall_example.toml +$ sncast multicall run --path template.toml ```
@@ -57,10 +55,19 @@ $ sncast multicall run --path multicall_example.toml ```shell command: multicall -transaction_hash: [..] - -To see invocation details, visit: -transaction: https://sepolia.starkscan.co/tx/[..] +Executing multicall transaction... +[DEPLOY] Contract deployment successful + Contract address: 0x1234...5678 + Transaction hash: 0xabcd...ef01 + +[INVOKE] Function call successful + Contract: map_contract + Function: put + Transaction hash: 0xabcd...ef01 + +Multicall transaction completed successfully +Total fee: 0.000123 ETH +Transaction details: https://sepolia.starkscan.co/tx/0xabcd...ef01 ```