Questions tagged [horizon]

For questions regarding the Horizon API.

Filter by
Sorted by
Tagged with
6 votes
1 answer
120 views

Stellar Bridge not POSTing callbacks with mac_key configured

Background: using Bridge Server v0.0.30.0 I'm making payments to a test account and looking to receive callbacks. I've been successful so far, but I'm going through securing the callback endpoint. ...
user avatar
3 votes
1 answer
289 views

How do I construct The Horizon postgresql string to connect to a unix socket

I've successfully gotten stellar-core itself to connect to my postgresql database using a Unix socket, like this: DATABASE="postgresql://dbname=stellarb user=stellarb host=/var/run/postgresql" Now, I ...
user avatar
  • 157
4 votes
1 answer
224 views

Do I need to run Stellar-core and horizon to conduct crowdsale?

Do I need to run Stellar-core and horizon-server to conduct crowdsale ? if yes, Why stellar public horizon is not enough for this case (crowdfunding) ?
user avatar
3 votes
1 answer
70 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 ...
user avatar
  • 117
2 votes
1 answer
58 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 ...
user avatar
6 votes
2 answers
753 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 ...
user avatar
1 vote
2 answers
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 ...
user avatar
  • 188
5 votes
1 answer
971 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 ...
user avatar
1 vote
1 answer
262 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 = ...
user avatar
  • 31
2 votes
1 answer
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 ...
user avatar
2 votes
1 answer
115 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: ...
user avatar
  • 31
2 votes
1 answer
265 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 ...
user avatar
  • 241
2 votes
1 answer
84 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....
user avatar
  • 31
2 votes
1 answer
249 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 ...
user avatar
1 vote
1 answer
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 ...
user avatar
2 votes
1 answer
81 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 ...
user avatar
1 vote
1 answer
213 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 ...
user avatar
1 vote
1 answer
393 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 ...
user avatar
  • 11
1 vote
1 answer
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 (...
user avatar
2 votes
2 answers
437 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 ...
user avatar
2 votes
2 answers
231 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 ...
user avatar
  • 213
1 vote
1 answer
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
user avatar
2 votes
1 answer
204 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" (...
user avatar
  • 1,517
1 vote
1 answer
358 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 (...
user avatar
  • 1,517
2 votes
1 answer
232 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 ...
user avatar
  • 312
5 votes
2 answers
861 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}/...
user avatar
  • 303
1 vote
2 answers
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 ...
user avatar
  • 303
5 votes
2 answers
860 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" --...
user avatar
3 votes
1 answer
531 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?
user avatar
  • 171
2 votes
1 answer
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": "...
user avatar
  • 3,357
1 vote
1 answer
137 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 ...
user avatar
2 votes
2 answers
416 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 ...
user avatar
1 vote
2 answers
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?
user avatar
4 votes
3 answers
264 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 ...
user avatar
1 vote
2 answers
457 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 ...
user avatar
  • 61
4 votes
1 answer
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 ...
user avatar
  • 193
1 vote
4 answers
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 ...
user avatar
5 votes
3 answers
291 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 ...
user avatar
  • 312
2 votes
1 answer
80 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?
user avatar
  • 121
1 vote
1 answer
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.
user avatar
  • 3,357
3 votes
1 answer
265 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 ...
user avatar
4 votes
2 answers
325 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 ...
user avatar
  • 404
2 votes
1 answer
183 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, ...
user avatar
4 votes
1 answer
124 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 ...
user avatar
  • 188
11 votes
1 answer
303 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, ...
user avatar
  • 619
14 votes
4 answers
446 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?
user avatar
  • 481
7 votes
1 answer
157 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 ...
user avatar
  • 481

1 2 3 4
5