Post
Share your knowledge.
yhant3251
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
2
1
Share
Comments
Answers
1doodee105
Jan 22 2025, 23:59You can use the following GraphQL query to fetch the bytecode:
query Func {
object(address: "0x3") {
asMovePackage {
bcs
}
}
}
2
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.
148Posts231Answers

Reward CampaignJune
- ... SUIderiss+5
- ... SUIRamirez+5
- ... SUIElvin CLONE +5
- ... SUI
- ... SUI
- ... SUI
- ... SUIBritain+2
Bounty Posts