aeternity / aepp-sdk-go

Golang SDK to interact with the Æternity blockchain
ISC License
18 stars 10 forks source link

Implement encoding/json.Marshaler interface for Tx structs #104

Open randomshinichi opened 5 years ago

randomshinichi commented 5 years ago

SpendTx has a special case with ba_ bytearrays.

noandrea commented 5 years ago

this is two way marshalling / unmarshalling jsont to tx tx struct and the other way around, useful to parse transactions from the API