blockfrost / blockfrost-go

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

Impl metadata & pools endpoint #18

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.

kenriortega commented 3 years ago

thx for the feedback in the week i have been working in this.

HannesKimara commented 3 years ago

thx for the feedback in the week i have been working in this.

No problem. Could you open the pull request to the staging branch instead of master.