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.

0
votes
1answer
34 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
32 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
31 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
0answers
12 views

Stellar IOException: unexpected end of stream in connection

I got an error while trying to get account information from Stellar test network in the execution of this java command: server.accounts().account(destination) IOException: unexpected end of stream ...
0
votes
1answer
30 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
17 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 ...
0
votes
0answers
17 views

Horizon - Public Network Endpoint Divergence for Account Balance and Asset Details

Please, I’m facing some errors with Horizon in Public Network. The problem is: I have one asset in my balance, this one: AGKA172018SE. When I check my account balance with Stellar Laboratory and with ...
1
vote
1answer
44 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
45 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
0answers
19 views

OP_NO_ISSUER error despite of account is there

I am facing a weird issue. All of a sudden I am getting op_no_issuer. XDR here I tried to check horizon API for account but surprisingly it is not working. Here is my issuer account https://horizon-...
0
votes
1answer
44 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
21 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
20 views

Bridge-server Timeout on submitting transaction

The bridge server that I was running had no issues so far until one day i started getting 504 Gateway Timeout. On restarting bridge server everything worked as it used to! What could possibly be wrong ...
0
votes
0answers
12 views

where can i find Custom horizon builds in stellar term and edit?

I'm trying to install stellar term but I want to know in which path I can see horizon link cause I want to change it and add my Custom horizon builds.
1
vote
2answers
57 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
0answers
9 views

catching horizon up between 0 and N

I set CATCHUP_COMPLETE=true in /opt/stellar/core/etc/stellar-core.cfg but I did it shortly after the sync started so it looks like I am missing ledgers between 0 and N. horizon=> select min(sequence) ...
0
votes
1answer
47 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
55 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
55 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
21 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
38 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....
2
votes
2answers
56 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 ...
2
votes
1answer
47 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
1answer
34 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
61 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
33 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
76 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
60 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.
0
votes
1answer
37 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
55 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
56 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
40 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
83 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
35 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
54 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
38 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
56 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
85 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
45 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
95 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....
6
votes
2answers
109 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 ...
3
votes
1answer
41 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
31 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
63 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
127 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 ...
1
vote
2answers
85 views

How many Lumens would I have to get in order to create a custom token?

I am currently working on creating a custom token on the Stellar network. Like here: https://medium.com/python-pandemonium/how-to-create-a-custom-token-on-stellar-network-in-python-abf8b2f7a6f8 I ...
1
vote
2answers
51 views

MEMO N/A after submitting to bridge endpoint /builder

curl -X POST \ http://localhost:8006/builder \ -H 'Content-Type: application/json' \ -d '{ "source": "GBJ6ONYK73A65BRW7SOGQYEDCN55NCYDH5WJTE7WZIZXF3RRX2GFI33T", "memo": { "text": "...
2
votes
1answer
37 views

How to find cursor of a specific timestamp?

I need to find what's the coursor of a specific timestamp for let my users see theirs transactions by date. There are any function in SDK or any endpoint on horizon server?
2
votes
3answers
159 views

How to get status of historical ledgers synced after setting CATCHUP_COMPLETE=true

I had problems getting the node to resync all past ledgers and had to start from scratch. I can see that stellar-core is writing ledgers to disk, but I'm not sure how to check the status of it, or ...
2
votes
2answers
292 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 ...