Questions tagged [horizon]

For questions regarding the Horizon API.

Filter by
Sorted by
Tagged with
0
votes
0answers
3 views

Error being thrown on Stellar core v18.1.0 and Horizon v2.10.0

Need some help with Stellar Node, as I am running Stellar core v18.1.0 and Horizon v2.10.0, I had this issue in v17 of Stellar and still have it. The issue is that I am getting such errors: Error ...
0
votes
0answers
8 views

Horizon - Retrieve circulating supply of an Asset

How can I fetch (if possible) the circulating supply of an asset? Using 'https://horizon.stellar.org/assets?asset_code=yyy&asset_issuer=xxx I obtain the total supply (amount) but I can't see where ...
0
votes
0answers
12 views

How do I query the Horizon server for the CREATION date and time of a Stellar DEX Offer?

I'm using the Javascript Stellar SDK and I'm trying to figure out how to ask Horizon for the creation date and time of an account's SDEX offers. The "Offer" object returned from Horizon only ...
2
votes
0answers
18 views

How to see "order-book" of a liquidity pool?

I've been watching trading activity on yETH/XLM market today and realized that while the orderbook API (i.e. stream from horizon.stellar.org/order_book) keeps returning order-books with very wide ...
0
votes
0answers
8 views

What API to use to get metadata of asset issuers?

I am trying to get the metadata (such as organization name, logo) of asset issuers in the Stellar network. What API should I use that could possibly contain this information when I pass the Public Key,...
1
vote
0answers
7 views

new-hist - Got an exception: Could not open log file ... check access rights

When I try to create a new-hist I get the following error. Does anyone has an idea how I can fix this? TY sudo -u stellar stellar-core --conf /etc/stellar/stellar-core.cfg new-hist local3 2021-11-...
0
votes
0answers
9 views

A problem with my account viewer. Hasn't been used since 2019

"scanning for ledger wallet connection". I've tried all day and it just says this for hours. i haven't accessed my stellar since 2019. any tips for how to get to it now?
0
votes
0answers
15 views

Migrate stellar in production

we have horizon, core which running on different EC2 instances and postgres db on RDS. We want migrate this on cluster with 2-4 horizon, 2 core and RDS postgres clusters , how can we do it without ...
1
vote
1answer
42 views

How to reserve a transaction sequence number?

I have a multisig account and need to initiate a transaction for set option operation. So prepared a transaction which will be expired in 7 days and within this time all (3 out 3 signers) has to sign ...
0
votes
0answers
10 views

Horizon message

I'm trying to understand the following horizon message: time="2021-09-26T21:15:35.082Z" level=warning msg="could not load stellar-core info: http request errored: Get "http://...
0
votes
1answer
25 views

Timeout when submitting tx to the blockchain

I have running stellar core and stellar horizon together. Sometimes (recently even more) I am receiving such a response when trying to push tx to the blockchain. How could I approach this issue or ...
0
votes
2answers
31 views

Is there any option to get the price of XLM via python stellar_sdk or API?

For example XLM = $0.3537 now Is there any option or API&SDK script for it? or Do I have get it from other website?
0
votes
1answer
19 views

Get payments for an account for an asset

Is there a way to query horizon to get payment operations for an account and for a certain asset?
0
votes
1answer
58 views

I wanna my private blockchain network with stellar

I wanna my private blockchain network with stellar but it's not working here is my configure # What port stellar-core listens for commands on. This is for Horizon server. HTTP_PORT=11626 ...
2
votes
0answers
13 views

Can Horizon reconnect to its database on brief network outage?

We run a remote Postgres database on our Horizon instance, and on several occasions we would lose connection to the database server briefly (cause still being investigated). This drops our connection ...
0
votes
0answers
34 views

Horizon does not commit postgres transaction when ingesting

I have a history of stellar core and horizon databases which we abandoned a year ago. Now we need to catch up with the blockchain. stellar core synched to some height, and Horizon lagging few million ...
0
votes
0answers
66 views

