Questions tagged [horizon]

For questions regarding the Horizon API.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

Stellar horizon shows "Still Ingesting" after 5 days

I am running stellar-horizon on ec2 server I cloned stellar-core from git clone https://github.com/stellar/stellar-core.git and installed it. I installed horizon from the package manager with the ...
sqrl's user avatar
  • 1
1 vote
0 answers
6 views

How to Retrieve Historical Orderbooks for Specific Stellar Market Using API?

I need historical orderbook data for a particular market on Stellar. While the API offers real-time orderbooks, I'm seeking a way to get past snapshots with ledger_close_time and complete orderbook ...
Edna Laxer's user avatar
0 votes
0 answers
6 views

Wrong Port in Horizon Link on Kubernetes

I'm running Stellar QuickStart on a Kubernetes Cluster, but the links contain the Pod port when it shouldn't. Here's the Kubernetes setup Pod => Container Port = 8000 ClusterIP Service => Port =...
Jerome Cyrus's user avatar
1 vote
0 answers
8 views

HISTORY_STALE_THRESHOLD option doesn't work

After referring to this documentation, I set HISTORY_STALE_THRESHOLD to 0 to prevent 503 Historical DB is too stale error when I submit a transaction. This stellar-core code says 0 is the default ...
himori123's user avatar
0 votes
0 answers
7 views

SEP-24 hosted deposit/withdraw transaction in Demo Wallet struck for long

Its more than a week now. We are facing issue with SEP-24 hosted deposit/withdraw transaction in Demo Wallet (TESTNET). https://demo-wallet.stellar.org/ All the transactions are struck with status: &...
user6353's user avatar
0 votes
0 answers
21 views

networkId = ?, envelopeType = ?, txXDR = ?, What are these variables equal to

const envelopeType = StellarSdk.xdr.EnvelopeType.envelopeTypeTx().toXDR(); const signatureBase = Buffer.concat([networkId, envelopeType, txXDR]) const transactionHash = StellarSdk.hash(signatureBase); ...
user avatar
0 votes
0 answers
22 views

Hash Transaction. Need Sample Raw Data For Hash Function For Calculate Hash Transaction

Need an Example of Raw Data of a Simple Transaction to Calculate the Transaction Hash. Hash Transaction = SHA256(x), x = ??? (Example Raw Data, Byte Array). Can't find a sample online. ((( I can't ...
user avatar
0 votes
0 answers
20 views

Transaction hash calculation

Calculating transaction hash incorrectly. I need to calculate transaction hash. I have: SHA256(x) Network Passphrase: "Public Global Stellar Network ; September 2015" Future transaction XDR ...
user avatar
0 votes
0 answers
10 views

Stellar horizon security

I have set up one stellar horizon which is connected with stellar core via captive-core.toml file. Now my horizon server is running and I have attached ssl certificate with this horizon. So it is ...
Alex Smith's user avatar
0 votes
1 answer
23 views

How can I get the last transactions of an account from Horizon?

I need to retrieve the last 10 transactions (payments) of an account and I'm using the Horizon API, but the limit is 200 and I can't go beyond that. I explain you. i'm using horizon.stellar.org/...
madmad23's user avatar
0 votes
0 answers
15 views

AM TRYING TO MAKE A PATH PAYMENT OF XLM TO USD IN PYTHON BUT GETTING THE ERROR json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

def sendPathPayment(): try: _json = request.json _amount = _json['amount'] _senderPubKey = _json['sender_pubKey'] _senderSecKey = _json['sender_secKey'] _senderAssetCode = _json['sender_assetCode'] ...
IRANKUNDA INNOCENT's user avatar
0 votes
0 answers
16 views

What is the current size of a full history node (DEC 22)?

I'm re-attempting to run a Core+Horizon setup, but I can't find this in the docs anywhere.
relik's user avatar
  • 315
0 votes
1 answer
30 views

weird response from funding an accnount on testnet

Following the tutorial and using stellar-base, I created an account and successfully generated a keypair, as follows: New key pair created! Account ID: **** Secret: **** I then tried to fund the ...
passion-nature's user avatar
3 votes
1 answer
42 views

Can't find Horizon X-RateLimit-* headers

I found a lot of discussion on how rate limits work, ex: Did Stellar's public Horizon Server Changes its rate limit? But I can't find X-RateLimit-* headers in any of the responses, ex: curl -i ...
Alexey Yatsyshin's user avatar
1 vote
0 answers
21 views

Creating Trust line in Go

I am struggling to set a Trustline. Create account Send Funds to New account Set Trust for a Token Send the Token. I am having a big problem trying to get step 3 working, many online examples are ...
Cyberience's user avatar
0 votes
1 answer
40 views

