Skip to content

Commit 680d504

Browse files
committed
fix: account assets is now asset_lis
docs: Add Koios Go banner designed by Egon Elbre Signed-off-by: Marko Kungla <marko.kungla@gmail.com>
1 parent e8a27f2 commit 680d504

File tree

5 files changed

+34
-13
lines changed

5 files changed

+34
-13
lines changed

README.md

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
![Koios Go](./koios-go.png)
2+
13
<h1>Koios API Client Library for Go</h1>
24

35
**[Koios API] is Elastic Cardano Query Layer!**
@@ -191,14 +193,31 @@ Which provides arbitrary-precision fixed-point decimal numbers in go.
191193

192194
We would love for you to contribute to [Koios API Client Library for Go][github] and help make it even better than it is today! As a contributor, here are the guidelines we would like you to follow:
193195

194-
- [Code of Conduct](#code-of-conduct)
195-
- [Question or Problem?](#got-a-question-or-problem)
196-
- [Found a Bug?](#issues-and-bugs)
197-
- [Missing a Feature?](#feature-requests)
198-
- [Submission Guidelines](#submission-guidelines)
199-
- [Coding Rules](#coding-rules)
200-
- [Commit Message Guidelines](#commit-message-guidelines)
201-
- [Development Documentation](#development-documentation)
196+
- [Usage](#usage)
197+
- [Basic usage](#basic-usage)
198+
- [Concurrency using goroutines](#concurrency-using-goroutines)
199+
- [Math on ada, assets and tokens).](#math-on-ada-assets-and-tokens)
200+
- [Contributing](#contributing)
201+
- [Code of Conduct](#code-of-conduct)
202+
- [Got a Question or Problem?](#got-a-question-or-problem)
203+
- [Issues and Bugs](#issues-and-bugs)
204+
- [Feature Requests](#feature-requests)
205+
- [Submission Guidelines](#submission-guidelines)
206+
- [Submitting an Issue](#submitting-an-issue)
207+
- [Submitting a Pull Request (PR)](#submitting-a-pull-request-pr)
208+
- [After your pull request is merged](#after-your-pull-request-is-merged)
209+
- [Coding Rules](#coding-rules)
210+
- [Commit Message Guidelines](#commit-message-guidelines)
211+
- [Commit Message Format](#commit-message-format)
212+
- [Revert](#revert)
213+
- [Type](#type)
214+
- [Scope](#scope)
215+
- [Subject](#subject)
216+
- [Body](#body)
217+
- [Footer](#footer)
218+
- [Development Documentation](#development-documentation)
219+
- [Setup your machine](#setup-your-machine)
220+
- [Credits](#credits)
202221

203222
### Code of Conduct
204223

@@ -505,6 +524,9 @@ task cover
505524
<sub>**Original author.**</sub>
506525
<sup>koios-go-client was moved under Cardano Community from <a href="https://github.com/howijd/koios-rest-go-client">howijd/koios-rest-go-client</a></sup>
507526
527+
<sub>**Koios Go banner design.**</sub>
528+
<sup>Koios Go banner was designed by Egon Elbre <a href="https://egonelbre.com/" target="_blank">egonelbre.com</a></sup>
529+
508530
<!-- LINKS -->
509531
[Koios API]: https://koios.rest "Koios API"
510532
[github.com/shopspring/decimal]: https://github.com/shopspring/decimal

account.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ type (
145145

146146
AccountAssets struct {
147147
StakeAddress Address `json:"stake_address"`
148-
Assets []Asset `json:"assets"`
148+
Assets []Asset `json:"asset_list"`
149149
}
150150

151151
// AccountHistoryResponse represents response from `/account_history` endpoint.
@@ -357,7 +357,6 @@ func (c *Client) GetAccountsAddresses(
357357
func (c *Client) GetAccountAssets(
358358
ctx context.Context,
359359
acc Address,
360-
epoch *EpochNo,
361360
opts *RequestOptions,
362361
) (res *AccountAssetsResponse, err error) {
363362
res = &AccountAssetsResponse{}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.18
55
require (
66
github.com/shopspring/decimal v1.3.1
77
github.com/stretchr/testify v1.8.1
8-
golang.org/x/text v0.4.0
8+
golang.org/x/text v0.5.0
99
golang.org/x/time v0.2.0
1010
)
1111

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
1212
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
1313
github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
1414
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
15-
golang.org/x/text v0.4.0 h1:BrVqGRd7+k1DiOgtnFvAkoQEWQvBc25ouMJM6429SFg=
16-
golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
15+
golang.org/x/text v0.5.0 h1:OLmvp0KP+FVG99Ct/qFiL/Fhk4zp4QQnZ7b2U+5piUM=
16+
golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
1717
golang.org/x/time v0.2.0 h1:52I/1L54xyEQAYdtcSuxtiT84KGYTBGXwayxmIpNJhE=
1818
golang.org/x/time v0.2.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
1919
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=

koios-go.png

136 KB
Loading

0 commit comments

Comments
 (0)