Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix README missing and duplicated links #2048

Merged
merged 2 commits into from
Dec 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 29 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
- [Oracles](#oracles)
- [Channels](#channels)
- [AEX9 tokens](#aex9-tokens)
- [AEX9 contract balances](#aex9-contract-balances)
- [NFTs](#aex141)
- [Statistics](#statistics)
- [Activities](#activities)
Expand All @@ -43,6 +42,11 @@ The middleware is a caching and reporting layer which sits in front of the nodes

The architecture of the app is explained [here](docs/architecture.md).

## Prerequisites

For running it without Docker, ensure that you have [Elixir 1.17](https://elixir-lang.org/install.html) installed, using Erlang 26 or newer.

If using Docker, make sure you have [Docker 27](https://docs.docker.com/engine/install/) or newer.

## Setup

Expand Down Expand Up @@ -2639,8 +2643,31 @@ $ curl -s "https://mainnet.aeternity.io/mdw/v3/oracles?state=active&limit=1" | j
}
```

### `/v3/oracles/:id`

```
$ curl -s "https://mainnet.aeternity.io/mdw/v3/oracles/ok_R7cQfVN15F5ek1wBSYaMRjW2XbMRKx7VDQQmbtwxspjZQvmPM" | jq '.'
{
"active": false,
"active_from": 4660,
"expire_height": 6894,
"approximate_expire_time": 1544587118827,
"register_time": 1544194831238,
"register_tx_hash": "th_2SLFNYk5s5u5tRD4Bqx6pSc1mysZMsCr3szbx55nKgVBQSiZv2",
"format": {
"query": "string",
"response": "string"
},
"oracle": "ok_R7cQfVN15F5ek1wBSYaMRjW2XbMRKx7VDQQmbtwxspjZQvmPM",
"query_fee": 20000,
"register": 11023
}
```

### `/v3/oracles/:id/queries`

Paginated list of an oracle's queries.

```
$ curl -s "https://mainnet.aeternity.io/mdw/v3/oracles/ok_R7cQfVN15F5ek1wBSYaMRjW2XbMRKx7VDQQmbtwxspjZQvmPM/queries" | jq '.'
{
Expand Down Expand Up @@ -3259,7 +3286,7 @@ $ curl -s 'https://testnet.aeternity.io/mdw/v3/aex141/transfers?to=ak_QVSUoGrJ31

---

## Stats
## Statistics

### `/v3/stats/delta`

Expand Down
Loading