Questions tagged [horizon]
For questions regarding the Horizon API.
246
questions
2
votes
1
answer
139
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 ...
0
votes
1
answer
29
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 ...
0
votes
1
answer
102
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....
3
votes
2
answers
796
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 ...
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/...
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]...
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
...
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 ...
2
votes
1
answer
246
views
`tx_bad_auth` when submit transaction to TestNet
I submit a transaction to the TestNet by using the official horizon API (https://horizon-testnet.stellar.org/), and it returns tx_bad_auth.
This is my code:
Server server = new Server("...
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 ...
0
votes
1
answer
179
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
...
2
votes
1
answer
97
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
1
answer
123
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 ...
5
votes
2
answers
156
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
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
0
votes
1
answer
243
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
1
answer
80
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
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:\...
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.
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,...
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 ...
0
votes
1
answer
244
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 ...
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 ...
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 ...
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 ...
2
votes
2
answers
95
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
1
answer
272
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
...
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 =...
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);
...
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 ...
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: &...
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 ...
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 ...
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 ...
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']
...
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.
1
vote
1
answer
158
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....
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 ...
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 ...
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. ...
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: {
...
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 ...
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 ...
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?
4
votes
3
answers
636
views
How should the changeTrust Operation be used?
If I want to create a trustline between my issuing account and new users accounts, how do I do this. I tried with this code:
const StellarSdk = require('stellar-sdk');
StellarSdk.Network....
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 ...
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-...
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?
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 ...
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?