Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [horizon]

For questions regarding the Horizon API.

1
vote
0answers
15 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/......
1
vote
2answers
28 views

Are there any publicly available horizon servers or do you always have to run your own private servers?

Stellarbeat.io has a list of hundreds of horizon servers, but if you try to connect to any of them with a simple GET request (like to get account info), it immediately closes the connection. Are they ...
2
votes
1answer
30 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)...
0
votes
0answers
7 views

Which uses more server resources, Horizon or Core? And is more CPU or RAM intensive?

Looking for rough estimates on which uses more resources, Horizon or Core and whether either is more CPU or RAM intensive? Thanks.
1
vote
2answers
23 views

Trades end point not working

Following url has stopped working https://horizon-testnet.stellar.org/order_book/trades?selling_asset_type=native&buying_asset_type=credit_alphanum4&buying_asset_code=FOO&...
0
votes
0answers
14 views

Root account balance increase, when 100 billion amount got over in Stellar Private Network

What we want How can we increase root account balance when all balance got over in multiple nodes with the Same Network(Private Blockchain)? What we have First, We have setup Stellar Private ...
-1
votes
0answers
16 views

How can this error be fixed : go/clients/horizon/responses.go:20: syntax error: unexpected = in type declaration?

When I try to build the stellar horizon code.. the following errors popups up : clients/horizon/responses.go:20: syntax error: unexpected = in type declaration clients/horizon/responses.go:23: syntax ...
0
votes
1answer
13 views

Get all accounts and sort by balance

How can I get all accounts and sort by the balance? I'd like to build a list of all accounts and then sort them by the balance. I realize the data set would be large, but was thinking maybe via a ...
0
votes
1answer
29 views

Stellar Blockexplorer API call for looking up exact amount transferred

I am looking for a Stellar Blockexplorer API which lets me look up (given an address and transaction hash) the exact amount in Lumen that was transferred in a transaction as a single string. Example ...
0
votes
1answer
28 views

Receiving ETIMEOUT 104.20.58.10:443 error when request to `horizon.stellar.org`

ETIMEOUT 104.20.58.10:443 I sometime receive this error when request to horizon.stellar.org. What is this error?
-1
votes
0answers
10 views

(Horizon) access to core database

I cannot find any guidance about the credentials used to access the core database for ingestion. Is there any reason not to use a readonly role for this?
3
votes
0answers
16 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 ...
0
votes
1answer
47 views

Getting transactions history for account

I am trying to monitor the transactions for our main account. I am using the laboratory and I see something weird.. I filter it with ascending order to see from start up to now. My question is: From ...
4
votes
1answer
25 views

Own stellar horizon is not showing data prior to own instance launch date

I run a stellar node using the docker quickstart image and due to some syncing error the underlying ec2 instance was terminated and restarted on 2018-12-28T10:45:19Z, state of core is Synced. ...
1
vote
1answer
24 views

Why do transactions sent by a channel account do not appear in the operations history for the source account?

I'm currently writing an app that facilitates multi-sig transactions, and one of the issues we faced was the fact that to enable multiple transactions to be created and signed, we had to use channel ...
0
votes
1answer
33 views

Why do we receive an undefined Event error when streaming payments via the node.js sdk?

We run a continuous payments stream that receives fairly useless errors on the regular and would like to know what these may stem from and if they can be disregarded. I haven't been able to correlate ...
3
votes
1answer
44 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 ...
0
votes
1answer
54 views

transaction is not submitting on stellar network!

load account is working fine and giving details of accounts means horizon is giving response but on transaction submitting getting error. local node setup done using docker image of stellar code ...
0
votes
1answer
45 views

Retrieving order book from Stellar Network has been blocked by Cloudflare

I've been running my ticker-bot to gather order book from Stellar Network. However, it did not work since probably few hours ago. The bot is tiny program written in Python which just pinging ...
1
vote
0answers
34 views

Is the Horizon Testnet Currently down?

Is the testnet currently functional? Is there an official status website or organisation that issues announcements related to the status of the testnet regarding downtimes, resets or outages? Thanks ...
0
votes
1answer
38 views

Sharing transaction to more than one co- signers to get sign

I am very new to stellar. I have gone through the documents available in stellar offical website. In my scenario, trying to send the transaction to more than co-signers to get signature. wrote code ...
0
votes
1answer
25 views

How to check if a transaction went through?

When we submit a transaction to Horizon, we either get a success response or an error response. In the case of an error response, we can save the transaction in XDR format and resend it. But, if we ...
1
vote
1answer
72 views

how to know the transaction is confirmed or pending or success in stellar network or How to check status of a tx in stellar?

As a receiver, someone sends me lumens if transaction get success or fails it is ok as sender already got a response from the horizon, what if the transaction is neither succeed nor fails, how can I ...
1
vote
2answers
60 views

How to get account historical balances?

