Execute raw transaction using an Aptos Module? #173
-
Describe your question in detail.is there any way to execute raw transactions using an aptos module? I want to pass in a raw transaction (something like serializedTransaction: Vec) as an argument in a function. What error, if any, are you getting?No response What have you tried or looked at? Or how can we reproduce the error?N/A Which operating system are you using?Windows Which SDK or tool are you using? (if any)TypeScript SDK Describe your environment or tooling in detailNo response |
Beta Was this translation helpful? Give feedback.
Answered by
gregnazario
May 14, 2024
Replies: 1 comment
-
No, currently there is no way to pass in a transaction as an input to another transaction. The closest would be governance, where a hash is stored on-chain for later execution (with the same hash). See: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gregnazario
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, currently there is no way to pass in a transaction as an input to another transaction. The closest would be governance, where a hash is stored on-chain for later execution (with the same hash). See:
https://github.com/aptos-labs/aptos-core/blob/main/aptos-move/framework/aptos-framework/sources/aptos_governance.move#L332-L343