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
4answers
300 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
2answers
357 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
2answers
270 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
1answer
113 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
2answers
727 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, ...
10
votes
2answers
186 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
2answers
159 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
3answers
413 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
2answers
114 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
1answer
88 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
1answer
364 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
2answers
88 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
3answers
341 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
1answer
65 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
2answers
2k 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 ...
6
votes
1answer
84 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
1answer
94 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
1answer
136 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 ...
6
votes
1answer
74 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 ...
6
votes
2answers
380 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
1answer
92 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
1answer
226 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
2answers
233 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
1answer
184 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
2answers
562 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
1answer
197 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
1answer
60 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
1answer
47 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
1answer
43 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
1answer
155 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
1answer
280 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
1answer
56 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
3answers
517 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
1answer
682 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
3answers
221 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. ...
4
votes
2answers
92 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
2answers
250 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?
4
votes
1answer
93 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
2answers
129 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 ...
4
votes
1answer
1k 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.
4
votes
1answer
73 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
2answers
101 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 ...
4
votes
1answer
330 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
2answers
352 views

How to Build transaction XDR before sign it

I want to build a transaction and convert that as XDR before sign that transaction. As i found we need to build adn sign the transaction before convert that as XDR specially in java and GO SDK. Is ...
4
votes
1answer
119 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 ...
4
votes
1answer
423 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 ...
4
votes
1answer
123 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 ...
4
votes
1answer
350 views

Do transaction fees scale with the size of the transaction?

Does the transaction fee increase with larger transfers of XLM? If so, by how much?
4
votes
1answer
120 views

Question regarding Stellar Attachment Convention 'route' param and general clarification

Regarding the attachment convention, is my interpretation correct? Attachments are sent outside of the ledger. The sha256 hash of the attachment data is included in the transaction's memo field only ...
4
votes
1answer
97 views

Transaction, Operations, and Payments

I am currently trying to get the memo and amount of a transaction, but am confused over the differences between a transaction, an operation, and a payment. From my understanding, a transaction ...

1
2 3 4 5