We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [horizon]

For questions regarding the Horizon API.

Filter by
Sorted by
Tagged with
1
vote
1answer
427 views

If one operation is wrong then the whole transaction is wrong

Found such a problem if one operation is wrong then the whole transaction is wrong. ZuluCrypto\StellarSdk\Horizon\Api\PostTransactionResponse Object ( [result:protected] => [rawData:...
4
votes
3answers
212 views

Bonds on Stellar

A couple of years ago Jed wrote about the possibility of using Stellar to issue Bonds (http://jedmccaleb.com/blog/bonds-on-stellar/). The example is clear, however I would like to know what is the ...
4
votes
2answers
665 views

Horizon server returning 404 for GET /accounts/{id}/payments

I am setting up a private stellar network in my local MAC environment. It does not connect to testnet or public stellar networks. Horizon server returns status code 404 for GET /accounts/{id}/...
1
vote
2answers
128 views

How to configure package stellar-horizon-postgres?

Using stellar-quickstart, I am able to install, then start and sync stellar-core. However, my attempts to install stellar-horizon fail with the following message: Package stellar-horizon-postgres ...
3
votes
1answer
94 views

Horizon Database Size / Are there very large indexes (yet)?

Could someone with a running Horizon instance please check current index sizes in the Horizon DB? I was told it currently needs around 300GB disk space but curious about index sizes to determine (...
3
votes
2answers
214 views

Streaming API not working?

I'm trying to enable streaming via the REST API but it doesn't seem to be working. curl -H "Accept: text/event-stream" "https://horizon-testnet.stellar.org/payments" This curl statement only returns ...
2
votes
1answer
257 views

FATAL when switching from test network to public network on stellar-core

My question is about transitioning from the test-network to the public network. I am curious about whether there is a standard procedure to follow, not only in terms of configuration, but also in ...
1
vote
1answer
132 views

How do I disable rate limiting on my local Horizon server?

The docker quickstart doesn't tell me how to disable rate limiting. Also, the Go SDK which we are using seems to have a rate limit function as well... I'm guessing that is just enforcing the rate ...
1
vote
1answer
63 views

I'm really confused on the rate limit… Horizon.env has just an hourly rate limit (72000 in docker image). But http headers claim it is 100/sec?

This answer tells me to look at HTTP headers to determine the rate limit. It is 2 values: X-Ratelimit-Limit: 101 which is # per window X-Ratelimit-Reset: 1 which is the winlow size (1 second). But ...
1
vote
1answer
21 views

How to interpret the output of the assets endpoint

I'm looking to list all unique assets on the network, per this endpoint/sdk. I understand there are interesting public aggregations of this information, such as: https://stellarasset.com/ https://...
1
vote
1answer
303 views

Horizon not Synchronizing (“import session failed: failed to load header: sql: no rows in result set” pid=8077)

<< Background >> Private network of 4 nodes on 4 VMs, hosted on same server. Core and Horizon built on 1 VM, and then 3 copies were made from this VM. NODE_SEED (core) & corresponding IP (...
1
vote
2answers
78 views

How Horizon makes use of stelar-core?

By definition Horizon acts as the interface between stellar-core and applications, and apparently it needs access ... HTTP API that is published by stellar-core. Is there a place where this API is ...
0
votes
1answer
29 views

How to list all unique contracts on the network?

From a study comparing smart contracts on Ethereum and Stellar, there's a point in the study about downloading all contracts: Testing Smart Contracts: Ethereum vs. Stellar The researchers from ...