Error Connecting local Horizon to Stellar Core within Stellar Quickstart Docker Image

I am trying to test out some functionality with the Horizon API server. I have followed the directions listed out here Everything seems to be working fine, but when I get to the "Connect Horizon ...
1
vote
0answers
31 views

Catching Up Stellar Core Not Completed in a Long Time

I'm trying to run the stellar core and the horizon on my server using stellar/quickstart docker image. It's been a week since I started and it didn't synced. On the configuration file stellar-core.cfg,...
0
votes
1answer
162 views

Change Network Passphrase - Quickstart - Persistent - Docker

I am trying to change the network passphrase for stellar. I am using the quickstart docker image and launching in standalone mode. command: docker run --rm -it -p "8000:8000" -v "E:\...
1
vote
0answers
66 views

Horizon - Ingest historical trade history for pair

Is there a way to ingest data for trade_aggregations for asset pairs instead of needing to ingest all the ledgers into Horizon? I only really care about trade_aggregations on specific pairs and don't ...
2
votes
1answer
43 views

Horizon captive core disk requirements and practice

Having installed and ran horizon with captive-core, it seems that memory consumption is stable (~ 4.5 G). The disk space is though increasing while transactions keep coming. Around 10G/day. From my ...
5
votes
0answers
30 views

What are the Horizon 2.0 PostgreSQL settings required to vacuum the DB regularly

Need guidelines on how to best manage the size of the horizon captive-core postrgesql DB. We're currently at 1TB of disk for horizon DB only ingesting ledgers from June 2020.
3
votes
0answers
78 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 ...
2
votes
1answer
54 views

List of Anchors for Sep31 and SEP24?

Is there a list of anchors available that I can access to see if I'm interested in using any of them? It is proving rather tedious to find anchors through a google search. I am already making API ...
5
votes
1answer
213 views

captive core does not work

I want to use the captive core of stellar-horizon v2.0.0, but the following command does not work. Instance is building a new. As far as I read the docs, I don't think it will make http requests to ...
1
vote
1answer
48 views

Are lumens required for a custom network?

New to Stellar so forgive me if this is not the smartest question, but are real lumens still required on a custom network? I would like to use the stellar blockchain for "transaction" ...
1
vote
1answer
32 views

Horizon v2.0.0 config with Captive Core for pubnet is any example?

I need setup a node for pubnet(mainnet) network watching node https://github.com/stellar/go/blob/master/services/horizon/internal/docs/captive_core.md#configure-captive-core is only testnet config and ...
0
votes
0answers
16 views

Is there Prometheus Exporter available for Stellar Horizon? I am getting 404 error while accessing https://horizon-testnet.stellar.org/metrics

I see Prometheus Exporters are available for Stellar Core and Postgres. However couldn't find one for Stellar Horizon. I was reading this link https://developers.stellar.org/docs/run-api-server/...
0
votes
0answers
41 views

Stellar Private Network: Waiting for ledger to be available in stellar-core

I have launched Private Network by tutorial https://github.com/stellar/packages#sdf---packages and published full validators. I can't understand where my mistake and why I see ledger version = 0 ...
2
votes
0answers
48 views

Docker quickstart - Error ingesting history archive: ledger does not exists

I'm trying to run the quickstart docker tutorial but I am getting a 503 still ingesting when access the accounts/ACCOUNT_ID on my localhost:8000 (horizon). Looking over my horizon logs I keep ...
0
votes
1answer
81 views

How to set up a anchor on stellar?

As I working on stellar Blockchain, can anyone guide me on how to create an anchor on stellar? and How it will give a withdraw amount in fiat currency & which protocol is it used to convert ...
1
vote
0answers
72 views

What is the correct way of preventing transaction duplication?

We faced the problem when horizonclient returned errors while sending an envelope but transaction has been created. Please bash my thoughts and tell me where I'm wrong and how you do that. The process ...
1
vote
0answers
63 views

stellar-horizon db size