how would I go about obtaining a list of historical data (tokens held, their quantities and a timestamp) for an address? The stellar expert explorer has a way of generating this kind of data, an ...
0
votes
1answer
73 views

horizon not syncing

i have some problem with a test-net horizon that is not syncing. I'm using the quickstart docker image and i see core is fully synced (state: "Synced!"). On horizon i see that history.latest_ledger ...
0
votes
1answer
52 views

Steps for Horizon to Ingest Stellar-Core from ledger 1, after `horizon db clear`?

With a private network running for several months, I accidentally called the command horizon db clear, and then Horizon now shows: "history_latest_ledger": 2576535, "history_elder_ledger": 1830026, ...
0
votes
0answers
4 views

Why does the Horizon testnet API not display all of the operations of an account when queried?

I want to be able to display the full list of payment operations performed to and from an account. I can view all of the payments and other operations all the way back to the account creation on ...
1
vote
2answers
60 views

Why do request with the SDK work without starting a local Node?

I followed this guide to create an account and get the balance. I am also running this docker instance. I am confused (and impressed) that I don't have to start a node (e.g. the docker instance) or ...
0
votes
1answer
60 views

Minimum account balance Changed?

The base_reserve_in_stroops says 5,000,000 (0.05 XLM) in the following URL. This is a recent ledger entry. Does this mean it only takes 0.1 XLM (2 * 0.5 XLM) to create an account now? https://horizon....
4
votes
1answer
94 views

How to expose a Horizon URL

I created a private network using only stellar-core, but I'm finding it increasing difficult to work with the network without SDK support. This can be all solved if I can use stellar-lab with my ...
1
vote
1answer
90 views

How to be a Stellar Anchor?

There is currently not much info about this. I want to provide the ability to exchange for XLM using the local fiat currency I am at.
1
vote
0answers
29 views

History buckets not found in history.stellar.org

After update to stellar-core 10.0.0rc4 I got history issue. Synchronization is stuck. Here is errors: 2018-09-14T14:08:36.090 GCUCN [default INFO] Loading last known ledger 2018-09-14T14:10:19....
2
votes
1answer
56 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....
3
votes
2answers
73 views

Horizon returns 404 when trying to query accounts/{ID}/payments

I've spun up a Stellar horizon server using the Docker image mentioned in the repo below https://github.com/stellar/docker-stellar-core-horizon It spins up just fine but I don't get any payment ...
3
votes
1answer
56 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 ...
1
vote
2answers
45 views

Enable https for horizon in the docker-stellar-core-horizon quickstart template

Is there an easy way to enable https for the horizon server? If not, how would you recommend to update the docker file to enable https?
2
votes
1answer
67 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
1answer
35 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 + #...
2
votes
1answer
88 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 ...
3
votes
1answer
96 views

Backfilling nodes that have ledger gaps

One more for you: What are the steps to make horizon db backfill to a specific elder ledger number? A core node may not be fully synced and may have ledger gaps.
2
votes
1answer
51 views

Difference Between Horizon Commands

What is the difference between the following Horizon commands: horizon horizon db reingest horizon db backfill horizon db rebase
2
votes
0answers
74 views

How to resolve 500 Internal Server Error on /transactions/<hash>/operations?

My node returns an error when I query the /operations endpoint in horizon. curl http://127.0.0.1:8000/transactions/73ce2618095d2c17bdaf08a6a6617cef549f974b1619f03b84eb46747e5e4eb0/operations { "...
2
votes
1answer
71 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.
3
votes
1answer
51 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". ...
6
votes
1answer
115 views

aws architecture recommendations for stellar

Most of the documentation seems to be about running a single server. However, I'm wondering if it makes more sense to have a shared DB (e.g. RDS) and multiple application servers that use that. I'd ...
3
votes
1answer
37 views

Distinction between signers.key and signers.public_key in Account response

In the signers block of an Account response: "signers": [ { "public_key": "GBH25RYXAEDKPZUIMC5VJBKNYRUULY5B2LH5NVG6Q3RZPHK5KPFBZX7T", "weight": 1, "key": "...
1
vote
0answers
68 views

Horizon Error 6

I'm using the iOS SDK to attempt to submit a testnet transaction, but it fails with error 6, which I believe is BAD_AUTH, too few valid signatures/ wrong network. Here is my code: static func ...
0
votes
0answers
50 views

How to increase Horizon to Core timeout? (docker quickstart)

I’ve got integration tests that run very quickly against quickstart standalone docker image. But in Travis these tests time out. (This error message originates from Horizon). It's a common problem ...
4
votes
1answer
59 views

Is Horizon semi-centralized?

While anyone can host a Horizon server, is this considered a semi-centralized entry point because the primary REST endpoint for most clients will be through Stellar's own horizon.stellar.com? Are ...
4
votes
1answer
102 views

Is it possible to submit transactions to Stellar Core directly without Horizon?

Is it possible to submit transactions to Stellar Core directly without Horizon? Or do you need to use Horizon for all interactions with the Stellar network?