Questions tagged [horizon]

For questions regarding the Horizon API.

Filter by
Sorted by
Tagged with
3 votes
1 answer
349 views

How to create and fund a stellar account on live network?

I have used the JS SDK to create a set of keys, and then send some money to it using friendbot cfr the docs to create an account (https://www.stellar.org/developers/guides/get-started/create-account....
ZaphodBBx's user avatar
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
3 votes
1 answer
166 views

Why does this SSE stream go stale?

While implementing server sent events (SSE) requests I've come across a problem. The streams quickly become stale. The client continues to request data, but the server will only respond with "hello". ...
Synesso's user avatar
  • 3,367
3 votes
1 answer
75 views

What is HorizonRequestError error 11?

Horizon returns errors with numbers, but as far as I can see, there aren't numbers in the error reference. The operation couldn’t be completed. (stellarsdk.HorizonRequestError error 11.) What is ...
p3scobar's user avatar
  • 117
3 votes
1 answer
615 views

How to obtain our token's current price

We issued a token on Stellar using stellar API. We need to show the price of our token on our website. How we can do that? Is this available using Stellar API?
Ys3's user avatar
  • 171
3 votes
1 answer
52 views

How to tell if sequence number has been incremented from transaction post response

Is there a straightforward way to ascertain from the horizon txn post response if the seqno has been incremented? For example, an underfunded operation will cause the seq number to increment, but a ...
Synesso's user avatar
  • 3,367
3 votes
1 answer
186 views

Path payment accounting

I've noticed a weird path payment and I'm confused as to how to interpret it. The payment is represented on stellar.expert as GBN2KFK sending 3.333 XLM to a path and GATEMHC receiving 1 XLM at the ...
alcio's user avatar
  • 133
3 votes
1 answer
118 views

Is there any way of knowing total transactions count (pagination)?

In the transactions endpoint e.g.: https://horizon-testnet.stellar.org/accounts/GAZHWW2NBPDVJ6PEEOZ2X43QV5JUDYS3XN4OWOTBR6WUACTUML2CCJLI/transactions?cursor=&limit=20&order=desc Is there any ...
zig's user avatar
  • 133
3 votes
1 answer
62 views

How to derive a number of open Offers for a transaction set that hasn't been fully submitted to the network yet

Please help to find out a possible solutions to the following problem: For a dedicated "Minimal Balance" service one would need to know a number of account entries among which there are Offers ((2 + #...
Yura Lazarev's user avatar
3 votes
1 answer
120 views

Stream stop get new data when finishing fetch all data and new payment was created

I using java-stellar-sdk version 0.2.0 from this: https://github.com/stellar/java-stellar-sdk/releases I did as tutorial example: @Override protected void onCreate(Bundle savedInstanceState) { ...
hungnv39's user avatar
3 votes
1 answer
92 views

Fill or Kill (FOK) offers on Stellar?

Is there any way currently to create Fill or Kill offers on Stellar network? As described in Bitfinex help center: A "fill or kill" order is a limit order that must be filled immediately in its ...
user1363's user avatar
3 votes
1 answer
282 views

Issue with Stellar Quickstart Docker Image

I'm trying to run the docker stellar/quickstart image. I launch it with: docker run -d -p "8000:8000" --name stellar stellar/quickstart --testnet I've left it running for quite some time but it ...
mecavity's user avatar
3 votes
0 answers
112 views

Horizon 2.0 Captive Core Reingestion Issues

Ive successfully installed and started horizon 2.0 but I am having problems reingesting ledgers. Id like to reingest ledgers from [30000000, present]. Ive attempted to do so following the instruction ...
jiujiteiro's user avatar
3 votes
0 answers
79 views

How to set correct hostname in Horizon?

What is the correct way to set a hostname in Horizon? Hosting server is configured to horizon.stellar.domain.com but within Horizon the generated paths for all href attributes show http://horizon/......
marcinx's user avatar
  • 586
3 votes
2 answers
795 views

Horizon waiting for Stellar-core to sync

I have built stellar-core and horizon instances from source on Ubuntu 18.04 LTS. I managed to make them work for the test-net, yet now, whilst trying to configure stellar-core.cfg for the public ...
M.Bradascio's user avatar
3 votes
1 answer
303 views

How do I construct The Horizon postgresql string to connect to a unix socket

I've successfully gotten stellar-core itself to connect to my postgresql database using a Unix socket, like this: DATABASE="postgresql://dbname=stellarb user=stellarb host=/var/run/postgresql" Now, I ...
Munawar's user avatar
  • 157
2 votes
2 answers
325 views

Can't see the history of an account that paid me

One of the accounts on my platform received a payment on 15/07/18 from THIS ACCOUNT but I can't retrieve the history of the sender account from any explorer. Here is the screenshot of payments from ...
AndreaBorio's user avatar
2 votes
2 answers
169 views

Getting all offers for a particular Asset (pair)

For a while now I'm trying to figure out how to get all offers for a particular Asset (or pair). As an example, StellarExpert lists all offers of MOBI on the following page: https://stellar.expert/...
CodeR70's user avatar
  • 123
2 votes
1 answer
241 views

Core breaks after upgrade to 10.0.0

After upgrading both Horizon and Core to new stable versions, I can no longer get stellar-core to start. before: ENV STELLAR_CORE_VERSION 9.2.0-551-7561c1d5 ENV HORIZON_VERSION 0.13.1 after: ENV ...
relik's user avatar
  • 315
2 votes
1 answer
80 views

How to configure Horizon response _links.href values to use https?

I am running Stellar core and Horizon behind an Nginx reverse proxy and encountering issues with the _link.href output by Horizon. The SSL is terminated at nginx, with the connection to Horizon non-...
Chris I's user avatar
  • 23
2 votes
1 answer
125 views

Asset endpoint returns 404 on standalone network

I build a docker image from the v0.17.0 tag of docker-stellar-core-horizon. Then, I created a local standalone network from that image: docker run --rm -d -p "8000:8000" -p "11626:11626" \ -p "...
Synesso's user avatar
  • 3,367
2 votes
1 answer
99 views

How do you access horizon on a web browser?

I can't find a tutorial on how to use it, what to download, etc.
Ms. Rebecca's user avatar
2 votes
1 answer
68 views

How the transaction history of an account including the amounts sent/received in the transaction be viewed using horizon?

By checking transactions using something like: https://horizon-testnet.stellar.org/accounts/GBMTGMQXBXZS5XJROQQOZB7TU4ACBIXTJJEG7WTXP4ZEARPGQGDWHWIS/transactions?order=desc&limit=100 I get JSON ...
John Murphy's user avatar
2 votes
1 answer
137 views

Can the Horizon Server be hacked?

What is the guarantee that the Horizon Server which I am interacting is actually fetching (correct) data from ledger SQL database of Stellar Core?
jagstock's user avatar
  • 539
2 votes
1 answer
146 views

Setting Expiration Time for Offers on Stellar?

Is it possible to create an offer that would only be valid for a day through Stellar DEX? If not filled until expiry time, such offer would be automatically cancelled. Centralized exchanges often ...
user1363's user avatar
2 votes
1 answer
78 views

Why failed transactions are not shown in Horizon in any way?

Anything I can get of the Horizon about the failed transactions is their count in a ledger. No other info is shown about them. Currently, no one can calculate lumen balance using horizon only because ...
Iva Kam's user avatar
  • 187
2 votes
1 answer
133 views

How to relaunch a Testnet node to use the new Testnet after a reset while using the Docker quickstart container?

What are the recommended steps that should be taken to get a stellar testnet node using the quickstart docker reset on the new testnet? Currently it is still using the old network by the looks of it,...
John Murphy's user avatar
2 votes
1 answer
208 views

Does AUTO_MAINTENANCE setting clear Horizon DB?

I want to have in my node information only about the last 300000 ledgers. Should I always manually clean the DB or can I automate it? I'm especially interested in the autocleaning of the Horizon DB.
alexqrid's user avatar
2 votes
1 answer
178 views

Difference Between Horizon Commands

What is the difference between the following Horizon commands: horizon horizon db reingest horizon db backfill horizon db rebase
Sebastian M's user avatar
2 votes
1 answer
88 views

Issue with Submit Transaction

Am using Java SDK and Horizon Testnet. Issue is when i submit a transaction using server.submitTransaction method i get following exception, please let me know if you need any more information javax....
Sang's user avatar
  • 31
2 votes
2 answers
508 views

Account IDs not working for Horizon Testnet API

I am testing the Accounts endpoint on the Horizon testnet API. On this documentation page, there is the sample address: GA2HGBJIJKI6O4XEM7CZWY5PS6GKSXL6D34ERAJYQSPYA6X6AI7HYW36 Which when plugged ...
Oliver Frost's user avatar
2 votes
2 answers
241 views

Possible to get a list of account holders satisfying certain criteria using Horizon?

I would like to do some analysis of the layout of the Stellar network (maybe some basic graph theory and stats) and I would like to grab a list of all account holders that have had a payment operation ...
tlnagy's user avatar
  • 213
2 votes
1 answer
209 views

Horizon DB Initialized with Arbitrary Base(?)

Settings: Private network, 4 nodes running good and validating each other. Now I try to add a 5th node for testing, upon encountering an Horizon ingestion issue. this is how I made the node "5a" (...
cesarm's user avatar
  • 1,527
2 votes
1 answer
100 views

Which Horizon "Post Transaction" responses are final and immutable?

I am working on the development of a software wallet. I am using Horizon Post Transaction API to post signed transaction. Following an issue I ran into, I am trying to understand which responses are ...
Alon's user avatar
  • 225
2 votes
1 answer
485 views

horizon.stellar.org | 504: Gateway time-out errors are FREQUENT!

I’ve been using the py-stellar-base library to access the stellar public horizon server (version from late last year) and up till recently it’s been fine. Now I get timeouts (no response from horizon)...
Steve Kirsch's user avatar
2 votes
1 answer
399 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
2 votes
1 answer
70 views

How can I direct stellar laboratory to my own instance of horizon?

I cloned the stellar laboratory project and edited the /src/constants/networks.js file to switch the testnet horizon url to url of my own horizon instance. This allowed me to get requests such as ...
Ron Serruya's user avatar
2 votes
1 answer
120 views

Can't close server stream

The other existing question didn't work for me. (How to close a stream event?) I set up a class to handle and switch streams. In the constructor, I define and initialize the stream this way: ...
Alex F's user avatar
  • 31
2 votes
1 answer
256 views

Receiving error when posting a transaction to Horizon

I am attempting to create a stellar-core and horizon node running under Travis-CI. (Existing solutions do not work for macOS, as Travis does not support Docker instances for test builds.) The ...
Avi Shevin's user avatar
2 votes
1 answer
86 views

Stellar Ledger / Hash uniqueness

I've seen many transactions with the same hash. However, is it safe to say that ledger/hash pairs are unique and there are no scenarios where two transactions on the same ledger share a hash?
zallarak's user avatar
  • 121
2 votes
1 answer
186 views

How to access the "All Operations" Horizon endpoint using the Go SDK?

I'm working on an inflation pool, using the go SDK. However the client/horizon package doesn't expose all the horizon endpoints (the Client Interface only has Root, HomeDomainForAccount, LoadAccount, ...
matheusb.comp's user avatar
2 votes
1 answer
533 views

How to connect to a stellar stand alone node?

My goal was to set up a small test network with two stellar nodes. Therefor, I forked the quickstart repo and made some small adjustments. I changed the public key and the network passphrase. On my ...
Seb's user avatar
  • 131
2 votes
1 answer
89 views

How to create an account on a private network?

I have already started a stellar private network. I need to generate an account on a stellar private network. I have a secret key and private key also. But I have a question about what should I enter ...
Isha Padalia's user avatar
2 votes
2 answers
110 views

Using SDF's Horizon server for Production Systems

I know SDF provides a public Horizon server too. My question from those who are using for their production apps, is it reliable enough or would you suggest running your own Horizon server?
Volatil3's user avatar
  • 215
2 votes
1 answer
80 views

Stellar scalability to 4000 tx/s

I tried to scale Stellar Standalone to process 4000 tx per second. I use AWS EC2 m4.large for Core, and Horizon. Also I use Postgres RDS for core and Horrizon, but I have only 560 tx per second. My ...
Aloha's user avatar
  • 21
2 votes
1 answer
115 views

How to query transaction history of a special kind of asset

When we issued our own asset, how to query transaction history of it?
yuyue007's user avatar
  • 131
2 votes
1 answer
60 views

Horizon import failed (Integer type error?)

I configured a custom docker-compose with Postgres, Stellar Core and Horizon as seperate services. Core and Horizon are running and are responsive via HTTP. Stellar-Core is running on Livenet and is ...
Till Kolter's user avatar
2 votes
1 answer
268 views

Cannot transfer money on standalone network

I'm attempting to transfer funds from the root account to another account on a private stellar network. When I attempt to run the code below (which is basically copied from the examples), I get an ...
Ryan's user avatar
  • 241
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
2 votes
2 answers
430 views

Unable to create a new offer on stellar platform using nodejs

As per stellar documentation they provide manageOffer function to create, update and delete an offer, i am enable to use this function can anybody please help me to give me some instructions or any ...
Aman Kamboj's user avatar