Open dcoutts opened 4 years ago
Hello, could tell me how to use the tx submit API? Could you give me an example? Thank you in advance.
@Victoryfan Your request is completely unrelated to this ticket and therefore should be a separate ticket. The (somewhat minimal) docs however are at https://github.com/input-output-hk/cardano-explorer/blob/master/doc/tx-submit.md .
The tx-submit API should return the ledger failures in a structured way, not just as a string.
They are transmitted over the wire from the node in a structured way, so this would be a matter of converting them wholesale (or omitting unnecessary parts) as JSON into the response. This should be in addition to the string form, which itself should ideally be rendered and not just
show
n.