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.
220
questions
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 ...
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. ...
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, ...
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 ...
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 ...
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 ...
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 ...
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, ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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?
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 ...
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 ...
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 ...
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, ...
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 ...
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 ...
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 ...
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 ...
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 ...
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.
...
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?
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?
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 ...
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.
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 ...
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('...
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 ...
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....
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 ...
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 ...
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", ...
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 ...
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-...
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?
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.
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 ...
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?
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 (...
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.
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+...
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 ...
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 ...
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 ...
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?
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?