Skip to content

Commit

Permalink
docs: fix README missing and duplicated links (#2048)
Browse files Browse the repository at this point in the history
  • Loading branch information
sborrazas authored Dec 23, 2024
1 parent 7b9d4fa commit 5d2f211
Showing 1 changed file with 29 additions and 2 deletions.
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

0 comments on commit 5d2f211

Please sign in to comment.