From 1a9cc1140e55d62628441a9be5d80f78b5f118b1 Mon Sep 17 00:00:00 2001 From: Etienne Donneger Date: Wed, 3 Jul 2024 10:50:30 -0400 Subject: [PATCH] Update README.md --- README.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f4eb200..6fdee66 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,9 @@ > Tokens information from the Antelope blockchains, powered by [Substreams](https://substreams.streamingfast.io/) + + + ## REST API ### Usage @@ -11,13 +14,13 @@ | Method | Path | Description | | :---: | --- | --- | | GET
`text/html` | `/` | [Swagger](https://swagger.io/) API playground | -| GET
`application/json` | `/balance` | Balances of an account. | -| GET
`application/json` | `/head` | Information about the current head block in the database | -| GET
`application/json` | `/holders` | List of holders of a token | -| GET
`application/json` | `/supply` | Total supply for a token | -| GET
`application/json` | `/tokens` | List of available tokens | -| GET
`application/json` | `/transfers` | All transfers related to a token | -| GET
`application/json` | `/transfers/{trx_id}` | Specific transfer related to a token | +| GET
`application/json` | `/chains` | Information about the chains and latest head block in the database | +| GET
`application/json` | `/{chain}/balance` | Balances of an account. | +| GET
`application/json` | `/{chain}/holders` | List of holders of a token | +| GET
`application/json` | `/{chain}/supply` | Total supply for a token | +| GET
`application/json` | `/{chain}/tokens` | List of available tokens | +| GET
`application/json` | `/{chain}/transfers` | All transfers related to a token | +| GET
`application/json` | `/{chain}/transfers/{trx_id}` | Specific transfer related to a token | ### Docs