Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
xhliu committed Jun 24, 2024
1 parent 0ecf994 commit e99da42
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
5 changes: 1 addition & 4 deletions open-api/btc-blockchain/introduction.info.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ import Export from "@theme/ApiExplorer/Export";



The sCrypt Open API provides endpoints for accessing and managing BTC.
The blockchain API allows you to query general information about blockchain, including blocks, transactions, and addresses.

The API ensures secure access through JWT bearer authentication.

<div style={{"marginBottom":"2rem"}}><h2 id={"authentication"} style={{"marginBottom":"1rem"}}>Authentication</h2><SchemaTabs className={"openapi-tabs__security-schemes"}><TabItem label={"HTTP: Bearer Auth"} value={"bearerAuth"}><div><table><tbody><tr><th>Security Scheme Type:</th><td>http</td></tr><tr><th>HTTP Authorization Scheme:</th><td>bearer</td></tr><tr><th>Bearer format:</th><td>JWT</td></tr></tbody></table></div></TabItem></SchemaTabs></div><div style={{"display":"flex","flexDirection":"column","marginBottom":"var(--ifm-paragraph-margin-bottom)"}}><h3 style={{"marginBottom":"0.25rem"}}>Contact</h3><span><a href={"mailto:[email protected]"}>[email protected]</a></span></div>

6 changes: 4 additions & 2 deletions open-api/btc-token/introduction.info.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ import Export from "@theme/ApiExplorer/Export";



The sCrypt Open API provides endpoints for accessing and managing various aspects of BRC-20 tokens, Ordinals inscriptions, and Runes on BTC.
Our token API provides endpoints for accessing and managing various token protocols, including Ordinals inscriptions, BRC-20, Runes, SNS, and BITMAP.

It allows developers to retrieve detailed information about specific tokens, holders, and balances, as well as to interact with inscription data and Rune specifics.
It allows developers to retrieve detailed information about specific tokens, holders, and balances.

It also allows them to interact with tokens via `Order` APIs, by submitting orders to sCrypt without having to understand the underlying token protocol details.

The API ensures secure access through JWT bearer authentication.

Expand Down
1 change: 1 addition & 0 deletions open-api/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ sidebar_position: 0
Our open API uses an HTTP bearer token to authenticate. You can refer to this [doc](https://docs.scrypt.io/advanced/how-to-integrate-scrypt-service#get-an-api-key) to get an API key as the bearer token.

![](../static/img/open-api-auth.png)

0 comments on commit e99da42

Please sign in to comment.