Post
Share your knowledge.
yhant3160
Jan 22, 2025
Discussion
How to retrieve bytecode from blockchain contracts?
I'm trying to get the bytecode from blockchain contracts. Any idea how I could achieve this?
- Move CLI
- Move Bug
1
1
Share
Comments
Answers
1doodee37
Jan 22 2025, 23:59You can use the following GraphQL query to fetch the bytecode:
query Func {
object(address: "0x3") {
asMovePackage {
bcs
}
}
}
1
Comments
Do you know the answer?
Please log in and share it.
Move is an executable bytecode language used to implement custom transactions and smart contracts.
98Posts158Answers
Trending posts