Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
0237h committed Dec 15, 2023
1 parent 116c6d3 commit e4631dc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
23 changes: 16 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@

[![.github/workflows/bun-test.yml](https://github.com/pinax-network/antelope-token-api/actions/workflows/bun-test.yml/badge.svg)](https://github.com/pinax-network/antelope-token-api/actions/workflows/bun-test.yml)

> Token prices from the Antelope blockchains
> Token balances, supply and transfers from the Antelope blockchains
## REST API

| Pathname | Description |
|-------------------------------------------|-----------------------|
| GET `/chains` | Available `chains`
| GET `/supply` | Antelope Tokens total supply
| GET `/balance` | Antelope Tokens balance changes
| GET `/transfers` | Antelope Tokens transfers
| GET `/health` | Health check
| GET `/metrics` | Prometheus metrics
| GET `/openapi` | [OpenAPI v3 JSON](https://spec.openapis.org/oas/v3.0.0)
Expand All @@ -25,8 +28,17 @@ $ bun install
$ bun dev
```

**Tests**
```console
$ bun lint
$ bun test
```

## [`Bun` Binary Releases](https://github.com/pinax-network/substreams-sink-websockets/releases)

> [!NOTE]
> Currently not available
> Linux Only
```console
Expand All @@ -53,14 +65,11 @@ MAX_LIMIT=500
VERBOSE=true
```

## Help

```console

```

## Docker environment

> [!NOTE]
> Currently not available
Pull from GitHub Container registry
```bash
docker pull ghcr.io/pinax-network/antelope-token-api:latest
Expand Down
2 changes: 1 addition & 1 deletion src/fetch/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export default new OpenApiBuilder()
}).addPath("/transfers", {
get: {
tags: [TAGS.USAGE],
summary: "Antelope Tokens Transfers",
summary: "Antelope Tokens transfers",
parameters: [
parameterChain,
parameterString("contract"),
Expand Down

0 comments on commit e4631dc

Please sign in to comment.