Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
1answer
17 views

(SOLVED) - Error when sending money (C++ QT SDK)

I had this working before (like a week ago) but now I am having issues with sending money to an account. I keep getting this error string "Error transferring https://horizon-testnet.stellar.org/...
1
vote
1answer
21 views

Threshold - Transaction processing meaning?

As per https://www.stellar.org/developers/guides/concepts/multi-sig.html Low security consists of "Transaction processing" (Charging a fee or updating the sequence number for the source account). ...
0
votes
1answer
13 views

How do I just get specific fields when displaying transactions for a given account

I'm using the Javascript sdk. My objective is to get the last 10 transactions for a given account (which is working), but JUST show specific fields (such as the amount of lumens, and perhaps the memo),...
0
votes
1answer
34 views

Chaining transactions

Ripple allows to chain transactions of the same account via the AccountTxnId flag. (see https://developers.ripple.com/transaction-common-fields.html#accounttxnid) Is this also possible with Stellar?
1
vote
2answers
53 views

Using QR code on my stellar account with memo

We are making an exchange so in order to give new customer an address to deposit we give him "generated address", but it is actually a random id that will be used as a memo. Problem is - on other ...
0
votes
1answer
47 views

Getting transactions history for account

I am trying to monitor the transactions for our main account. I am using the laboratory and I see something weird.. I filter it with ascending order to see from start up to now. My question is: From ...
0
votes
1answer
37 views

How to extract transaction hash out of XDR using Java Script?

iam having an XDR i want to know the transaction hash before i submit that to stellar. i did this in GO by unmarshal the XDR and used the builder to retrieve the hash. Is there nay way that i can do ...
1
vote
1answer
21 views

Can you view transactions that are queued up for the next ledger?

Is there a way for anyone to view the transactions that are pending for the next ledger BEFORE they get processed/posted to the next ledger? this can be very valuable if you are trading on the Stellar ...
1
vote
1answer
24 views

Why do transactions sent by a channel account do not appear in the operations history for the source account?

I'm currently writing an app that facilitates multi-sig transactions, and one of the issues we faced was the fact that to enable multiple transactions to be created and signed, we had to use channel ...
2
votes
1answer
36 views

From where is the transaction fee for a custom token (build on Stellar) that is charged by Stellar Network?

From where is the transaction fee for a custom token (build on Stellar) that is charged by Stellar Network? Is it from the custom wallet (I know the only possibility will be in XLM)? From whose ...
1
vote
1answer
36 views

Not able to sign the transaction

I have created one multisig account with two co-signers. After that, I initiated two transactions back to back without signing using co-signers. Tx1 10XLM – pending and Tx2 10XLM – pending. Now, I ...
1
vote
1answer
62 views

is it possible to perform multiple payment operation in single transaction?

Scenario: when user pay(100%) on my website using my API in which I want to perform 2 payment operation 1. goes to production account(50% amount) 2. goes to manager account (50% amount) is this ...
0
votes
1answer
52 views

How to keep account balance up to date in wallet app

I'm building a simple wallet app and I want to keep the balance of my account up to date in the wallet. I have thought of a couple ways to do this, but neither seem that great. OPTION 1: Query the ...
2
votes
0answers
30 views

Subscribing to incoming transaction does not work

paymentsRequest.stream(new EventListener<OperationResponse>() { @Override public void onEvent(OperationResponse payment) { System.out.println("TEST TEST TEST"); This ...
0
votes
1answer
54 views

transaction is not submitting on stellar network!

load account is working fine and giving details of accounts means horizon is giving response but on transaction submitting getting error. local node setup done using docker image of stellar code ...
3
votes
1answer
40 views

Why are some operations missing when I query operations by account?

When querying the Horizon API for operations related to an account, some are unexpectedly missing. The documentation says that the endpoint I'm using represents all operations in valid transactions ...
1
vote
2answers
52 views

How do I keep track of payments to multiple address

To track the payments we can use streaming API is good solution. already answered. In my case I have a master account(M) as well sub-master(SM) account, I need to have multiple sub-master(SM) ...
0
votes
1answer
25 views

How to check if a transaction went through?

When we submit a transaction to Horizon, we either get a success response or an error response. In the case of an error response, we can save the transaction in XDR format and resend it. But, if we ...
1
vote
1answer
72 views

how to know the transaction is confirmed or pending or success in stellar network or How to check status of a tx in stellar?

As a receiver, someone sends me lumens if transaction get success or fails it is ok as sender already got a response from the horizon, what if the transaction is neither succeed nor fails, how can I ...
5
votes
1answer
45 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, ...
0
votes
1answer
39 views

how to trace the state of a transaction after submit?

After submitting a transaction I want to verify that transaction. Is there any API or way to check or verify the transaction? const sendMultiSignatureTransaction = async (receiverPublicKey, ...
3
votes
2answers
49 views

How does a typical Stellar end-user distinguish between assets with same 4 or 12 digit code?

My understanding is that Assets created on the Stellar Network are identified with the combination of their 4 or 12 digit code plus the issuing address. I'm imagining a situation where an Asset on ...
4
votes
0answers
24 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?
3
votes
1answer
60 views

Why doesn't Stellar match the other order?

I have a question about Stellar exchange matching engine. Scenario: I want to trade AA coin for BB coin (2 Buy orders & 1 Sell order) Buy Orders (Buy BB | Price 1 BB = 90 AA) Order#1 Volume 10 ...
1
vote
2answers
36 views

Error while submitting change trust transaction

I created an anchor account which issues USD asset. It worked properly. But now when I modify the program where the anchor issues one more asset called INR and I am creating a trustline for both the ...
1
vote
2answers
44 views

Using Stellar for Proof of Existence

I know Stellar is designed for transfering funds and holding tokens, but I thought about using it for proof of existence. Stellars transaction fees are much cheaper than Ethereum and transactions are ...
2
votes
1answer
34 views

What happens when transaction fails to be applied?

What happens when a network comes to a consensus about a transaction, but that transaction fails to get applied on some nodes but not all nodes? A more concrete example is createAccount operation. ...
1
vote
0answers
22 views

How to filter only the most recent n number of operations of an account for only a specific Asset?

I had a function that returned the most recent 3 payment operations for an account. But I wante to change it so that it would only return the most recent 3 payment operations for only the asset being ...
1
vote
1answer
45 views

How to properly set `baseReserve` & `baseFee` to 0

I ran a basic private network with the line COMMANDS=["upgrades?mode=set&upgradetime=1970-01-01T00:00:00Z&basefee=0&basereserve=0"] inside of my stellar-core.cfg file on all of my nodes (5 ...
3
votes
1answer
56 views

Is there any way of knowing total transactions count (pagination)?

In the transactions endpoint e.g.: https://horizon-testnet.stellar.org/accounts/GAZHWW2NBPDVJ6PEEOZ2X43QV5JUDYS3XN4OWOTBR6WUACTUML2CCJLI/transactions?cursor=&limit=20&order=desc Is there any ...
4
votes
1answer
55 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 ...
5
votes
1answer
29 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", ...
3
votes
1answer
35 views

How to derive a number of open Offers for a transaction set that hasn't been fully submitted to the network yet

Please help to find out a possible solutions to the following problem: For a dedicated "Minimal Balance" service one would need to know a number of account entries among which there are Offers ((2 + #...
2
votes
1answer
74 views

Error while transaction submission in the private network

So I am trying to do a transaction in the private network, I have named it standalone, I am using SSL. I started the network using docker, then created a keypair, then in another terminal ran node to ...
3
votes
2answers
97 views

Verifying a transaction

For doing a payment from a distribution account i'd like to use the destination account as a channel. Therefore i'd like to implement the functionality as follows: there are 3 accounts involved: ...
4
votes
2answers
45 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
144 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 ...
3
votes
1answer
78 views

What is an easy way to create a transaction on multiple wallets at once?

Say I have 10 wallets and want to send their content to a master wallet and then remove trustlines on these wallets, what would be the easiest way to do it? Thanks!
1
vote
2answers
77 views

What is the syntax of the 'tx' (transaction) command, to execute a transaction?

So using docker I started a private Stellar Network by typing in the below command: docker run --rm -it -p "8000:8000" --name stellar stellar/quickstart --standalone Then I opened another terminal ...
-1
votes
1answer
44 views

Dynamic amount of operation

How can I add multiple operations in one transaction using the Go SDK? I am trying to add a dynamic amount of payment operations under 1 transaction and that seems to be not possible in Go as it's ...
3
votes
2answers
94 views

Can we add more fields on stellar?

I was wondering how to add more fields on transactions like the memo field.Is it possible to do so.. How can I do that?
1
vote
0answers
68 views

Horizon Error 6

I'm using the iOS SDK to attempt to submit a testnet transaction, but it fails with error 6, which I believe is BAD_AUTH, too few valid signatures/ wrong network. Here is my code: static func ...
3
votes
1answer
59 views

Is a payment returned through horizon api call: “Payments for Account” always “confirmed”?

Is a payment returned through horizon api call: "Payments for Account" always "confirmed"? In comparison to Ripple a transaction could be returned but not validated yet. Is Horizon filtering this out ...
2
votes
1answer
35 views

How the transaction history of an account including the amounts sent/received in the transaction be viewed using horizon?

By checking transactions using something like: https://horizon-testnet.stellar.org/accounts/GBMTGMQXBXZS5XJROQQOZB7TU4ACBIXTJJEG7WTXP4ZEARPGQGDWHWIS/transactions?order=desc&limit=100 I get JSON ...
3
votes
2answers
53 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 ...
0
votes
3answers
179 views

Muliti Signature with hash(x) in goLang SDK

I have a stellar account say "ACCOUNT1" with the following attributes: MasterWeight = 2 Threshold [ 1, 2, 3] Signers: Masterkey with weight 2 ed25519_public_key with weight 1 (say ACCOUNT2) ...
2
votes
2answers
121 views

Get the operation record of a payment

Using the javascript sdk, I'm sending a payment like so: const operation = Operation.payment({ destination: toAddress, asset: asset, amount: amount.toString() }); const account = await ...
1
vote
2answers
63 views

Expected behavior of omitting path attribute in Path Payment

When creating a pathpayment, the ideal use case would be to not have to provide a path, but rather rely on the stellar path finding algorithm to resolve the best (i.e. cheapest) path and then execute ...
2
votes
1answer
81 views

How do I locally manage sequence no of an account?

I am trying to successfully send a transaction but its failing whats the purpose of these two functions 1 - StellarSdk.Operation.createAccount 2 - StellarSdk.Operation.payment if I am using an ...
7
votes
1answer
149 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 ...