Which Horizon endpoint GETs current token prices on the DEX?

Which Horizon endpoint should we be using to access current prices for tokens? I've read through the docs entirely and am assuming the order_book endpoint contains the current price in its response. ...
Ben Racicot's user avatar
0 votes
1 answer
53 views

Transaction not supported

I configured a private Stellar blockchain network composed of 2 nodes. When I try to create an account on this private blockchain I get the following error: stellar_sdk.exceptions.BadRequestError: { ...
Fabrizio Sandri's user avatar
0 votes
1 answer
77 views

Stellar Captive Core For Private Network

I have set up one stellar private network. Now I want to connect horizon with that private network core in captive mode. So that I have create one stellar-captive-core.cfg file as below [[HOME_DOMAINS]...
Alex Smith's user avatar
0 votes
2 answers
55 views

Stellar-core multiple instances

I am planning on running 3 stellar core instances for high availability purposes. My question is, do I need to have separate db for each core instance? Same for buckets as well, I am assuming buckets ...
web0710's user avatar
0 votes
1 answer
34 views

Stellar operations priority

What order is used to execute operations in ledger? I mean those operations who passed fee filter Sorted by time of submission fee random order? I tried to find this information in docs, but no luck
Alex0007's user avatar
  • 101
0 votes
0 answers
21 views

Horizon Ingestion

We hosted horizon in our own network, the size of storage is increasing dramatically. Is there anyway that we can start ingesting only from a specific date?
Atiqullah Ahmadzai's user avatar
1 vote
1 answer
29 views

How do I find out the date and time a specific offer was created?

The "Offer" object only contains a "last_modified_time" field, not when it actually was created, and no information about the transaction ID or ledger number.
kipadip0001's user avatar
2 votes
0 answers
46 views

How to see "order-book" of a liquidity pool?

I've been watching trading activity on yETH/XLM market today and realized that while the orderbook API (i.e. stream from horizon.stellar.org/order_book) keeps returning order-books with very wide ...
inative's user avatar
  • 21
1 vote
1 answer
65 views

What API to use to get metadata of asset issuers?

I am trying to get the metadata (such as organization name, logo) of asset issuers in the Stellar network. What API should I use that could possibly contain this information when I pass the Public Key,...
Benji's user avatar
  • 11
1 vote
0 answers
15 views

new-hist - Got an exception: Could not open log file ... check access rights

When I try to create a new-hist I get the following error. Does anyone has an idea how I can fix this? TY sudo -u stellar stellar-core --conf /etc/stellar/stellar-core.cfg new-hist local3 2021-11-...
Nick's user avatar
  • 11
1 vote
1 answer
119 views

How to reserve a transaction sequence number?

I have a multisig account and need to initiate a transaction for set option operation. So prepared a transaction which will be expired in 7 days and within this time all (3 out 3 signers) has to sign ...
Sohan's user avatar
  • 188
0 votes
1 answer
97 views

Timeout when submitting tx to the blockchain

I have running stellar core and stellar horizon together. Sometimes (recently even more) I am receiving such a response when trying to push tx to the blockchain. How could I approach this issue or ...
Sebastian Wdowiarz's user avatar
0 votes
2 answers
108 views

Is there any option to get the price of XLM via python stellar_sdk or API?

For example XLM = $0.3537 now Is there any option or API&SDK script for it? or Do I have get it from other website?
SOO KIM's user avatar
0 votes
1 answer
33 views

Get payments for an account for an asset

Is there a way to query horizon to get payment operations for an account and for a certain asset?
J R's user avatar
  • 157
1 vote
1 answer
228 views

I wanna my private blockchain network with stellar

I wanna my private blockchain network with stellar but it's not working here is my configure # What port stellar-core listens for commands on. This is for Horizon server. HTTP_PORT=11626 ...
zena's user avatar
  • 11
2 votes
0 answers
16 views

Can Horizon reconnect to its database on brief network outage?

We run a remote Postgres database on our Horizon instance, and on several occasions we would lose connection to the database server briefly (cause still being investigated). This drops our connection ...
Secondclaw's user avatar
1 vote
0 answers
95 views

Catching Up Stellar Core Not Completed in a Long Time

I'm trying to run the stellar core and the horizon on my server using stellar/quickstart docker image. It's been a week since I started and it didn't synced. On the configuration file stellar-core.cfg,...
Fadhlan Ridhwanallah's user avatar
0 votes
2 answers
283 views

Change Network Passphrase - Quickstart - Persistent - Docker

I am trying to change the network passphrase for stellar. I am using the quickstart docker image and launching in standalone mode. command: docker run --rm -it -p "8000:8000" -v "E:\...
user4098's user avatar
1 vote
0 answers
72 views

Horizon - Ingest historical trade history for pair

Is there a way to ingest data for trade_aggregations for asset pairs instead of needing to ingest all the ledgers into Horizon? I only really care about trade_aggregations on specific pairs and don't ...
user83948's user avatar
  • 191
2 votes
1 answer
87 views

Horizon captive core disk requirements and practice

Having installed and ran horizon with captive-core, it seems that memory consumption is stable (~ 4.5 G). The disk space is though increasing while transactions keep coming. Around 10G/day. From my ...
challet's user avatar
  • 173
5 votes
0 answers
37 views

What are the Horizon 2.0 PostgreSQL settings required to vacuum the DB regularly

Need guidelines on how to best manage the size of the horizon captive-core postrgesql DB. We're currently at 1TB of disk for horizon DB only ingesting ledgers from June 2020.
user83948's user avatar
  • 191
3 votes
0 answers
112 views

Horizon 2.0 Captive Core Reingestion Issues

Ive successfully installed and started horizon 2.0 but I am having problems reingesting ledgers. Id like to reingest ledgers from [30000000, present]. Ive attempted to do so following the instruction ...
jiujiteiro's user avatar
2 votes
1 answer
141 views

List of Anchors for Sep31 and SEP24?

Is there a list of anchors available that I can access to see if I'm interested in using any of them? It is proving rather tedious to find anchors through a google search. I am already making API ...
Stellarade's user avatar
5 votes
1 answer
457 views

captive core does not work

I want to use the captive core of stellar-horizon v2.0.0, but the following command does not work. Instance is building a new. As far as I read the docs, I don't think it will make http requests to ...
fatminer's user avatar
1 vote
1 answer
67 views

Are lumens required for a custom network?

New to Stellar so forgive me if this is not the smartest question, but are real lumens still required on a custom network? I would like to use the stellar blockchain for "transaction" ...
Ryan Carville's user avatar
1 vote
1 answer
76 views

Horizon v2.0.0 config with Captive Core for pubnet is any example?

I need setup a node for pubnet(mainnet) network watching node https://github.com/stellar/go/blob/master/services/horizon/internal/docs/captive_core.md#configure-captive-core is only testnet config and ...
jingniao's user avatar
2 votes
0 answers
71 views

Docker quickstart - Error ingesting history archive: ledger does not exists

I'm trying to run the quickstart docker tutorial but I am getting a 503 still ingesting when access the accounts/ACCOUNT_ID on my localhost:8000 (horizon). Looking over my horizon logs I keep ...
ton's user avatar
  • 21
0 votes
1 answer
174 views

How to set up a anchor on stellar?

As I working on stellar Blockchain, can anyone guide me on how to create an anchor on stellar? and How it will give a withdraw amount in fiat currency & which protocol is it used to convert ...
Isha Padalia's user avatar
1 vote
0 answers
83 views

What is the correct way of preventing transaction duplication?

We faced the problem when horizonclient returned errors while sending an envelope but transaction has been created. Please bash my thoughts and tell me where I'm wrong and how you do that. The process ...
gekpp's user avatar
  • 11
1 vote
0 answers
104 views

stellar-horizon db size

maybe someone could help me. I have a node with the config below: CATCHUP_RECENT=362880 # approximately 3 weeks (5sec per ledger closing) - stellar HISTORY_RETENTION_COUNT=362880 # ...
Mr. A's user avatar
  • 11
0 votes
1 answer
72 views

Account' object has no attribute 'sign_decorated

I am trying to pay 2 tokens and I am getting this error: sig = signer.sign_decorated(tx_hash) AttributeError: 'Account' object has no attribute 'sign_decorated' My code given below: def ...
Volatil3's user avatar
  • 215
0 votes
1 answer
98 views

Performance problem with ingesting Horizon

We want to setup Stellar Full Archive with Horizon Using the https://github.com/satoshipay/stellar-core-parallel-catchup we managed to synchronized Stellar Core DB and build full archive. After ...
Pawel Michalski's user avatar
1 vote
1 answer
72 views

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

The documentation says: Stellar requires accounts to hold a minimum balance of 1 XLM before they actually exist. Until it gets a bit of funding, your keypair doesn’t warrant space on the ledger. How ...
Musculaa's user avatar
  • 113
1 vote
1 answer
75 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 ...
Thony's user avatar
  • 13
0 votes
1 answer
64 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 ...
Jack's user avatar
  • 1

1
2 3 4 5