Questions tagged [horizon]

For questions regarding the Horizon API.

Filter by
Sorted by
Tagged with
3
votes
1answer
51 views

What is HorizonRequestError error 11?

Horizon returns errors with numbers, but as far as I can see, there aren't numbers in the error reference. The operation couldn’t be completed. (stellarsdk.HorizonRequestError error 11.) What is ...
2
votes
1answer
57 views

Horizon import failed (Integer type error?)

I configured a custom docker-compose with Postgres, Stellar Core and Horizon as seperate services. Core and Horizon are running and are responsive via HTTP. Stellar-Core is running on Livenet and is ...
6
votes
2answers
727 views

What can cause horizon to have incomplete data?

On a private network, I have 5 core nodes and 5 horizon instances, all of the horizon services were not configured with "history-retention-count", so according to this, this variable to should default ...
1
vote
2answers
88 views

Private Testnet 404 issue

I am working on stellar private testnet setup, i have setup 3 stellar-core nodes and horizon, Account creation is working fine but data not showing for ledger, payment, transactions etc. All 3 nodes ...
5
votes
1answer
949 views

Stellar Horizon not synchronizing

Background: Using satoshipay/stellar-horizon:0.11.1 for Horizon Stellar Core seems to be running. Based on logs, we get the latest sequence number and ledger: 2018-04-18T10:31:32.695 GDYMW [Ledger ...
1
vote
1answer
256 views

Trades stream setup

I have setup streams for transactions, payments, operations, and effects with the method from stellar api guide: this.server = new StellarSdk.Server('https://horizon.stellar.org'); this.stream = ...
2
votes
1answer
66 views

How can I direct stellar laboratory to my own instance of horizon?

I cloned the stellar laboratory project and edited the /src/constants/networks.js file to switch the testnet horizon url to url of my own horizon instance. This allowed me to get requests such as ...
2
votes
1answer
113 views

Can't close server stream

The other existing question didn't work for me. (How to close a stream event?) I set up a class to handle and switch streams. In the constructor, I define and initialize the stream this way: ...
2
votes
1answer
264 views

Cannot transfer money on standalone network

I'm attempting to transfer funds from the root account to another account on a private stellar network. When I attempt to run the code below (which is basically copied from the examples), I get an ...
2
votes
1answer
82 views

Issue with Submit Transaction

Am using Java SDK and Horizon Testnet. Issue is when i submit a transaction using server.submitTransaction method i get following exception, please let me know if you need any more information javax....
2
votes
1answer
246 views

Receiving error when posting a transaction to Horizon

I am attempting to create a stellar-core and horizon node running under Travis-CI. (Existing solutions do not work for macOS, as Travis does not support Docker instances for test builds.) The ...
1
vote
1answer
48 views

What is the default limit on the number of transactions returned for a `Server.transactions` request?

Using the Stellar Javascript SDK, what is the maximum number of transactions that will be returned for a request to server.transactions().forAccount(accountId).call() before I have to worry about ...
2
votes
1answer
78 views

Trustline Created At from Horizon Database

I try to find when is trustline to an asset is created in horizon database. I joining history_effects, history_accounts, history_operations and history_transactions. I got created_at field on ...
1
vote
1answer
210 views

Need help getting result_codes using JavaScript SDK on Node. Failed to make a payment

I'm using the JavaScript SDK in Node and have run into a problem making payments on the testnet. I catch the error but am unable to parse it to get at the result_codes which show as [Object] when I ...
1
vote
1answer
382 views

horizon db clear

I run the following commands: horizon db clear horizon db backfill Error: 2018/03/24 14:29:55 network-passphrase is blank: reingestion requires manually setting passphrase How to reingest the ...
1
vote
1answer
1k views

Error tx_bad_seq

In almost every case, this error indicates that the transaction submitted in the initial request will never succeed. There is one exception: a transaction that fails with the tx_bad_seq result code (...
2
votes
2answers
396 views

Account IDs not working for Horizon Testnet API

I am testing the Accounts endpoint on the Horizon testnet API. On this documentation page, there is the sample address: GA2HGBJIJKI6O4XEM7CZWY5PS6GKSXL6D34ERAJYQSPYA6X6AI7HYW36 Which when plugged ...
2
votes
2answers
225 views

Possible to get a list of account holders satisfying certain criteria using Horizon?

I would like to do some analysis of the layout of the Stellar network (maybe some basic graph theory and stats) and I would like to grab a list of all account holders that have had a payment operation ...
1
vote
1answer
43 views

how to move stellar lumens locally in the same node? like bitcoin-cli move

I am now making integrated API in my company exchange. Now, looking for "move" function in horizon. Is there any command like the below? bitcoin-cli move "timotei" "akiko" 0.01 6
2
votes
1answer
202 views

Horizon DB Initialized with Arbitrary Base(?)

Settings: Private network, 4 nodes running good and validating each other. Now I try to add a 5th node for testing, upon encountering an Horizon ingestion issue. this is how I made the node "5a" (...
1
vote
1answer
355 views

Horizon not Synchronizing ("import session failed: failed to load header: sql: no rows in result set" pid=8077)

<< Background >> Private network of 4 nodes on 4 VMs, hosted on same server. Core and Horizon built on 1 VM, and then 3 copies were made from this VM. NODE_SEED (core) & corresponding IP (...
2
votes
1answer
231 views

How does the Bridge server get notified by Horizon after submitting a transaction and Compliance Server is also present?

I am trying to understand how the Bridge server gets notified by Horizon after a payment has been completed. Assuming an Anchor set up with Bridge, Compliance and Federation servers, my understanding ...
5
votes
2answers
850 views

Horizon server returning 404 for GET /accounts/{id}/payments

I am setting up a private stellar network in my local MAC environment. It does not connect to testnet or public stellar networks. Horizon server returns status code 404 for GET /accounts/{id}/...
1
vote
2answers
93 views

How Horizon makes use of stelar-core?

By definition Horizon acts as the interface between stellar-core and applications, and apparently it needs access ... HTTP API that is published by stellar-core. Is there a place where this API is ...
5
votes
2answers
812 views

Unable to connect to horizon via JavaScript SDK

I am just getting started with Stellar. I run a node connected with test network with the following command. docker run --rm -it -p "8000:8000" -v "/home/prashant/stellar/steler-node:/opt/stellar" --...
2
votes
1answer
492 views

How to obtain our token's current price

We issued a token on Stellar using stellar API. We need to show the price of our token on our website. How we can do that? Is this available using Stellar API?
2
votes
1answer
60 views

How to disambiguate signer types in operation json

The set_options operation JSON returned by Horizon does not disambiguate between signer_keys of different types (hash, signed txn hash, account). // sha256 hash "signer_key": "...
1
vote
1answer
136 views

How could I create an AutoSequence in a private testnet with the golang SDK?

With the DefaultTestNetClient implementing the SequenceProvider interface, when we use a private testnet, how would we need to implement this since without it (I guess) transactions cannot be ...
2
votes
2answers
407 views

Unable to create a new offer on stellar platform using nodejs

As per stellar documentation they provide manageOffer function to create, update and delete an offer, i am enable to use this function can anybody please help me to give me some instructions or any ...
1
vote
2answers
237 views

How are Stellar transactions distributed to validators?

When I submit a transaction and post it to a Horizon endpoint what process determines which validator will handle the transaction? Do client apps have any visibility or control over this?
4
votes
3answers
260 views

Is pathfinding implemented somewhere yet? Is it complicated to do? Why isn’t it universal?

I’m dying to use pathfinding for exchanging assets and it would greatly expand the way people trade over the network. Why isn’t it implemented by UI exchanges? Is it complicated to do? Is work from ...
1
vote
2answers
454 views

Create & fund account via Horizon API

How can I create a new account in testnet with just an HTTP call to the Horizon rest API something like this: serverip:8000/friendbot? The docs say to use an SDK, but I want to integrate from an ...
4
votes
1answer
139 views

Monitor transactions of non-native asset

is there a convenient way to monitor all transactions/payments/operations of a custom asset? It seems like the REST API only allows this for either one account or the whole network, but not for a ...
1
vote
4answers
254 views

What is the best (or most common) way to write smart contracts for Stellar?

I understand from https://stellar.stackexchange.com/questions/92/is-something-like-smart-contracts-possible-in-stellar that there is no built-in way to do so, however maybe there is some kind of an ...
5
votes
3answers
274 views

Bonds on Stellar

A couple of years ago Jed wrote about the possibility of using Stellar to issue Bonds (http://jedmccaleb.com/blog/bonds-on-stellar/). The example is clear, however I would like to know what is the ...
2
votes
1answer
79 views

Stellar Ledger / Hash uniqueness

I've seen many transactions with the same hash. However, is it safe to say that ledger/hash pairs are unique and there are no scenarios where two transactions on the same ledger share a hash?
1
vote
1answer
24 views

Effects by ledger endpoint never returns any effects

Is the effects by ledger endpoint broken or not yet implemented? I imagine ledgers contain many events, but whichever I check there are no effects.
3
votes
1answer
259 views

Issue with Stellar Quickstart Docker Image

I'm trying to run the docker stellar/quickstart image. I launch it with: docker run -d -p "8000:8000" --name stellar stellar/quickstart --testnet I've left it running for quite some time but it ...
4
votes
2answers
297 views

How can I configure horizon to download and retain the entire history and never delete it?

When using the stellar/quickstart docker image, how can I configure horizon (stellar-core?) to download and retain the entire history and never delete it? By default it seems to only download the last ...
2
votes
1answer
182 views

How to access the "All Operations" Horizon endpoint using the Go SDK?

I'm working on an inflation pool, using the go SDK. However the client/horizon package doesn't expose all the horizon endpoints (the Client Interface only has Root, HomeDomainForAccount, LoadAccount, ...
4
votes
1answer
123 views

ChangeTrustNotAllowed Error

I'm trying to run a Change Trust operation in order to add a trustline, but it throws me a ChangeTrustNotAllowed error which I can't reference in the documentation. Here's my Transaction Envelope and ...
11
votes
1answer
302 views

Why is Stellar on HTTP and not HTTPS?

On the Stellar website: "API: Horizon Most applications interact with the Stellar network through Horizon, a RESTful HTTP API server. Horizon gives you a straightforward way to submit transactions, ...
14
votes
4answers
441 views

Can Stellar-core be packaged in a container system such as Docker?

I want to incorporate Stellar-core and horizon into my private infrastructure using Docker. Can Stellar-core be packaged in a container system such as Docker?
7
votes
1answer
151 views

Is there a speed difference between the SDKs?

The JavaScript Stellar SDK facilitates integration with the Stellar Horizon API server and submission of Stellar transactions, either on Node.js or in the browser. It has two main uses: querying ...

1 2 3 4
5