-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1c4f593
commit 238f733
Showing
3 changed files
with
20 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,8 @@ | ||
--- | ||
title: Horizon API Reference | ||
sidebar_position: 15 | ||
sidebar_position: 20 | ||
sidebar_label: Structure | ||
description: Horizon is an API for interacting with the Stellar network. | ||
--- | ||
|
||
import { MethodTable } from "@site/src/components/MethodTable"; | ||
|
||
Horizon is an API for interacting with the Stellar network. | ||
|
||
This API serves the bridge between apps and [Stellar Core](/docs/run-core-node). Projects like wallets, decentralized exchanges, and asset issuers use Horizon to submit transactions, query an account balance, or stream events like transactions to an account. | ||
|
||
Horizon is a [RESTful API](https://en.wikipedia.org/wiki/Representational_state_transfer) and can be accessed via cURL, a browser, or one of the [Stellar SDKs](/docs/tools/sdks). To reduce the complexity of your project, we recommend you use an SDK instead of making direct API calls. | ||
|
||
The Stellar Development Foundation (SDF) runs two instances of Horizon: | ||
|
||
- [https://horizon.stellar.org/](https://horizon.stellar.org/) for interacting with the public network | ||
- [https://horizon-testnet.stellar.org/](https://horizon-testnet.stellar.org/) for interacting with the [testnet](/docs/fundamentals-and-concepts/networks) | ||
|
||
<MethodTable title="API Reference Sections"> | ||
|
||
| | | | ||
| --- | --- | | ||
| [Structure](../structure/README.mdx) | How Horizon is structured. | | ||
| [Resources](../resources/index.mdx) | Descriptions of resources and their endpoints. | | ||
| [Aggregations](../aggregations/README.mdx) | Descriptions of specialized endpoints. | | ||
| [Errors](../errors/index.mdx) | Potential errors and what they mean. | | ||
|
||
</MethodTable> | ||
How Horizon is structured. |