blockfrost / blockfrost-go

Golang SDK for Blockfrost.io
Apache License 2.0
23 stars 9 forks source link

Impl metadata endpoints #14

Closed kenriortega closed 3 years ago

kenriortega commented 3 years ago

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 a map[string[interface{} any feedback are welcome.