The Interceptor (https://github.com/DarkFlorist/TheInterceptor) lets you build transaction stacks (list of transactions) in simulation mode, including while simulating operating from a SAFE. It would be awesome if a user is using Interceptor and they could click a button to import the current simulation stack. This is supported on The Interceptor's side via the JSON-RPC method interceptor_getSimulationStack. The returned value is a JSON array of transaction objects.
You can see an example implementation of this in Bouquet, https://github.com/DarkFlorist/bouquet/blob/main/app/ts/components/Import.tsx#L28-L41 and you can see the shape of the returned object https://github.com/DarkFlorist/bouquet/blob/main/app/ts/types/interceptorTypes.ts#L125-L137 (note: uses funtypes for encoding, but hopefully it is readable enough).
The Interceptor (https://github.com/DarkFlorist/TheInterceptor) lets you build transaction stacks (list of transactions) in simulation mode, including while simulating operating from a SAFE. It would be awesome if a user is using Interceptor and they could click a button to import the current simulation stack. This is supported on The Interceptor's side via the JSON-RPC method
interceptor_getSimulationStack. The returned value is a JSON array of transaction objects.You can see an example implementation of this in Bouquet, https://github.com/DarkFlorist/bouquet/blob/main/app/ts/components/Import.tsx#L28-L41 and you can see the shape of the returned object https://github.com/DarkFlorist/bouquet/blob/main/app/ts/types/interceptorTypes.ts#L125-L137 (note: uses funtypes for encoding, but hopefully it is readable enough).