This might interested you. It’s not exactly what you’re asking for but it might achieve the same thing. This discussion is in the context of HTTP requests.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Is there a way to "log" query calls? | 3 | 699 | July 9, 2021 | |
| Feature request: map appropriate HTTP request methods to update calls | 56 | 6141 | April 22, 2022 | |
| RFC: Standardising how smart contracts expose state | 28 | 3440 | March 23, 2023 | |
| Force upgrade from query to update - Motoko | 22 | 1808 | August 31, 2022 | |
| Calling http_request of another canister | 3 | 1152 | March 2, 2022 |