maybe someone could help me. I have a node with the config below: CATCHUP_RECENT=362880 # approximately 3 weeks (5sec per ledger closing) - stellar HISTORY_RETENTION_COUNT=362880 # ...
0
votes
1answer
25 views

Account' object has no attribute 'sign_decorated

I am trying to pay 2 tokens and I am getting this error: sig = signer.sign_decorated(tx_hash) AttributeError: 'Account' object has no attribute 'sign_decorated' My code given below: def ...
0
votes
1answer
46 views

Performance problem with ingesting Horizon

We want to setup Stellar Full Archive with Horizon Using the https://github.com/satoshipay/stellar-core-parallel-catchup we managed to synchronized Stellar Core DB and build full archive. After ...
0
votes
1answer
60 views

How long is a keypair valid until an account is funded and created?

The documentation says: Stellar requires accounts to hold a minimum balance of 1 XLM before they actually exist. Until it gets a bit of funding, your keypair doesn’t warrant space on the ledger. How ...
1
vote
1answer
50 views

How to configure native currency in a private network

I would like to know how we can configure the native currency in a private network? I would like: Change the name of the native currency Change the number of native currency created in the first ...
0
votes
1answer
37 views

How to fix a stuck stellar node after picking up an incorrect block?

I run two different watcher stellar nodes and they have both gotten stuck after picking up an invalid / incorrect block (i.e. the block hash of my node's top block does not match the block of the same ...
1
vote
1answer
141 views

`tx_bad_auth` when submit transaction to TestNet

I submit a transaction to the TestNet by using the official horizon API (https://horizon-testnet.stellar.org/), and it returns tx_bad_auth. This is my code: Server server = new Server("...
2
votes
0answers
53 views

horizon ingest_latest_ledger doesn't update

I just run a new horizon instance. The horizon instance with Ingest=true is running this command: horizon db reingest range 1 latest && horizon serve I can see the history_latest_ledger ...
0
votes
1answer
51 views

How to pull memo from a public key's historical transactions and save to an array?

Using Stellar's Javascript SDK Goal Output an array containing all the memos: ['324567567', 'anotherMemo', '239210923', '2349028509'] This array will be used to check against a database and ...
0
votes
1answer
109 views

stellar horizon docker install error -history-archive-urls must be set when --ingest is set

I'm trying to install stellar core and horizon via docker: and I get this error when start horizon_1 | 2020/05/26 23:50:15 --history-archive-urls must be set when --ingest is set $ docker ps ...
1
vote
0answers
32 views

I can not streaming trade from Horizon Server

I have setup one instance running Store core and Horizon (with ingest=true). This is Core node. One instance running Horizon server (with ingest=false). This is Horizon node. I can run streaming ...
0
votes
1answer
157 views

horizon ingest the historical data

I'm running a new horizon v1.2 with ingest=true. It is connected to the stellar core with CATCHUP_COMPELTE enabled. (the status of the core is catching up 5%) My question is what is the command to ...
1
vote
1answer
253 views

Horizon reingest not working

I do run horizon db reingest range 6500 7104 in order to pull some missing entries to my validator. I run into this error: INFO[2020-05-04T15:52:55.425Z] Ingestion system initial state ...
2
votes
1answer
78 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 ...
1
vote
0answers
23 views

How to creating anchors for crypto currencies and mapping the native deposit addresses

Actually I want to create a crypto currency wallet using stellar anchors. I do not want to run a dedicated node for any crypto coin and also not want to depend on any 3rd party service that's why I ...
2
votes
1answer
406 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 ...
1
vote
0answers
66 views

Parallel ingestion with Horizon 1.0.0 is not working - second Horizon waits for the first to complete

Document https://github.com/stellar/go/blob/master/services/horizon/internal/docs/admin.md says: To reingest older ledgers (due to a version upgrade) or to ingest ledgers closed by the network before ...
1
vote
1answer
98 views

How to find a duplicated transaction or operation when receiving op_already_exists

Sometimes our back end is able to create a transaction in the stellar network, but for some instability or bug or unknown problem, discards the transaction hash. When retrying the transaction after ...

1
2 3 4 5