Questions tagged [horizon]
For questions regarding the Horizon API.
246
questions
0
votes
1
answer
223
views
Getting up and running with a Stellar-Core and Horizon with a Database
I am new to the Stellar world and wanted to set up a node (Stellar Core, Horizon and a Database) for the first time to run as an anchor. However, I couldn't figure it out from the documentation how to ...
0
votes
1
answer
156
views
Run core with catchup complete
I have a new stellar core instance with CATCHUP COMPLETE true and one stellar horizon instance with INGEST true. I'm totally new with stellar.
I've started the core node and it's catching up the data....
0
votes
1
answer
61
views
Connecting private set of quorum of 3 nodes on stellar test network
I have a 3 nodes running on a private network paraphrase and all of them are validators. Able to send the transactions over horizon.
Now, can I connect my quorum of 3 validators with test-network ? ...
0
votes
1
answer
98
views
Unable to create wallet due to issuer issue
All of sudden I am getting the following error on TestNet. Issuer Address is GCZDLM6KBK7P42JB6ONIZNYXE24G72PWUXLOZBOLE5EEGOC2FUKKIN4R
Creating Wallet for User with id 39
...
0
votes
1
answer
52
views
How to catch specific error code on JS SDK connecting to horizon
I use Javascript SDK to connect to Horizon. It works, but I also would like the specific error if it doesn't work. See my code below.
How can I access the specific code returned from horizon (e.g. ...
0
votes
1
answer
115
views
Issue while creating account
I have set up a private network with core & horizon, when creating accounts I am getting internal server error.
In horizon logs I am getting msg="select failed: pq: relation "signers" does not ...
0
votes
1
answer
64
views
Version devel while setting up horizon in local
I am trying to build horizon in local by following https://github.com/stellar/go/blob/master/services/horizon/internal/docs/admin.md
The setup is complete. When I do horizon version it say devel. Why?...
0
votes
1
answer
86
views
Stellar Blockexplorer API call for looking up exact amount transferred
I am looking for a Stellar Blockexplorer API which lets me look up (given an address and transaction hash) the exact amount in Lumen that was transferred in a transaction as a single string.
Example ...
0
votes
1
answer
89
views
Getting transactions history for account
I am trying to monitor the transactions for our main account. I am using the laboratory and I see something weird..
I filter it with ascending order to see from start up to now.
My question is: From ...
0
votes
1
answer
102
views
Why do we receive an undefined Event error when streaming payments via the node.js sdk?
We run a continuous payments stream that receives fairly useless errors on the regular and would like to know what these may stem from and if they can be disregarded. I haven't been able to correlate ...
0
votes
1
answer
123
views
Retrieving order book from Stellar Network has been blocked by Cloudflare
I've been running my ticker-bot to gather order book from Stellar Network. However, it did not work since probably few hours ago.
The bot is tiny program written in Python which just pinging ...
0
votes
1
answer
98
views
Sharing transaction to more than one co- signers to get sign
I am very new to stellar. I have gone through the documents available in stellar offical website. In my scenario, trying to send the transaction to more than co-signers to get signature. wrote code ...
0
votes
1
answer
96
views
How to check if a transaction went through?
When we submit a transaction to Horizon, we either get a success response or an error response. In the case of an error response, we can save the transaction in XDR format and resend it.
But, if we ...
0
votes
1
answer
316
views
horizon not syncing
i have some problem with a test-net horizon that is not syncing.
I'm using the quickstart docker image and i see core is fully synced (state: "Synced!").
On horizon i see that history.latest_ledger ...
0
votes
1
answer
438
views
Steps for Horizon to Ingest Stellar-Core from ledger 1, after `horizon db clear`?
With a private network running for several months, I accidentally called the command horizon db clear, and then Horizon now shows:
"history_latest_ledger": 2576535,
"history_elder_ledger": 1830026,
...
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
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
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
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);
...
0
votes
0
answers
21
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
18
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
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
1
answer
21
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
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.
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
74
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]...
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
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
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?
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?
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:\...
0
votes
1
answer
170
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 ...
0
votes
1
answer
62
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 ...
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
...
0
votes
1
answer
97
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....
0
votes
0
answers
13
views
What is the difference between the preconfigured packages and the binaries
We have different options for installing the stellar-core and horizon specially. What is the difference and where shall a new user start to be able to configure a custom anchor?
0
votes
1
answer
122
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 ...
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
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
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 ...
0
votes
0
answers
175
views
Select failed: pq: relation "signers" does not exist
I have set up private Stellar Core and Horizon with 2 nodes. I am following this tutorial. I am first creating an account and then I am executing the code below. It is showing select failed: pq: ...
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
...
-1
votes
1
answer
1k
views
TX_BAD_AUTH, no idea why
i'm moving from testnet to pubnet but for some reason my code didn't work with pubnet.
here some snippet.
Of course sourceAccount,des.publicKey and sourceKeys contain what i'm expeting.
sourceAccount ...
-4
votes
4
answers
120
views
Example code on Ubuntu+node.js gives error re "await"
Updated: added full code below.
I'm trying to run the "Creating a payment transaction" example but the error I get is
const account = await server.loadAccount(sourcePublicKey);
^^^^^...