I created two methods to process metadata content in json. Because I don't know is json metadata always return a type ADAUSD
or could be a dynamic fields. For this reason I decided to use a struct with json metadata field as a map[string[interface{}
any feedback are welcome.
Solve this issue https://github.com/blockfrost/blockfrost-go/issues/5#issue-1000034272
I created two methods to process metadata content in json. Because I don't know is json metadata always return a type
ADAUSD
or could be a dynamic fields. For this reason I decided to use a struct with json metadata field as amap[string[interface{}
any feedback are welcome.