Questions tagged [horizon]

For questions regarding the Horizon API.

Filter by
Sorted by
Tagged with
4
votes
2answers
798 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
90 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 ...
4
votes
2answers
699 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
394 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?
1
vote
1answer
53 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
132 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
368 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
227 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
239 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
426 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 ...
3
votes
1answer
130 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
245 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 ...
4
votes
3answers
238 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
74 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
22 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
247 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 ...
3
votes
2answers
246 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
176 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
100 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
287 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
430 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?
6
votes
1answer
136 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