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

services/horizon/internal/docs: Use full links instead of relative links. #1898

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The Stellar Network allows payments to be made across assets through _path payme
payment specifies a series of assets to route a payment through, from source asset (the asset
debited from the payer) to destination asset (the asset credited to the payee).

A [Path Payment Strict Receive](../../../guides/concepts/list-of-operations.html#path-payment-strict-receive) allows a user to specify the *amount of the asset received*. The amount sent varies based on offers in the order books. If you would like to search for a path specifying the amount to be sent, use the [Find Payment Paths (Strict Send)](./path-finding-strict-send.html).
A [Path Payment Strict Receive](https://www.stellar.org/developers/guides/concepts/list-of-operations.html#path-payment-strict-receive) allows a user to specify the *amount of the asset received*. The amount sent varies based on offers in the order books. If you would like to search for a path specifying the amount to be sent, use the [Find Payment Paths (Strict Send)](./path-finding-strict-send.html).

A strict receive path search is specified using:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The Stellar Network allows payments to be made across assets through _path payme
payment specifies a series of assets to route a payment through, from source asset (the asset
debited from the payer) to destination asset (the asset credited to the payee).

A [Path Payment Strict Send](../../../guides/concepts/list-of-operations.html#path-payment-strict-send) allows a user to specify the amount of the asset to send. The amount received will vary based on offers in the order books.
A [Path Payment Strict Send](https://www.stellar.org/developers/guides/concepts/list-of-operations.html#path-payment-strict-send) allows a user to specify the amount of the asset to send. The amount received will vary based on offers in the order books.


A path payment strict send search is specified using:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ If you are encountering this error it means that either:
The former case may happen because there was no room for your transaction in the 3 consecutive ledgers. In such case, Core server removes a transaction from a queue. To solve this you can either:

* Keep resubmitting the same transaction (with the same sequence number) and wait until it finally is added to a new ledger or:
* Increase the [fee](../../../guides/concepts/fees.html).
* Increase the [fee](https://www.stellar.org/developers/guides/concepts/fees.html).

## Request

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ error. There are many ways in which a transaction could be malformed, including:

- You submitted an empty string.
- Your base64-encoded string is invalid.
- Your [XDR](../../learn/xdr.md) structure is invalid.
- You have leftover bytes in your [XDR](../../learn/xdr.md) structure.
- Your [XDR](https://www.stellar.org/developers/guides/concepts/xdr.html) structure is invalid.
- You have leftover bytes in your [XDR](https://www.stellar.org/developers/guides/concepts/xdr.html) structure.

If you are encountering this error, please check the contents of the transaction you are
submitting. This error returns a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To learn more about the concept of ledgers in the Stellar network, take a look a
|------------------------------|--------|-------------------------------------------------------------------------------------------------------------------------------|
| id | string | The id is a unique identifier for this ledger. |
| paging_token | number | A [paging token](./page.md) suitable for use as a `cursor` parameter. |
| hash | string | A hex-encoded SHA-256 hash of the ledger's [XDR](../../learn/xdr.md)-encoded form. |
| hash | string | A hex-encoded SHA-256 hash of the ledger's [XDR](https://www.stellar.org/developers/guides/concepts/xdr.html)-encoded form. |
| prev_hash | string | The hash of the ledger that chronologically came before this one. |
| sequence | number | Sequence number of this ledger, suitable for use as the as the :id parameter for url templates that require a ledger number. |
| transaction_count | number | *REMOVED in 0.17.0: USE `successful_transaction_count` INSTEAD*. The number of successful transactions in this ledger. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To learn more about the concept of transactions in the Stellar network, take a l
| id | string | The canonical id of this transaction, suitable for use as the :id parameter for url templates that require a transaction's ID. |
| paging_token | string | A [paging token](./page.md) suitable for use as the `cursor` parameter to transaction collection resources. |
| successful | bool | *From 0.17.0* Indicates if transaction was successful or not. |
| hash | string | A hex-encoded SHA-256 hash of the transaction's [XDR](../../learn/xdr.md)-encoded form. |
| hash | string | A hex-encoded SHA-256 hash of the transaction's [XDR](https://www.stellar.org/developers/guides/concepts/xdr.html)-encoded form. |
| ledger | number | Sequence number of the ledger in which this transaction was applied. |
| created_at | ISO8601 string | |
| source_account | string | |
Expand Down Expand Up @@ -110,4 +110,4 @@ To learn more about the concept of transactions in the Stellar network, take a l


## Submitting transactions
To submit a new transaction to Stellar network, it must first be built and signed locally. Then you can submit a hex representation of your transaction’s [XDR](../../learn/xdr.md) to the `/transactions` endpoint. Read more about submitting transactions in [Post Transaction](../transactions-create.md) doc.
To submit a new transaction to Stellar network, it must first be built and signed locally. Then you can submit a hex representation of your transaction’s [XDR](https://www.stellar.org/developers/guides/concepts/xdr.html) to the `/transactions` endpoint. Read more about submitting transactions in [Post Transaction](../transactions-create.md) doc.
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ New payment:

## Testing it out

We now know how to get a stream of transactions to an account. Let's check if our solution actually works and if new payments appear. Let's watch as we send a payment ([`create_account` operation](../../../guides/concepts/list-of-operations.html#create-account)) from our account to another account.
We now know how to get a stream of transactions to an account. Let's check if our solution actually works and if new payments appear. Let's watch as we send a payment ([`create_account` operation](https://www.stellar.org/developers/guides/concepts/list-of-operations.html#create-account)) from our account to another account.

We use the `create_account` operation because we are sending payment to a new, unfunded account. If we were sending payment to an account that is already funded, we would use the [`payment` operation](../../../guides/concepts/list-of-operations.html#payment).
We use the `create_account` operation because we are sending payment to a new, unfunded account. If we were sending payment to an account that is already funded, we would use the [`payment` operation](https://www.stellar.org/developers/guides/concepts/list-of-operations.html#payment).

First, let's check our account sequence number so we can create a payment transaction. To do this we send a request to horizon:

Expand Down