Skip to main content

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
22 votes
4 answers
348 views

Instantly distributing payments to multiple parties

Is it possible to use Stellar to create an address that will automatically distribute payments to two different parties? For example, if 10 XLM is received to address x, 8 XLM are instantly ...
steveklbnf's user avatar
13 votes
2 answers
421 views

Are there any steps taken to prevent spamming the Stellar network?

Many wallets have recently received a transaction with advertisement for an inflation pool in the memo text. With a fee of 0.001 XLM, massively spamming the Stellar network seems to be pretty cheap. ...
Andrei Savin's user avatar
11 votes
2 answers
823 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, ...
Bartek Nowotarski's user avatar
11 votes
2 answers
309 views

How do nodes in the Stellar network work?

Transactions are near-instantaneous in Stellar because of the Stellar Consensus Protocol. How exactly do the nodes verify transactions and check them with each other? Can a malicious node hurt the ...
manjuu5's user avatar
  • 1,060
11 votes
1 answer
120 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 ...
Ryan's user avatar
  • 241
10 votes
2 answers
306 views

What are the best ways to calculate the time for XLM transaction based on the projected growth of the network?

I'm curious how to best estimate the time per transaction as the existing number of transactions double/triple/10x. Currently I know the infrastructure of federated endpoints is meant to optimize for ...
rememberlenny's user avatar
9 votes
2 answers
5k views

How to send my Lumens from Keybase to Coinbase

I'm trying to send my Lumens from my Keybase wallet to Coinbase but I'm not able to. I created a new account to send to, but it only asked for a name, then a private message and public memo. I put the ...
No_code's user avatar
  • 91
9 votes
2 answers
210 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, ...
AGitzes's user avatar
  • 440
8 votes
3 answers
503 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 ...
shmister24's user avatar
8 votes
2 answers
126 views

What is the rationale behind locking up base_reserve?

In Stellar, you must hold a certain amount of XLMs in your account or else you can't perform transactions. What's the monetary rationale behind this requirement? It locks up money in accounts for no ...
FuzzyAmi's user avatar
  • 1,581
8 votes
1 answer
102 views

Is it possible to forward transaction fee onto someone else?

I wonder if it is possible in Stellar to forward the transaction costs onto some other (willing) account (and still maintain its private seed). I could go into the rationale, but its really not ...
FuzzyAmi's user avatar
  • 1,581
7 votes
1 answer
465 views

Why is the memo hash different from the one I specify during tx building?

I'm converting IPFS multi hash to hex, and after throwing away its prefix I want to attach that hash to a stellar transaction (something like here). I build it this way: let transaction = new ...
Maxim Gaina's user avatar
7 votes
1 answer
166 views

Is there a speed difference between the SDKs?

The JavaScript Stellar SDK facilitates integration with the Stellar Horizon API server and submission of Stellar transactions, either on Node.js or in the browser. It has two main uses: querying ...
Lilynut's user avatar
  • 491
7 votes
1 answer
118 views

What is the origin of an account's initial sequence number

According to the stellar docs Sequence number The current transaction sequence number of the account. This number starts equal to the ledger number at which the account was created This does ...
David Kosz's user avatar
7 votes
2 answers
92 views

What would a transaction between two parties who unknowingly use XLM look like?

What would be the mechanisms or applications needed to make this happen?
ExMachima's user avatar
  • 619
6 votes
3 answers
426 views

How can I find my test transaction from Get Started Guide code on the Stellar TestNetwork?

I've been following along the 'Get Started' guide on the Stellar Developer's site and practicing with the Java code that is provided in the 'Transactions' chapter. When executing the sample code to ...
Yan's user avatar
  • 63
6 votes
1 answer
80 views

Does the ratio of number of transaction of number of operation mean something?

I've observed the ratio of transaction count and operation count for a while and there is high fluctuation in the relationship between them. Could someone explain me how the ratio reflects the growth ...
Phi Nguyen's user avatar
6 votes
1 answer
97 views

How would I make a transaction to buy a physical product using the Stellar Network?

My understanding of the SCP is that when a trade happens it must hold the same value across the network. If a transaction happens that is not a 1 to 1 exchange and is validated by a node it is ...
ExMachima's user avatar
  • 619
6 votes
1 answer
145 views

Transaction created_at and ledger close time

I am wondering what the created_at timestamp in every transaction actually represents. Is the the time the transaction is signed or is it the time it was applied to the ledger? If it is not the later, ...
Jake B's user avatar
  • 163
6 votes
2 answers
624 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 ...
phra's user avatar
  • 161
6 votes
1 answer
98 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 ...
JLister's user avatar
  • 61
6 votes
1 answer
248 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 ...
aloisbarreras's user avatar
6 votes
2 answers
283 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 ...
Anshul mittal's user avatar
6 votes
1 answer
197 views

Does a Historical Traffic Chart for the Stellar Lumens Platform Exist?

I'm aware of https://dashboard.stellar.org/ to view live platform transactions, but I would like to access a historical growth chart. As new apps and tools get brought on board, and as more people ...
Jsweet's user avatar
  • 133
