Questions tagged [horizon]

For questions regarding the Horizon API.

Filter by
Sorted by
Tagged with
5 votes
3 answers
314 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 ...
yulemata's user avatar
  • 312
2 votes
1 answer
402 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 ...
M.Bradascio's user avatar
1 vote
1 answer
490 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:...
Minherc's user avatar
  • 41
5 votes
2 answers
891 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}/...
Harmit's user avatar
  • 303
4 votes
2 answers
332 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 ...
Riina's user avatar
  • 143
3 votes
1 answer
183 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 (...
marcinx's user avatar
  • 586
2 votes
1 answer
2k views

Error tx_bad_seq

In almost every case, this error indicates that the transaction submitted in the initial request will never succeed. There is one exception: a transaction that fails with the tx_bad_seq result code (...
Ahmad Hidayat's user avatar
1 vote
1 answer
75 views

How to configure native currency in a private network

I would like to know how we can configure the native currency in a private network? I would like: Change the name of the native currency Change the number of native currency created in the first ...
Thony's user avatar
  • 13
1 vote
1 answer
55 views

Viewing trustlines for authorization required assets from an asset issuer perspective

From an asset holder perspective seeing which trustlines are approved or unapproved for authorization required assets is straightforward - we can see this with the is_authorized boolean on the account ...
Owen's user avatar
  • 207
1 vote
2 answers
94 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 ...
maxint's user avatar
  • 303
1 vote
2 answers
447 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 ...
Did Alik's user avatar
1 vote
1 answer
63 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://...
Mittenchops's user avatar
1 vote
1 answer
363 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 (...
cesarm's user avatar
  • 1,527
1 vote
1 answer
135 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 ...
Steve Kirsch's user avatar
1 vote
1 answer
506 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 ...
Steve Kirsch's user avatar
0 votes
1 answer
42 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 ...
Mittenchops's user avatar