Skip to main content
4 votes
Accepted

How to get a transaction records within a day

This working, untested Java code will print all transaction hashes from the preceding 24 hours: long ONE_DAY_IN_SECONDS = 60 * 60 * 24; DateTimeFormatter dateParser = DateTimeFormatter ....
Synesso's user avatar
  • 3,367
4 votes
Accepted

tx_too_early / Timebounds use

Not as part of the Stellar protocol -- time bounds just specify when the transaction is considered valid. It doesn't have anything to do with how you actually submit them. A timebounds with time of ...
Paul's user avatar
  • 1,184
4 votes
Accepted

How is the weekly inflation calculated?

Inflation occurs when somebody (anybody) transacts the Inflation Operation and it has been at least 1 week since the last successful Inflation Operation. The calculations are performed at that time. ...
Synesso's user avatar
  • 3,367
4 votes

Could not get test funds on stellar laboratory

Friendbot has some outages from time to time. Looks like it ran out of money this time. It usually does not take long for someone at SDF to fix it. You could follow keybase chat to stay up to date ...
sui's user avatar
  • 2,534
3 votes
Accepted

what is the max number of operations per 1 transaction?

Transactions contain an arbitrary list of operations inside them. Typically there is just one operation, but it’s possible to have multiple (up to 100). This is the documentation I believe you're ...
kolten's user avatar
  • 508
3 votes

For 'txBadSeq', when is tx_fee charged?

When you use a Horizon server to submit a transaction, it preforms some basic checks of the transaction integrity before sending it over to Stellar core. For example, it checks if all mandatory fields ...
Orbit Lens's user avatar
  • 6,886
3 votes
Accepted

Inflation pool ledger protocol

If the start of the hash displayed by the ledger is the same of the one displayed on laboratory, then is just a visualization bug You can check here Just to be safe, after you sign a transaction, ...
Nekrataal's user avatar
  • 1,009
3 votes
Accepted

Does Stellar Laboratory query the DB, when it tries to get the Sequence Number?

Stellar Laboratory interacts with Horizon. It sends a request to /accounts/{account} endpoint to retrieve account details (sequence number in this case). Horizon exposes an API layer for interaction ...
Orbit Lens's user avatar
  • 6,886
3 votes

Maximum Total Supply

Maximum asset amount an account can hold is determined by the particular trustline settings and may be up to 922,337,203,685. Total asset supply is unlimited.
Orbit Lens's user avatar
  • 6,886
2 votes

.toml not reading

It updates automatically after some time, no answers required :)
Peter's user avatar
  • 236
2 votes
Accepted

How can I direct stellar laboratory to my own instance of horizon?

Figured out the solution, just write the password in the next line :) In /src/constants/network.js const NETWORK = { available: { test: { url: 'your url', networkObj: new Network('...
Ron Serruya's user avatar
2 votes

How to get a transaction records within a day

If you want just today's tx, just curl the Horizon "transaction" endpoint is ok. Example with testnet: https://horizon-testnet.stellar.org/transactions?order=desc Crawl the "next" page recursively ...
cesarm's user avatar
  • 1,527
2 votes
Accepted

Can't change Low Threshold to 0 in set options

It's possible, but you'll need one more Stellar account for this. Account QCHU (original account) will be unable to pay tx fees until you change the low threshold back to 0. Create one more Stellar ...
Orbit Lens's user avatar
  • 6,886
2 votes

tx_too_early / Timebounds use

I'm working on timed payments with Stellar. You can have a look at the testnet-version already: https://test.artspirit.com
bluesky's user avatar
  • 61
2 votes

Is Stellar Laboratory broken? only shows my XLM balance, not my USD balance (logging in with ledger nano)

This isn't stellar lab. It is "account viewer" which ONLY works with XLM assets. you can use Stellar Laboratory to construct a payment or StellarX.
Steve Kirsch's user avatar
2 votes
Accepted

Mutiple opearations in single transaction

You can put multiple operations for different accounts (identified by the 'source' parameter in each operation) into the same transaction. If one operation fails then all operations will fail. Instead ...
sui's user avatar
  • 2,534
2 votes

Extracting the memo from the transaction record

The memo value returned by Horizon is base64 encoded. You can decode the value with base64_decode.
Francesco's user avatar
  • 1,386
1 vote

Can I change the Path of a Stellar history archive?

You can put it wherever you want. In fact /tmp is the worst place to use since that is a temporary folder and everything in it may and will be wiped on every reboot on most systems. I'd put it to /etc/...
sui's user avatar
  • 2,534
1 vote
Accepted

How to send Lumens to an uninitialised stellar address pragmatically

The very first payment to an uninitialized account has to be performed with the createAccount operation.
sui's user avatar
  • 2,534
1 vote

Getting error "XDR Write Error: undefined is not a Hyper" when trying to create XDR for custom operation

You should debug the XDR serialisation stage. Something that should be a 64-bit integer is null. The one hint you get is that the field type is Hyper. This refers to 64-bit signed or unsigned integers ...
Synesso's user avatar
  • 3,367
1 vote

Multi-sign transaction is not working

You are getting an error because of a bad sequence number. I know this because I decoded response.getResultXdr(). Here are some things you should know: When you call sourceAccount = server.accounts()....
Synesso's user avatar
  • 3,367
1 vote

Time-based wallet in Laboratory

There's no built-in support for crowd funding targets. You'll have to build it yourself from the various building blocks available -- combinations of onchain transactions, and offchain logic that ...
Johan Stén's user avatar
  • 1,947
1 vote

How Do I Get Token Rate For Accepting Payment?

You're looking at the problem from the wrong end. The way Stellar solves this is by using cross-asset payments. You can send funds to someone as one asset, and pay it using another, automatically. ...
Johan Stén's user avatar
  • 1,947
1 vote

How to expose a Horizon URL

Interaction with Stellar (-based) blockchain should be done via Horizon. You need to deploy horizon server and set up it to your stellar-core node. Build it from repo https://github.com/stellar/...
andcode's user avatar
  • 136
1 vote
Accepted

Streaming API not working?

Stream is closed with 200 OK status after sending a specific number of events (as far as I remember: 10 events). Curl does not implement Server-Sent Events specification correctly. According to SSE ...
Bartek Nowotarski's user avatar
1 vote

Stellar port verification still not sure why it’s not verified?

First and foremost check out this. Good explanation of how assets are verified. Also, I have just setup my own coin to play around with this verification process. The steps I took: Add Stellar.TOML ...
Rob's user avatar
  • 627
1 vote

How do I retrieve the source account, memo, and amount using python?

I'll admit, I am not the most familiar with the Python Stellar Base, however I have heard great things about it! Gave it a quick look and saw that it does have methods for parsing XDR. Take the Asset ...
Rob's user avatar
  • 627
1 vote

Trades stream setup

The following code works with JS StellarSDK 0.8.0: this.server.trades().cursor('now').stream({ onmessage: function (message) { console.log(message) } }) It does not throw errors (as ...
Orbit Lens's user avatar
  • 6,886
1 vote

How might an estimate of the Stellar network's energy consumption be measured and monitored?

i think your best bet is to figure out how other networks are measuring their emissions and mimicking their model / implementation.
EndingWithAli's user avatar
1 vote

.toml not reading

The purpose of setting the home domain on the account is to know where to fetch the stellar.toml. The /assets endpoint should be updated within a few minutes on a Horizon instance that is already ...
nikhils's user avatar
  • 1,080

Only top scored, non community-wiki answers of a minimum length are eligible