5 votes
3 answers
284 views

Is there a way to get a list of payments on account along with the transaction memo?

It seems the the transactions for account will give you back a memo, but no way to get the payments info such as the amount without making another API call on the individual payment for transaction. ...
aasatt's user avatar
  • 193
5 votes
2 answers
303 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?
Jovak's user avatar
  • 105
5 votes
2 answers
893 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?
Jovak's user avatar
  • 105
5 votes
2 answers
264 views

Is there a library for stellar equivalent to web3js for Ethereum?

I am considering creating a stellar token or asset. I have done this before with ethereum but not with stellar. I would also like an app to be able to: Create a wallet for the user so that they can ...
John Murphy's user avatar
5 votes
1 answer
2k views

Convert XDR to text

I want to convert the XDR fromat of the transaction to text using JS or java SDK in stellar.Or if there are any methods outside stellar also fine.
Sharmilan's user avatar
  • 421
5 votes
1 answer
206 views

Is it possible to require authentication without a federation server?

According to Compliance protocol is it possibile to handle a completely regulated "AntiMoney-laundring" flow. The Compliance Protocol is an additional step after federation. In this step the ...
Nekrataal's user avatar
  • 1,009
5 votes
3 answers
2k views

How to decode XDR of the result_xdr

So my code is: envelope = Te(tx=tx, opts={"network_id": "TESTNET"}) envelope.sign(receiving_account) xdr = envelope.xdr() response = horizon.submit(xdr) # TO DO: Have to check if done well print('...
Volatil3's user avatar
  • 215
5 votes
2 answers
115 views

Why are overspending transactions added to the ledger?

I always assumed that this could not make its way into the ledger, but while testing with (seemingly) invalid transactions, I created the following: A custom asset I created a custom asset. As you ...
chris_b's user avatar
  • 193
5 votes
1 answer
59 views

What state is a transaction in after being succesfully posted?

Related to how to trace the state of a transaction after submit? After a transaction has been sent to the Post Transaction endpoint and it returns a successful response: A successful response (i.e....
challet's user avatar
  • 173
5 votes
1 answer
79 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 ...
maxint's user avatar
  • 303
5 votes
1 answer
153 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 ...
jonbon's user avatar
  • 217
5 votes
1 answer
81 views

Stellar address prefix bitwise operator rationale

Stellar prefixes public keys with G. Why do they use a bitwise operation VersionByteAccountID VersionByte = 6 << 3 to get the base 10 value 48? Javascript "returns the default numerical values", ...
aroooo's user avatar
  • 267
5 votes
1 answer
182 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 ...
Anshul mittal's user avatar
5 votes
1 answer
300 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-...
Ross Bates's user avatar
5 votes
1 answer
72 views

What are the message size limitations of stellar consensus protocol?

The question is a two part question: What is the message size limitation of stellar consensus protocol? Also how does the message size affect the TPS of stellar?
tatepairing's user avatar
5 votes
3 answers
760 views

How to sign the XDR transaction envelop and and post it through java sdk?

I received the XDR envelope of a transaction. I need to sign it and submit using Java SDK. I am able to decode the XDR, but need help on how to sign and submit.
Sharmilan's user avatar
  • 421
4 votes
3 answers
391 views

Why can't you purchase XLM using standard currency?

It says on this page [How to buy Stellar Lumens (XLM) in the US]. If you live in the United States, you won’t find a cryptocurrency exchange offering Stellar Lumens for direct purchase. You have ...
Welz's user avatar
  • 157
4 votes
1 answer
757 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?
Richard Horrocks's user avatar
4 votes
2 answers
146 views

How to implement OTC trading of Stellar assets?

Stellar has its distributed exchange for trading currencies and other assets. It has a public orderbook with passive orders. So far so good. But in many use cases, financial institutions prefer OTC (...
Roman's user avatar
  • 195
4 votes
2 answers
790 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.
ExMachima's user avatar
  • 619
4 votes
1 answer
124 views

What is the right way to verify an off-chain transaction with golang?

When you receive a transaction in the http request, you are getting a string with the XRD base64 form of the client signed transaction: {"transaction": "AAAAAGjeCRajN67nRkVtYO+...
etua's user avatar
  • 41
4 votes
1 answer
148 views

Transaction fails without error code

I'm playing with the Stellar java SDK and I'm trying to send to send some Lumens from a fully funded account to an other account on the testnet. Once the transaction is complete I get back a response ...
Johny19's user avatar
  • 143
4 votes
1 answer
90 views

Does stellar takes fee for resolving a federated address?

I did a transaction from my one of my stellar accounts to my federated stellar address which is under another account. But while sending I made the mistake of not giving the complete federated address ...
Anthrose's user avatar
  • 131
4 votes
1 answer
707 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 ...
user1138's user avatar
4 votes
1 answer
388 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?
Prashant Abhishek's user avatar
4 votes
1 answer
60 views

Are sponsored transactions available?

We need users to send our tokens (TKS) and have transaction fee paid with TKS, without worrying about getting native currency for tx fee. Is this possible on Stellar?
Eugene Lopin's user avatar

1
2 3 4 5