Questions tagged [horizon]

For questions regarding the Horizon API.

Filter by
Sorted by
Tagged with
3
votes
2answers
196 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
189 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)...
1
vote
2answers
27 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
1answer
45 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
48 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
810 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?
3
votes
1answer
42 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
73 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
2answers
127 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
44 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
64 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
156 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
209 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
96 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 ...
2
votes
0answers
65 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
77 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
82 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
2answers
546 views

How can I determine if a transaction is confirmed, pending or successful after submitting to the Stellar network?

If someone sends me lumens, what happens if the transaction neither succeed nor fails? How can I determine whether I will receive lumens or not when the transaction is pending? From the getting ...
1
vote
2answers
144 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
242 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
326 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, ...
1
vote
2answers
65 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
122 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
309 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
537 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.
2
votes
0answers
84 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....
3
votes
1answer
205 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....
4
votes
2answers
142 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
85 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
85 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?
3
votes
1answer
147 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
48 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
197 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 ...
4
votes
1answer
246 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
168 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
181 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
88 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
122 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
235 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
40 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
113 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 ...
4
votes
1answer
62 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
165 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?
3
votes
1answer
120 views

Is a payment returned through horizon api call: “Payments for Account” always “confirmed”?

Is a payment returned through horizon api call: "Payments for Account" always "confirmed"? In comparison to Ripple a transaction could be returned but not validated yet. Is Horizon filtering this out ...
2
votes
2answers
444 views

How should the changeTrust Operation be used?

If I want to create a trustline between my issuing account and new users accounts, how do I do this. I tried with this code: const StellarSdk = require('stellar-sdk'); StellarSdk.Network....
7
votes
2answers
407 views

Lost ledger data: what is the proper way to shutdown and restart a node?

I had to restart Docker Engine, and I stopped the services by attaching to the container and issuing ctrl+c. It was in the process of downloading ledger files, and I thought that it would pick up from ...
4
votes
1answer
102 views

How to use the Stellar SDK API Reference?

I am trying to understand how the API reference is meant to be used. For example I want to see how to set up a trust line for an account using the changeTrust() operation. I went to the API ...
2
votes
1answer
59 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 ...
4
votes
1answer
175 views

How do you use the stellar quickstart without docker?

It says "The easiest way to install Horizon is by using stellar/quickstart docker image." But I can't run the "docker pull" command without docker. I went to download docker from their site and ...
7
votes
1answer
245 views

Testing Stellar for high volume of operations per second

I'm testing Stellar for a project where we want to be able to get ~4000 operations per second. Multiple sources ( including this question's answer: Scalability on Stellar network ) indicate that I ...