Is there a way to call several contract functions in one transaction from TS SDK?

I want to build a transaction that calls two functions either from one contract or two different contracts

Hi @mpoplavkov thanks for opening this issue. Have you taken a look at our multi-contract-call documentation ? There are some examples there which could be helpful. Let us know if this suffices.

Hey, thanks a lot, didn’t see it in the docs, awesome!

Btw, is there a way to use results of one contract call in another with this approach?

No worries @mpoplavkov I’m glad it was useful.

Currently it can’t be done with this approach i.e. is to have these transactions executed sequentially but we are actively working to support it, feel free to follow along here, any feedback you have would be appreciated.

3 Likes

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.