Questions tagged [transactions]

Transactions are commands that modify the ledger state. Among other things, Transactions are used to send payments, enter orders into the distributed exchange, change settings on accounts, and authorize another account to hold your currency. If you think of the ledger as a database, then transactions are SQL commands.

Filter by
Sorted by
Tagged with
2 votes
1 answer
113 views

Can somebody explain pricing like I'm 5?

For Manage Offers: Can someone please explain offer pricing with a concrete example? (no foo/bar references please). Stellar wants a numerator and denominator for a price? How does this make any ...
user avatar
1 vote
1 answer
58 views

Where is an accurate source for XLM to USD exchange rate?

Where is an accurate source for XLM to USD exchange rate? I'd like to programatically keep offers in line with market rates.
user avatar
  • 139
3 votes
1 answer
986 views

TX_BAD_AUTH_EXTRA at submiting a transaction

I'm getting an error at trying to issue an asset following this schema: (issuer) An issuer account (Nano ledger) that will create and send the asset to a secondary account. (bhMain) Secondary account ...
user avatar
2 votes
2 answers
608 views

How to verify a Transaction?

I sent a signed transaction through the internet to a cloud function that needs to verify that the signer is the valid one. My code: const bHMainKeys = Keypair.fromSecret(privateKey) if (...
user avatar
6 votes
2 answers
491 views

How to serialize, send over network, deserialize a transaction envelope for multiple signatures?

I'm trying to send over the network a base64 encoded string representing a partly signed envelope. I need to parse the string back to the original javascript object in order to add a new signature to ...
user avatar
  • 161
1 vote
2 answers
88 views

Private Testnet 404 issue

I am working on stellar private testnet setup, i have setup 3 stellar-core nodes and horizon, Account creation is working fine but data not showing for ledger, payment, transactions etc. All 3 nodes ...
user avatar
  • 188
2 votes
2 answers
174 views

Simple Transaction Issue

I am working on a small and very basic project, essentially doing a POC involving stellar transactions. I am a newbie with stellar. I have two clients running the same code, and a 'banker' who ...
user avatar
  • 29
1 vote
0 answers
51 views

Bifrost not updating events after ether sent to address warning error thrown

h=00000000000002c4e16bb85581427717efbd418a3e954064b2b532e02672a568 blockTime=2018-04-11 20:10:28 +0000 UTC pid=2514 service=BitcoinListener transactions=1 WARN[2018-04-11T20:10:39Z] Error extracting ...
user avatar
2 votes
1 answer
263 views

Good methods for Stress Test to prevent tx_bad_seq?

During a manual stress test with js-stellar-sdk, some transactions may be responded slower (e.g. 10 sec). At high TPS, asynch programming possibly causes server.loadAccount() to get the same tx_seq, ...
user avatar
  • 1,517
11 votes
1 answer
118 views

Info on metrics

Is there any documentation as to what each of the metrics outputted by stellar-core -c metrics means? In particular, I'm interested in determining the number of transactions reviewed by a particular ...
user avatar
  • 241
2 votes
1 answer
96 views

Balance of sender is not updating when send custom assets to receiver

I'm developing a remittance system around Stellar and we generated our own custom assets of type credit_alphanum4. Now the issue is, when we send payments using these custom assets to destination ...
user avatar
6 votes
1 answer
96 views

Should an address be restricted from sending unlimited XLM to itself?

Hello Stellar Community, While testing our wallets yesterday we noticed that an address is able to 'send' itself more XLM than the current total supply limit, ex: 105 Billion XLM. Although the net ...
user avatar
  • 61
8 votes
3 answers
466 views

Storing Secret Key for Smart Contracts

I'm currently working on a project that will implement multi-signature smart contracts to process our transactions. I have a quick question and am looking for input on how best to do this. My team ...
user avatar
3 votes
1 answer
283 views

What is the Bottleneck for Stellar TPS (for a private network)?

There are discussions on different forums about how good in terms of TPS (transaction per second) Stellar can be. If I would like to achieve higher TPS, is hardware likely to be the only bottleneck? ...
user avatar
  • 1,517
4 votes
1 answer
690 views

Pre-authorized Transaction

I would like to create a simple escrow account with two preauthorized timebound transactions, but not sure how to approach the problem. I am fairly new to Stellar, so correct me if I am wrong. I ...
user avatar
1 vote
1 answer
162 views

Is this scenario possible with stellar?

another noob question : Is it technically possible to use SSC for build a third party escrow service ? Let's imagine an absurd scenario : Once upon a time a man named Jed. He want to sell his ...
user avatar
  • 87
2 votes
1 answer
423 views

Stellar smart contract

Where does the stellar smart contracts stored. Its storing in blokchain (similar like ethereum) or its runs separately and storing only the signed transactions?. As i know stellar stores only the ...
user avatar
  • 421
2 votes
2 answers
613 views

Error in submitting the multisig transaction

The below code is the multisig transaction to submit to stellar horizon testnet. When I am submitting the transaction, I am getting the submission failed error. var alice_public_key = '...
user avatar
3 votes
1 answer
1k views

How to get the sequence number for an account id?

In the below code, I explicitly gave the sequence number. How can I get the sequence number by giving the public key? Is there a way to get the sequence number of an account? var StellarSdk = require(...
user avatar
1 vote
1 answer
441 views

How to create multisig address from multiple seeds?

I am wondering how to create the multisig accounts for stellar. I am using "py-stellar-base" SDK to send the transactions. Below is the code which sends the lumens from one address to other from ...
user avatar
2 votes
1 answer
118 views

Consensus about a transaction set

In the description of the transaction life cycle it is mentioned that: SCP resolves the differences between the various transaction sets proposed and decides on the one transaction set that the ...
user avatar
  • 303
3 votes
1 answer
108 views

How are timestamps deemed invalid?

The Stellar Consensus Protocol orders block candidates (via ballots) by the maximum timestamp and union of their transactions. It says that "values [transactions/ballots] with invalid timestamps will ...
user avatar
  • 131
5 votes
1 answer
77 views

Why "waiting on the signatures can block an account"

In the explanation about the long-lived transactions here, they mention that waiting on the signatures can block ... an account and there is a solution proposed, involving a temporary account ...
user avatar
  • 303
2 votes
1 answer
84 views

What would be the way to implement a game on Stellar?

I'm curious how would it be possible to implement a game similar to one mentioned here. The rules are trivial (and sort of dumb): In our little game, in each round, the wrestlers will be able to ...
user avatar
  • 303
6 votes
1 answer
241 views

How does using "channels" increase transaction volume?

Referencing this documentation page: https://www.stellar.org/developers/guides/channels.html. How does using a different source account to pay the transaction fee help increase your transaction ...
user avatar
4 votes
1 answer
371 views

How can I convert the built 'transaction' in XDR format?

Before I submit the transaction to the network I want to convert the 'transaction' in XDR format so that I can save it to database for future reference. I am using Stellar JS library. How to do it?
user avatar
3 votes
1 answer
174 views

How is Stellar network protected against spam? Are there scalability solutions?

After todays meeting with Stellar dev in Kraków some issues have raised in my mind that I couldn't easily find the answer to: From what I've heard, Stellar is capable of handling like 1000tx/s. With ...
user avatar
1 vote
2 answers
237 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?
user avatar
3 votes
1 answer
446 views

Can anyone explain what passive offers achieve?

I've read https://www.stellar.org/developers/guides/concepts/list-of-operations.html#create-passive-offer but I can't quite wrap my head around the purpose of a passive offer. Can anyone explain their ...
user avatar
  • 139
2 votes
1 answer
203 views

How can fiat credits issued on the Stellar network be converted directly to fiat (without going through an exchange)?

When an anchor issues fiat credits on the Stellar Network, how can these credits be withdrawn directly to a bank account or as cash at an ATM? For example, If I give 10 USD to an anchor and am ...
user avatar
  • 317
4 votes
1 answer
140 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 ...
user avatar
  • 193
6 votes
2 answers
268 views

How to determine sequence no for pre-authorised transaction with time bound validity without blocking other new possible transactions

If a pre-authorised transaction is created for time bound validity after 50 days and submitted to the network, does this mean another transaction before 50 days cannot happen as the sequence number ...
user avatar
5 votes
1 answer
175 views

Stellar offer fulfilment process in orderbook. Are partial bids accepted by Stellar?

How does Stellar network does the order matching on orderbook for sell offers and does Stellar accept partial bid for order fulfillment? eg I want to sell 100 units of asset A. If I get bids from ...
user avatar
3 votes
2 answers
405 views

Using IPFS hashes in stellar transaction / MEMO

I wonder if it is possible to send a IPFS Hash in a transaction MEMO. No accepted MOMO-Type allows me to enter a Multihash. Or did i get something wrong with 32-byte hashes which is not the IPFS-...
user avatar
  • 188
3 votes
1 answer
150 views

Listing all effects for a transaction

I’m having a bit of a trouble listing effects for one transaction record. When I list (e.g. on stellar laboratory) all TransactionForAccount, I get only limited number of records. I understand it. ...
user avatar
  • 153
2 votes
2 answers
146 views

Relation between Operation, Payemnt and Effect

What is the relation between “Operation of type: payment”, “Payment” and “Effect of type: account_credited”? Can “Payment operation” be submitted and not results in “Effect” (e.g. because of ...
user avatar
  • 153
5 votes
1 answer
145 views

Monitoring if offers are filled

I read the guide about watching for incoming payments, but trades on the distributed exchange don't show up as payments (this makes sense). So, I've been looking through the available RequestBuilder ...
user avatar
  • 217
5 votes
2 answers
289 views

How do you market buy an asset?

Is it possible to market-buy from the stellar distributed exchange? Or do you have to get the current sell offers and construct a bid for exactly the price of what people are willing to sell?
user avatar
  • 105
4 votes
2 answers
761 views

Signing transaction envelopes

How would I create a transaction envelope (using Stellar Laboratory) that is partially signed so that I may finish the rest of the signatures at a later date.
user avatar
  • 619
5 votes
2 answers
794 views

How do you cancel all open trades for a Stellar account?

I'm looking at the Java docs and I can't find any way to delete every order for an account. Is there an easy way to cancel/remove all open trades/offers?
user avatar
  • 105
4 votes
1 answer
180 views

Add and remove multiple signers in one transaction

Looking at the XDR spec there is only one signer allowed per transaction. Is there a reason for it, or there is a way to add multiple signers atomically? I am working on a new command line interface ...
user avatar
  • 143
1 vote
1 answer
106 views

How can I build a transaction with a dynamic list of mutators or operations using the Go SDK?

I'm trying to submit many operations in a single transaction that are built up dynamically. How can I convert these operations to a Stellar Transaction? Please provide code samples if possible.
user avatar
  • 1,070
4 votes
1 answer
736 views

What is the Stellar transaction data structure?

I'm vaguely familiar with Bitcoin's UTXO-based transaction structure and Ethereum's account-based/gas-including transaction structure. What does a Stellar transaction contain?
user avatar
3 votes
1 answer
4k views

What is the average transaction time on the Stellar network?

In other blockchains, such as Bitcoin or Ethereum, the transaction time is limited by the block time. Even then, there's no guarantee your transaction will be incorporated into the next block. How ...
user avatar
4 votes
1 answer
664 views

What is "Bump Sequence"?

There is currently a new operation proposal on stellar's github to add a bump sequence. What does this mean, why is it being implemented, and how does it impact stellar developers? Bump sequence ...
user avatar
4 votes
1 answer
128 views

Freezing assets and sending them back to the original issuer

In a disputed transaction, after freezing the assets, how can you send the assets back to the original issuer? Say for instance, you meant to send $100 but instead sent $1,000. Is there a way to ...
user avatar
5 votes
1 answer
298 views

How do 2 people sign a transaction from different clients?

In the multisig example located in the developer documents everything is listed in sequence in a single client "session" so to speak. https://www.stellar.org/developers/js-stellar-base/reference/base-...
user avatar
9 votes
2 answers
188 views

What is the Safest Way for Users to Sign Transactions Over the Web?

I'd like to build a web wallet that let's people make transactions. I'm best at python so right now I ask for the secret key in a form with the other transaction information, send it to my server, ...
user avatar
  • 430
4 votes
2 answers
174 views

Enforcing Non-Native Asset Transactions

I know the Stellar network can be used for exchanging all types of assets - Lumens, USD, apples, whatever. When exchanging non-Lumen assets between accounts, the network doesn't actually perform the ...
user avatar
  • 143
10 votes
2 answers
782 views

When is account sequence number incremented?

From Slack: Is account sequence number incremented only by valid transactions? In my case, I am trying to create an account with a large starting balance and consequently get an underfunded error, ...
user avatar