Skip to main content
Share Your Experience: Take the 2024 Developer Survey
7 votes
Accepted

Do I recover my .5 lumens when changing trust to delete a trustline?

You do not pay XLM, you just "freeze" XLM. Once you delete a trustline, it is "unfrozen".
Linas's user avatar
  • 108
5 votes
Accepted

What does error "tx_insufficient_balance" mean for Change Trust?

When you add a trust line, the minimum required balance of the account increases by 1 x base reserve. In order to hold a trust line in your new account, it would need a balance of 1.5 XLM. From the ...
Synesso's user avatar
  • 3,367
5 votes

How to decode XDR of the result_xdr

It is possible to decode XDR objects by using the stellar_base.stellarxdr module. from stellar_base.stellarxdr import Xdr import base64 result_bytes = base64.b64decode(response['result_xdr']) ...
Francesco's user avatar
  • 1,386
5 votes

Reserve Balance Increase for Each Trustline?

Yes, trustlines, offers, data entries and signers require base_reserve (currently 0.5 XLM) for each record https://www.stellar.org/developers/guides/concepts/fees.html#minimum-account-balance
umbrel's user avatar
  • 938
5 votes

How to evaluate trustlines?

You can not determine trustworthiness in an automated way, you have to personally decide if you trust a counterparty. Worst thing to happen is, that you trust a scammer, insolvent or (if they lose the ...
sui's user avatar
  • 2,534
4 votes

How does "accept all assets" federated address in Lobstr work?

Steve, just sent you 1 SLVR (1 gram of silver) to your accept all address. Receiving an asset without a trustline is not possible on the network level. However, when you make a payment to accept ...
user1363's user avatar
4 votes
Accepted

Trusting non-native asset distribution

If you want x and y to trust the same asset (not issued by either x or y) then you will need an account a to serve as the issuer account. If you want to continue to distribute tokens issued by the ...
nikhils's user avatar
  • 1,080
4 votes
Accepted

Custom asset - Limit/control wallet balances?

Simple Limits Step 1: Set the authorization required flag for your issuing account (?), this way nobody can create a trustline for your asset without your authorization. Step 2: Require users to set ...
sui's user avatar
  • 2,534
3 votes
Accepted

How to use the Stellar SDK API Reference?

The SDK reference documentation is built automatically from the sources using JS Doc format parser, so it doesn't contain the detailed information and usage examples, only methods descriptions ...
Orbit Lens's user avatar
  • 6,886
3 votes
Accepted

How to check Trustline Authorized Flag?

The operations-for-account endpoint will list all operations for that specific account incl. changes to the trustlines. If you scroll to the bottom on this stellar laboratory page (after clicking ...
jonas's user avatar
  • 98
3 votes

Trusting non-native asset distribution

The distribution account (b in your case) is optional. It is handy in most cases, because asset issuing logic can be fully separated from the distribution/trading/ICO logic. You can send your asset ...
Orbit Lens's user avatar
  • 6,886
3 votes
Accepted

Is it possible to have several issuers of an Asset?

Yes, it's possible. You can have multiple issuers issue assets with the same asset code. In order to achieve this, the "count collector account" would need to create trustlines for the same <...
nikhils's user avatar
  • 1,080
3 votes
Accepted

How to find all trustees to an asset issuing account?

You'll need to run your own Stellar Core node, or query the third-party node using GraphQL interface. Information about all trustlines is located in the trustlines table of Core database.
Orbit Lens's user avatar
  • 6,886
2 votes
Accepted

Trustee vs trustor in allow trust operation

I'm not sure which SDK you are using but the trustor should be the account setting the trust line and in the python SDK the trustee is specified in the asset definition which is Asset(symbol, ...
AGitzes's user avatar
  • 440
2 votes
Accepted

List All Un-authrorized Truslines

You are right, you can retrieve accounts with pending authorization by querying trustlines table. SELECT accountid FROM trustlines WHERE flags=0 AND assetcode='MYASSET';
Orbit Lens's user avatar
  • 6,886
2 votes

What happens to trustline to account that has been merged?

Let's say you want to merge account X to account Y. X cannot hold any offers or trustlines (therefore, no assets), according to the source code. https://github.com/stellar/go/blob/...
cesarm's user avatar
  • 1,527
2 votes
Accepted

Stellar: How to pay the account using custom asset?

To make your case work: First, use accountB to trust "ASTRO"(issued by accountA), and sign with accountB. This means that now accountA recognizes ASTRO. Then, you may send this ASTRO(by ...
cesarm's user avatar
  • 1,527
2 votes
Accepted

What is the minimum balance required to create a trustline between accounts?

Trustlines are an additional 0.5 XLM, as are DEX offers, data entries and additional signers.
Johan Stén's user avatar
  • 1,947
2 votes

Is it possible to change the asset issuer?

A Stellar Asset is differentiated primarily based on the Issuer. Hence changing Issuer is like creating a new asset on its own. So it is not NOT possible to change the Issuer. But, you can create a ...
Ashish Prajapati's user avatar
2 votes

Is it possible to change the asset issuer?

Since the asset issuing account is determined by the ID of the account that physically created the asset, there wouldn't be any way to "change" who issued an asset. The only solution I see is to ...
carleverett's user avatar
2 votes
Accepted

Mutiple opearations in single transaction

You can put multiple operations for different accounts (identified by the 'source' parameter in each operation) into the same transaction. If one operation fails then all operations will fail. Instead ...
sui's user avatar
  • 2,534
2 votes
Accepted

Viewing trustlines for authorization required assets from an asset issuer perspective

Good timing! In the upcoming Horizon release (0.23) we added trustlines filtering. From the doc: This endpoint allows filtering accounts who have a given signer or have a trustline to an asset. The ...
ire_and_curses's user avatar
2 votes
Accepted

Authorize a trustilne for an account before a trustline is set up

Currently, the answer is no. Even if an issuer creates a Claimable Balance for an auth_required asset, the claimant still needs an authorized trustline before they can claim it. There is a proposal ...
Justin Rice's user avatar
1 vote

How to send a custom token to a exchange stellar wallet, Plz help?

The person you are trying to send a token to has to set a trustline himself (with a change trust operation) to your issuing account. If his exchange wallet does not allow for it then he will have to ...
kolten's user avatar
  • 508
1 vote

How does "accept all assets" federated address in Lobstr work?

Per Tomer: They escrow the asset for you and let you pull it once you establish a trustline
Steve Kirsch's user avatar
1 vote

Testing custom asset with trustlines that must be allowed - can't send tokens from distribution account

I forgot to specify the issuing account when setting up the payment operation - so it was expecting to find a tcFoo Asset from the distribution account. Everything is now working!
tylerc's user avatar
  • 119
1 vote

How to do Multiple ICO for an Asset with KYC support?

From the technical point of view, after the first COOLTOKEN ICO wave you can issue another token, say, COOLTOKEN2, sell it and then exchange COOLTOKEN2 for COOLTOKEN at 1:1 rate. But turning off ...
Orbit Lens's user avatar
  • 6,886
1 vote

Error while submitting change trust transaction

Have you tried looking inside extras.result_codes as the error message suggests? The exact reason of why your transaction failed is documented there. In your case it is probably because you did not ...
marcinx's user avatar
  • 586
1 vote

Do I recover my .5 lumens when changing trust to delete a trustline?

Trustlines, Offers, Signers, and Data Values are called subentries. Each subentry locks 0.5 XLM from your account for the min_reserve. When you remove a subentry from your account, the corresponding ...
nikhils's user avatar
  • 1,080
1 vote
Accepted

How do I see trustline subentries in an account?

If I understood your question correctly, you are asking about the account <-> trustline relation. A trustline is related directly to the account that establishes the trustline, not the asset ...
Orbit Lens's user avatar
  • 6,886

Only top scored, non community-wiki answers of a minimum length are eligible