Questions tagged [horizon]

For questions regarding the Horizon API.

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

Conver USD => GBP in stellar

I am working on Fintech startup company. I need to convert traditional fiat-currency exchange system to stellar-blockchain based system. I can take a use case transfer from GBP to USD What do I need ...
user avatar
0 votes
1 answer
22 views

Which Horizon endpoint GETs current token prices on the DEX?

Which Horizon endpoint should we be using to access current prices for tokens? I've read through the docs entirely and am assuming the order_book endpoint contains the current price in its response. ...
user avatar
0 votes
0 answers
5 views

Django Polaris not processing pending deposits

I have implemented the integrations: register_integrations( deposit=MyDepositIntegration(), withdrawal=MyWithdrawalIntegration(), fee=fee_integration, ...
user avatar
0 votes
0 answers
11 views

number of accounts

Is there an easier way to discover the number of accounts than inspecting every ledger for create_account operations? (I'm looking on a xlm clone so there's only 6mill ledgers) I wrote a python script ...
user avatar
  • 1
0 votes
1 answer
31 views

Transaction not supported

I configured a private Stellar blockchain network composed of 2 nodes. When I try to create an account on this private blockchain I get the following error: stellar_sdk.exceptions.BadRequestError: { ...
user avatar
0 votes
0 answers
5 views

Getting Horizon error when running

I am getting horizon error: "Resource Missing" - check horizon.Error.Problem for more information when running from the command line and also from the GUI. I wanted to run on the main net, ...
user avatar
  • 1
0 votes
0 answers
9 views

Two captive core both in synced state but report different ledger number

Have anyone experienced this. I deploy two instances of Horizon service each with its own captive-core. After a while, both captive-core caught up and when I query its :11626/info endpoint both report ...
user avatar
  • 101
0 votes
0 answers
8 views

stellar core upgradation issue

I have upgraded my stellar private network core version 15 to 18 and it is synced. Now I am trying to upgrade my horizon 1.11.0 to 2.12.0 and I have configured captive-core.toml file for my private ...
user avatar
0 votes
0 answers
11 views

Liquidity Earnings

I have put assets into liquidate pools on the Stellar network. Do I earn fees from the pool in $AQUA only or is it in the tokens I added to the pool?
user avatar
0 votes
1 answer
39 views

Stellar Captive Core For Private Network

I have set up one stellar private network. Now I want to connect horizon with that private network core in captive mode. So that I have create one stellar-captive-core.cfg file as below [[HOME_DOMAINS]...
user avatar
0 votes
0 answers
16 views

How to find my initial create_account transaction?

I'm new to using Stellar, having just created an account on Keybase.io (which presumably acts as my wallet). I have some past experience using the Steem blockchain though, so I understand the basics. ...
user avatar
0 votes
2 answers
42 views

Stellar-core multiple instances

I am planning on running 3 stellar core instances for high availability purposes. My question is, do I need to have separate db for each core instance? Same for buckets as well, I am assuming buckets ...
user avatar
0 votes
0 answers
6 views

waiting for ingestion system catchup" pid=27603 service=ingest status="{false false 0 0 0}

I am trying to setup horizon server on testnet. captive core is running on a different machine and api server is running on a different machine. When start up horizon api server, getting this info ...
user avatar
0 votes
0 answers
60 views

How to get an account's current amount of pooled assets in a liquidity pool (LP) via Horizon API?

I'm wondering how to retrieve the current amount of assets (asset 1 & 2, not shares) that an account has ownership of within a liquidity pool (LP)? More specifically, I'm searching for the Horizon ...
user avatar
0 votes
1 answer
21 views

Stellar operations priority

What order is used to execute operations in ledger? I mean those operations who passed fee filter Sorted by time of submission fee random order? I tried to find this information in docs, but no luck
user avatar
  • 101
0 votes
0 answers
15 views

Horizon Ingestion

We hosted horizon in our own network, the size of storage is increasing dramatically. Is there anyway that we can start ingesting only from a specific date?
user avatar
0 votes
1 answer
13 views

How do I find out the date and time a specific offer was created?

The "Offer" object only contains a "last_modified_time" field, not when it actually was created, and no information about the transaction ID or ledger number.
user avatar
0 votes
0 answers
39 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 ...
user avatar
  • 1
0 votes
0 answers
15 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 ...
user avatar
  • 101
0 votes
0 answers
18 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 ...
user avatar
2 votes
0 answers
35 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 ...
user avatar
  • 21
1 vote
1 answer
30 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,...
user avatar
  • 11
1 vote
0 answers
8 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-...
user avatar
  • 11
0 votes
0 answers
11 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?
user avatar
  • 1
0 votes
0 answers
17 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 ...
user avatar
1 vote
1 answer
61 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 ...
user avatar
  • 188
0 votes
0 answers
26 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://...
user avatar
0 votes
1 answer
50 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 ...
user avatar
0 votes
2 answers
63 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?
user avatar
0 votes
1 answer
23 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?
user avatar
  • 157
0 votes
1 answer
122 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 ...
user avatar
  • 1
2 votes
0 answers
14 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 ...
user avatar
1 vote
0 answers
61 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,...
user avatar
0 votes
1 answer
217 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:\...
user avatar
1 vote
0 answers
68 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 ...
user avatar
  • 191
2 votes
1 answer
65 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 ...
user avatar
  • 173
5 votes
0 answers
34 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.
user avatar
  • 191
3 votes
0 answers
101 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 ...
user avatar
2 votes
1 answer
99 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 ...
user avatar
5 votes
1 answer
339 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 ...
user avatar
1 vote
1 answer
52 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" ...
user avatar
1 vote
1 answer
43 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 ...
user avatar
2 votes
0 answers
56 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 ...
user avatar
  • 21
0 votes
1 answer
107 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 ...
user avatar
1 vote
0 answers
77 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 ...
user avatar
  • 11
1 vote
0 answers
82 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 # ...
user avatar
  • 11
0 votes
1 answer
48 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 ...
user avatar
  • 205
0 votes
1 answer
71 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 ...
user avatar
1 vote
1 answer
62 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 ...
user avatar
  • 113
1 vote
1 answer
56 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 ...
user avatar
  • 13

1
2 3 4 5