Questions tagged [horizon]

For questions regarding the Horizon API.

Filter by
Sorted by
Tagged with
0
votes
0answers
9 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
6 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
1answer
132 views

Friendbot request fails with 400 (Bad Request)

I am trying to create an account on the stellar Test Network. I am using ASP .Net framework. But whenever I make a request and pass in the public key, I always get this error: Response status code ...
0
votes
1answer
29 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 ...
0
votes
0answers
2 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
1answer
125 views

Transaction failure when using Stellar Go SDK

receiving the following errors related to horizon server: handshake-1 env.sh[19791]: 2019/04/25 12:03:24 handlers.go:180: [ERR] Horizon error: "Transaction Failed". Check horizon.Error.Problem for ...
0
votes
0answers
9 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
20 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
43 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
62 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 ...
0
votes
1answer
96 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....
1
vote
2answers
76 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": "...
0
votes
1answer
175 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 ...
2
votes
1answer
34 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 ...
0
votes
1answer
25 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....
1
vote
0answers
10 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 ...
3
votes
2answers
593 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 ...
-1
votes
1answer
7 views

What type of UNIX to install horizon server?

It should use Sun Solaris, GNU/Linux or MacOS X? Thanks
2
votes
1answer
101 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 ...
0
votes
1answer
80 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
70 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 ...
1
vote
0answers
38 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
37 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
36 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
1answer
31 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 ...
1
vote
1answer
17 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 ...
4
votes
2answers
100 views

Own stellar horizon is not showing data prior to own instance launch date

I run a stellar node using the docker quickstart image and due to some syncing error the underlying ec2 instance was terminated and restarted on 2018-12-28T10:45:19Z, state of core is Synced. ...
0
votes
0answers
53 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
36 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
0answers
29 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
1answer
41 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 ...
4
votes
1answer
87 views

How to find cursor of a specific timestamp?

I need to find what's the cursor of a specific timestamp in order to let my users see their transactions by date. Is there any function in an SDK or any endpoint on horizon server?
0
votes
0answers
14 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
21 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
24 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....
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 ...
1
vote
1answer
21 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
0answers
12 views

Horizon-Go Returns [Resource is missing] Exception

I'm using stellar-core last stable release & stellar/go last stable applications. Stellar Core : v12.2.0rc1 Horizon : https://github.com/stellar/go OS : Ubuntu 16.04 I installed stellar-core ...
0
votes
1answer
22 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 ...
0
votes
0answers
8 views

/Trades API throwing 404 Error

I am running a private stellar network and placed few offers of a pair (Ex-- XLM/USD).Before doing trade if I call /trades api of XLM/USD pair its showing 404 error. After trade data is showing. Now ...
1
vote
1answer
44 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
55 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
27 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
19 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
0answers
10 views

Regarding test errors in horizon service

It would be good anyone help me in this . None of the DB test cases are passing. It doesn't ask for system password and in the end of test case i can see authorization failed for user.
0
votes
0answers
11 views

ı can not see local horizon api account detail

ı create public key with stellar sdk with node js; StellarSdk.Networks.TESTNET; const server = new StellarSdk.Server('http://10.5.0.6:8000',{allowHttp:true}); //const server = new StellarSdk.Server('...
0
votes
1answer
68 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
20 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": "...
0
votes
0answers
16 views

Why do I have to backfill nodes each time?

I just created a new deployment of Stellar Core, Horizon-Ingest and Horizon nodes. My Core is at the top of the chain and fully synced. After confirming that it was indeed synced, I started the ...
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?

1
2 3 4 5