All Questions

Filter by
Sorted by
Tagged with
1
vote
3answers
36 views

Transactions vs Operations

Stellar offers a model in which Operations (ops) are aggregated into Transactions (tx) which are aggregated into blocks. You can stuff 100(?) ops in a tx and 100(?) txs in a block (or ledger). but ...
0
votes
0answers
36 views

Stellar a viable long-term solution to use on my site?

I just stumbled across Stellar today and it looks very promising. I'm working on a new personal project idea and was searching for a way to build a Venmo-like feature into my app when I discovered ...
2
votes
0answers
28 views

Stellar channel implementation is giving an error “this.source.sequenceNumber is not a function”

i am trying to implement stellar channel concept. i am following stellar channel link. I have created 6 channel accounts. Below is the programme i wrote var destinationId = '...
1
vote
1answer
39 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 ...
0
votes
2answers
48 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
99 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
427 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:...
1
vote
1answer
46 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). ...
3
votes
1answer
45 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
0answers
25 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 ...
4
votes
2answers
65 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 (...
2
votes
2answers
238 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
102 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 ...
3
votes
1answer
36 views

(Dup for different SDK) How can I build a transaction with a dynamic list of mutators or operations using the JS SDK?

This is exactly what I am after but in JS. How can I build a transaction with a dynamic list of mutators or operations using the Go SDK? Something like this would be great, and then it'd be easy to ...
2
votes
1answer
78 views

Unable to set optional 'Source Account' on 'Manage Data' operation

On all other operations I can use a different 'Source Account', but if I try to do it on 'Manage Data', I get: 'tx_failed' when sending with Python-sdk no changes applied to XDR if I try it in ...
4
votes
1answer
80 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 ...
2
votes
1answer
214 views

How to get Transaction amount from API?

I want to display all transactions of given users. Using the Java API, I presume I would do: server.transactions().forAccount(destination2).execute(); I would then page through the result. Each item ...
3
votes
1answer
297 views

Can anyone explain what passive offers achieve?

I've read https://www.stellar.org/developers/guides/concepts/list-of-operations.html#create-passive-offer but I can't quite wrap my head around the purpose of a passive offer. Can anyone explain their ...
3
votes
1answer
122 views

Monitor transactions of non-native asset

is there a convenient way to monitor all transactions/payments/operations of a custom asset? It seems like the REST API only allows this for either one account or the whole network, but not for a ...
2
votes
2answers
125 views

Relation between Operation, Payemnt and Effect

What is the relation between “Operation of type: payment”, “Payment” and “Effect of type: account_credited”? Can “Payment operation” be submitted and not results in “Effect” (e.g. because of ...
1
vote
1answer
82 views

How can I build a transaction with a dynamic list of mutators or operations using the Go SDK?

I'm trying to submit many operations in a single transaction that are built up dynamically. How can I convert these operations to a Stellar Transaction? Please provide code samples if possible.
5
votes
1answer
57 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 ...