Questions tagged [horizon]

For questions regarding the Horizon API.

Filter by
Sorted by
Tagged with
0
votes
1answer
29 views

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

Documentation says: "Stellar requires accounts to hold a minumum balance of 1 XLM before they actually exist. Until it gets a bit of funding, your keypair doesn’t warrant space on the ledger.&...
1
vote
1answer
18 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
0answers
9 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 ...
0
votes
0answers
8 views

Balance of Stellar at some point in time

I'd like to know about balance of Stellar address at some point in time. However, it's not going very well. So, please give me some advices or comments about how to do that. Now, I'm using horizon ...
0
votes
0answers
10 views

xff.Handler() does not exist

go version go1.14.6 When installing or running horizon I receive an error: # github.com/stellar/go/services/horizon/internal/httpx github.com/stellar/go/services/horizon/internal/httpx/router.go:77:8: ...
0
votes
0answers
18 views

Full ledgers for Horizon

I'm trying to launch horizon with full history from 1 ledger. How I can do it? stellar testnet config: HTTP_PORT=11626 PUBLIC_HTTP_PORT=true LOG_FILE_PATH="" NETWORK_PASSPHRASE="Test ...
1
vote
1answer
25 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("...
0
votes
0answers
15 views

Problem upgrading stellar-horizon

I'm trying to upgrade stellar-horizon according to the instructions here https://github.com/stellar/packages/blob/master/docs/upgrading.md However, after running "stellar-horizon-cmd db reingest&...
0
votes
0answers
19 views

Making a horizon account request with http_request?

I am trying to make a request for account data using stellar-core's boost/asio HttpClient. //https://horizon.stellar.org/accounts/GALAXYVOIDAOPZTDLHILAJQKCVVFMD4IKLXLSZV5YHO7VY74IWZILUTO std::string ...
1
vote
0answers
25 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
0answers
21 views

Stellar core Bad ledger-header history entry: claimed ledger

Stellar Core v13 stopped validating a few days ago. Unfortunately, I don't have the old logs anymore so I don't know what happened exactly. I can see there's an error in the core logs: 2020-06-08T17:...
0
votes
1answer
37 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
42 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 ...
0
votes
0answers
5 views

Is it possible to execute a trade with amount 0?

Today I found a trade with "base_amount": "0.0000000" when browsing recent trades through Horizon API: https://horizon.stellar.org/trades?offer_id=226428548 At first I thought it could be Horizon bug ...
0
votes
0answers
35 views

“ingest_latest_ledger” and “history_latest_ledger” freezes, though “core_latest_ledger” increases

I am using "docker-stellar-core-horizon" on Ubuntu-18.04, RAM -16GB (I have also tried the entire thing on CentOS-7, please provide a solution that works for both Ubuntu and CentOS). Docker version- ...
1
vote
0answers
26 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
81 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
110 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
47 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
14 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
220 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
50 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
48 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
vote
1answer
21 views

Duplicate operation in transaction?

I'm having trouble understanding the operations of this transaction: https://horizon.stellar.org/transactions/f06c6a478b0caac5c8b33512100f70c1aa192bee3af7084f2b693df7f75689bd/operations It seems the ...
0
votes
0answers
86 views

“still Ingesting” horizon error after upgrading stellar core to the latest version

I am running a stellar private network. Earlier my core and horizon version were too old. so, i upgraded it to the latest versions mentioned below "horizon_version": "v0.24.1", "core_version": "v12....
5
votes
1answer
38 views

What state is a transaction in after being succesfully posted?

Related to how to trace the state of a transaction after submit? After a transaction has been sent to the Post Transaction endpoint and it returns a successful response: A successful response (i.e....
0
votes
1answer
44 views

Path payment is taking only 4 hops BUT stellar is mentioning upto 6 hops

Let assets are A,B,C,D,E,F I have created few orders like A->B B->C C->D D->E E->F Now, i have created an order where user1 is selling "F" to a destination user2 and the ...
0
votes
0answers
47 views

Horizon history-retention-count command utility

I have got some references from this github link. Can I use --history-retention-count flag to remove older ledger from horizon db? If I set --history-retention-count=1024, will it keep last 1024 ...
0
votes
0answers
17 views

How to use stellar dashboard with private network

I want to use stellar dashboard with my private network. I have a horizon instance running and accepting requests on localhost:8000. I have tried to change horizon url in the source code of the ...
1
vote
0answers
22 views

upgraded horizon version, newly added tables is not synchronising with stellar core private network

Stellar core version is 12.2.0. Recently i upgraded my horizon version from 0.17 to 0.23. while running, it showed me an error that i need to "horizon db migrate up". Post doing that it basically ...
0
votes
0answers
28 views

pathPaymentStrictSend giving “op_too_few_offers” error when offers already exist even after defining path in the function

Stellar-core version is 12 and horizon version is 0.23.1, stellar-sdk version 3.3.0. i have created few offers between asset A and B, B and C, C and D and the last D and E. Now, i am using Stellar....
1
vote
1answer
23 views

Given a public key, is there a way to find the assets issued by the account?

I'd like to know if there is a way to query all the assets of which the account is the issuer.
0
votes
2answers
16 views

Horizon returns a 404 error upon querying just-submitted transactions

Upon the successful confirmation of a transaction submission, my app immediately queries the link to the transaction in the response. But I often receive a 404 error from Horizon. Sometimes I get a ...
0
votes
1answer
36 views

Getting exception while establishing Trust Line

I am working on Stellar Python SDK after a year. When I ran my old script I got the error: TypeError: __init__() got an unexpected keyword argument 'opts' The code given below: from stellar_base....
0
votes
1answer
23 views

How does one use a certain version of Horizon when requesting?

I would like to use the 0.23 version of Horizon in this particular query below. How does one do that? var server = new StellarSdk.Server("https://horizon.stellar.org"); var sourceAsset = new ...
1
vote
1answer
51 views

strictReceivePaths not the same as strictSendPaths when reversed

I would assume that the strictReceivePaths would be the same as strictSendPaths when reversed. For example, query these: strictReceivePaths: https://horizon.stellar.org/paths/strict-receive?...
1
vote
1answer
64 views

`pathPaymentStrictSend` transaction produces error `op_under_dest_min` howmuchever the `destMin`

Recreate this transaction on the Stellar laboratory (view XDR to see parameters): AAAAAJ2XxPOBZhImQhYvufkgoiaUvlcAA3oYpZpxw4uO/...
1
vote
1answer
35 views

Viewing trustlines for authorization required assets from an asset issuer perspective

From an asset holder perspective seeing which trustlines are approved or unapproved for authorization required assets is straightforward - we can see this with the is_authorized boolean on the account ...
1
vote
1answer
22 views

How is operation ID calculated?

I am trying to understand how the integer operation ID returned by horizon REST API is calculated. I found this answer which mentions the inputs of the calculation but does not show how to perform ...
0
votes
1answer
83 views

Connection refused error in Horizon

Launching Horizon with stellar/quickstart docker image: horizon db init --db-url postgres://stellar:123456789@127.0.0.1:5432/core --stellar-core-db-url postgres://stellar:123456789@127.0.0.1:5432/...
1
vote
2answers
22 views

How do I return more than 200 entities at a time from Horizon?

I am running my own stellar node and horizon instance. When I try to get over 200 entities at once I get the error curl -X GET "http://localhost:8000/transactions?cursor=&limit=201" { "type": "...
1
vote
1answer
45 views

Too many open files from horizon

After sending few request to horizon or running horizon for sometime, getting too many open files:443 error. Then I have restarted the horizon then above error is removed.Is there any configuration I ...
0
votes
0answers
9 views

What is the difference between the preconfigured packages and the binaries

We have different options for installing the stellar-core and horizon specially. What is the difference and where shall a new user start to be able to configure a custom anchor?
0
votes
1answer
41 views

How to setup an anchor in Stellar network using Windows?

While there is a great deal of documentation on installing the packages, however, I couldn't follow it properly to install the stellar-core, horizon and Postgres database in windows. There is not ...
0
votes
1answer
93 views

Getting up and running with a Stellar-Core and Horizon with a Database

I am new to the Stellar world and wanted to set up a node (Stellar Core, Horizon and a Database) for the first time to run as an anchor. However, I couldn't figure it out from the documentation how to ...
0
votes
1answer
35 views

Exchanging fiat tether on SDEX

We have fiat tether tokens that we issued, each token is backed up by an equivalent amount on our bank account, currently we are able to switch between one tether into another using our own exchange ...
2
votes
2answers
73 views

Getting all offers for a particular Asset (pair)

For a while now I'm trying to figure out how to get all offers for a particular Asset (or pair). As an example, StellarExpert lists all offers of MOBI on the following page: https://stellar.expert/...
0
votes
1answer
98 views

Run core with catchup complete

I have a new stellar core instance with CATCHUP COMPLETE true and one stellar horizon instance with INGEST true. I'm totally new with stellar. I've started the core node and it's catching up the data....
1
vote
1answer
90 views

How to provide password when running horizon db migrate up command inside docker container?

I have issues with horizon, when inside the docker container I run horizon db clear and I get the output There are 18 migrations to apply in the "up" direction. ... 2019/06/20 10:44:26 A database ...
2
votes
1answer
58 views

Why failed transactions are not shown in Horizon in any way?

Anything I can get of the Horizon about the failed transactions is their count in a ledger. No other info is shown about them. Currently, no one can calculate lumen balance using horizon only because ...

1
2 3 4 5