-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Labels
enhancementNew feature or requestNew feature or request
Description
🚀 Feature Request Description
Currently, when a script payload is passed in JSON format, its parameters are represented as classes, which cannot be directly serialized. Although it’s possible to work around this by using a special serialization format — for example, by sending the BCS-encoded data — this still isn’t an ideal solution.
const BytecodeTransaction = {
"bytecode": "0x.....",
"typeArguments": [],
"functionArguments": [
new U64(627),
new Bool(true),
new U64(100000),
new Bool(false),
new U64(100),
new U64(100),
new U64(0),
new U64(0),
new Bool(true)
]
}
So, would it be possible to introduce a simple way to parse the bytecode format and extract its ABI, allowing us to reuse the existing ABI parsing logic used for entry functions?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request