Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed Oct 25, 2023
1 parent 8fb5f74 commit 8b760df
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
| ----------------------|-------------------------------------------------------- |
| GET `/` | [Swagger UI](https://swagger.io/resources/open-api/)
| GET `/chains` | Available `chains`
| GET `/supply` | ERC20 total supply of a contract
| GET `/supply` | ERC20 total supply
| GET `/contract` | ERC20 contract information (name,symbol,decimals)
| GET `/balance` | ERC20 balance changes of address
| GET `/balance` | ERC20 balance changes
| GET `/health` | Health check
| GET `/metrics` | Prometheus metrics
| GET `/openapi` | [OpenAPI v3 JSON](https://spec.openapis.org/oas/v3.0.0)

## Requirements
Expand Down
6 changes: 3 additions & 3 deletions src/fetch/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default new OpenApiBuilder()
.addPath("/supply", {
get: {
tags: [TAGS.USAGE],
summary: "Get the total supply of an ERC20 contract",
summary: "ERC20 total supply",
parameters: [
parameterChain,
parameterString("address"),
Expand All @@ -104,7 +104,7 @@ export default new OpenApiBuilder()
.addPath("/contract", {
get: {
tags: [TAGS.USAGE],
summary: "Get the ERC20 contract information",
summary: "ERC20 contract information",
parameters: [
parameterChain,
parameterString("address"),
Expand All @@ -121,7 +121,7 @@ export default new OpenApiBuilder()
.addPath("/balance", {
get: {
tags: [TAGS.USAGE],
summary: "Get the ERC20 balance changes",
summary: "ERC20 balance changes",
parameters: [
parameterChain,
parameterString("owner"),
Expand Down

0 comments on commit 8b760df

Please sign in to comment.