You could also create bundle simulations so that one transaction could be executed one after another. For blockNumber transactionIndex networkId stateOverrides and blockOverrides fields, only the first simulation takes effect.

Language
Credentials
Click Try It! to start a request and see the response here!