Stack Exchange Network

Stack Exchange network consists of 175 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.

1
vote
1answer
18 views

Retrieve transaction memo text with Java API

I need to retrieve some transactions from a specific account and then read the memo. I've tried a couple of different methods with no success. My first attempt was as below, but I get odd looking memo ...
1
vote
1answer
14 views

“No converter found for return value of type: class org.stellar.sdk.requests.TransactionsRequestBuilder” when getting transaction history

This is my code for transaction history: @RequestMapping(value = EmpRestURIConstants.TRANS_HIS, method = RequestMethod.POST) public @ResponseBody TransactionsRequestBuilder transactionHistory(@...
1
vote
2answers
28 views

Exception while send Transaction using Java stellar SDK “TimeBounds has to be set or you must call setTimeout(TIMEOUT_INFINITE)”

I am getting the following Exception while performing send transaction using the Java Stellar SDK. This is my send transaction code: import org.stellar.sdk.AssetTypeNative; import org.stellar.sdk....
5
votes
1answer
36 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 ...
3
votes
1answer
25 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?
1
vote
1answer
26 views

Escrow account releases funds imediately when configuring lock-in period

Hoping for a simple scenario following This thread: 1) Creating wallets from master accounts 2) Funding the escrow wallet 3) Giving the lock - in time bound period 4) Releasing the amount locked ...
1
vote
1answer
33 views

How to listening new XLM transaction for multiple accounts

I'm totally new in stellar network. I have experienced create transaction listener for bitcoin and ethereum by listen to every new transaction, if that transaction contain my address it send callback ...
0
votes
2answers
42 views

Why in the stellar network the price for 1 transaction and 1 operation is not equal to the price for 1 transaction and 100 operation?

Why in the stellar network the price for 1 transaction and 1 operation is not equal to the price for 1 transaction and 100 operation? In 2 case the network load will be less? (if 100 transactions ...
1
vote
2answers
63 views

Why transaction operation “op_malformed”?

As I understand "If one operation is wrong then the whole transaction is wrong" Trying to find the cause 'op_malformed' I already read it "Transaction Malformed" I never found a mistake This is ...
1
vote
1answer
420 views

If one operation is wrong then the whole transaction is wrong

Found such a problem if one operation is wrong then the whole transaction is wrong. ZuluCrypto\StellarSdk\Horizon\Api\PostTransactionResponse Object ( [result:protected] => [rawData:...
3
votes
1answer
28 views

Check with simple API request if account has received prior transactions

I want to check if a simple API request if an account has received prior transactions. I know that one has to do a transaction to "initialize the account" but how do I check if it has received any ...
1
vote
0answers
14 views

How to properly update stellar-xdr and recreate docker image of stellar-horizon?

I want to increase the memo field from 28 bytes by changing this line in Stellar-transaction.x for my private network: MEMO_TEXT: string text<28>. I am able to pull the stellar-go repo into my ...
1
vote
1answer
30 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
30 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
14 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
37 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
68 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
52 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
50 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
22 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
26 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
42 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
40 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
90 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
32 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
72 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
43 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
64 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
26 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
2answers
122 views

How can I determine if a transaction is confirmed, pending or successful after submitting to the Stellar network?

If someone sends me lumens, what happens if the transaction neither succeed nor fails? How can I determine whether I will receive lumens or not when the transaction is pending? From the getting ...
5
votes
1answer
56 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 ...
5
votes
1answer
40 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
68 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
48 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 ...
2
votes
2answers
50 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 ...
3
votes
1answer
35 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
23 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
49 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
59 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
30 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
37 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
86 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
114 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
51 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
173 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
90 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!