Questions tagged [json]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
17 views

What does `consequence of bad union` mean when injecting a block?

Attempted to inject this block but got error: Invalid_argument "Json_encoding.construct: consequence of bad union" What does this error actually mean? The contents of the block look fine; it ...
2
votes
4answers
73 views

Is there a formula to build parameter messages to be passed to smart contract entrypoints?

When calling a smart contract entrypoint, it is required to pass the needed entrypoint parameters. This is done through a message that must be sent in JSON/Pairs format. My doubt is: Is there a ...
1
vote
2answers
81 views

Pretty-printing Micheline JSON

How can I pretty-print a Michelson contract in JSON to concrete syntax?