In the near_primitives::views
, the args
field on the FunctionCall
is represented as a String
type. From the chain data model, which is transaction::Action::FunctionCall
, its args
field there is a `Vec.
The question is, does this args
field will always content a valid JSON payload as the content? We assume the answer is probably a No
since the underlying field contains pure bytes.
In which circumstances this would a valid JSON string and in which circumstances it would be a binary format?
Finally, if binary format is possible (likely), how is it possible to decode it? Is this in developers hand and could be any binary format?
See