Questions tagged [horizon]

For questions regarding the Horizon API.

Filter by
Sorted by
Tagged with
1
vote
1answer
431 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
222 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
740 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}/...
3
votes
2answers
246 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 ...
3
votes
1answer
120 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 (...
2
votes
1answer
288 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
32 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
88 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
316 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
84 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
30 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 ...