Skip to content

Commit

Permalink
Merge branch 'feat/mainsail' of github.com:ArkEcosystem/go-client int…
Browse files Browse the repository at this point in the history
…o feat/configurable-hosts
  • Loading branch information
alfonsobries committed Oct 1, 2024
2 parents b35bf95 + c647591 commit 7ff8bfa
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions client/transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,15 @@ func (s *TransactionsService) Schemas(ctx context.Context) (*TransactionSchemas,

return responseStruct, resp, err
}

// Get the list of transaction schemas.
func (s *TransactionsService) Schemas(ctx context.Context) (*TransactionSchemas, *http.Response, error) {

Check failure on line 121 in client/transactions.go

View workflow job for this annotation

GitHub Actions / unit

method TransactionsService.Schemas already declared at client/transactions.go:109:31
var responseStruct *TransactionSchemas
resp, err := s.client.SendRequest(ctx, "GET", "transactions/schemas", nil, nil, &responseStruct)

Check failure on line 123 in client/transactions.go

View workflow job for this annotation

GitHub Actions / unit

not enough arguments in call to s.client.SendRequest

if err != nil {
return nil, resp, err
}

return responseStruct, resp, err
}

0 comments on commit 7ff8bfa

Please sign in to comment.