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
0answers
9 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
47 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
8 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) ...
1
vote
1answer
33 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
33 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 ...
2
votes
1answer
41 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
13 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
27 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
1answer
35 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
34 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
29 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
50 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 (...
4
votes
1answer
28 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 + #...
3
votes
1answer
65 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
34 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.
1
vote
1answer
28 views

Difference Between Horizon Commands

What is the difference between the following Horizon commands: horizon horizon db reingest horizon db backfill horizon db rebase
3
votes
0answers
44 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 { "...
3
votes
1answer
51 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.
4
votes
1answer
33 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". ...
7
votes
1answer
66 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 ...
4
votes
1answer
33 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
45 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
18 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
54 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
61 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
38 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
59 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
67 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
38 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
27 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
47 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
100 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
60 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
46 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
29 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
93 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
287 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 ...
2
votes
1answer
87 views

Who hosts and maintains Stellar Horizon server?

I'm thinking of developing apps on one of the Dapp platforms. When I skimmed through the Stellar doc, it seems the entry point to the network is the Stellar Horizon RESTful server. According to the ...
-2
votes
1answer
109 views

TX_BAD_AUTH, no idea why

i'm moving from testnet to pubnet but for some reason my code didn't work with pubnet. here some snippet. Of course sourceAccount,des.publicKey and sourceKeys contain what i'm expeting. sourceAccount ...
2
votes
2answers
200 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 ...
2
votes
1answer
53 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?
2
votes
1answer
82 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?
2
votes
1answer
107 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 ...
2
votes
1answer
62 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) { ...
7
votes
1answer
174 views

Securing Stellar node

I would like to know how I can secure the Stellar node from unauthorized access. I run a Stellar node (still learning) as a Full validator with the following services on the default port. Stellar ...
3
votes
1answer
48 views

Transaction, Operations, and Payments

I am currently trying to get the memo and amount of a transaction, but am confused over the differences between a transaction, an operation, and a payment. From my understanding, a transaction ...
4
votes
1answer
85 views

stellar docker and nginx reverse proxy

I am running a stellar docker using this command: sudo docker run -d --rm -it -p "7777:8000" --name stellar stellar/quickstart --testnet which will bind the horizon (port 8000) to my host port ...
3
votes
1answer
16 views

Internal error on trades API

Why do I get an internal error when requesting this url? https://horizon.stellar.org/trades?base_asset_type=native&counter_asset_code=MOBI&counter_asset_issuer=...
0
votes
0answers
81 views

Horizon installation errors - SIGABRT in persistent mode + no history.json file in ephemeral mode

I am working for a large corporation that is trying to implement Stellar as a payment solution. To make this work, I am configuring the back-end by setting up a Horizon instance, using the stellar/...