Skip to main content

Questions tagged [java-sdk]

For questions specifically regarding the Java Software Development Kit (SDK) for Stellar client applications.

Filter by
Sorted by
Tagged with
1 vote
1 answer
89 views

best way to store and retrieve an Asset

Does anybody know best way to store an Asset descriptor once it has been created with Asset.createNonNativeAsset(currencyName, issuingKeys);? How do we store it and retrieve the reference when we need ...
Egi Messito's user avatar
1 vote
1 answer
2k views

Multiple dex files define Lokio/AsyncTimeout$Watchdog;

After adding Stellar-SDK jar file and syncing Gradle, I did a clean and rebuild of my project and got this error. It seems that same class was used by another jar that has been added as dependency in ...
Jamie's user avatar
  • 31
1 vote
1 answer
100 views

How to get wallet id of an order?

I want to block some dumpers of my coin. Is there any Java code which I can use to get the wallet id of the low offers? For example if someone is buying less then 0.1 I want to get that offer and the ...
Ys3's user avatar
  • 171
2 votes
1 answer
49 views

Is there anyway to get the amount of asset which you sent?

as an ashore is there anyway to get the amount of the asset which you sent to the other wallets? like the the addition operation .
Ys3's user avatar
  • 171
2 votes
1 answer
113 views

How can i can freeze credit held by another account in Stellar SDK?

I read the guide from stellar.org but still couldn't find a solution. This is the guide: https://www.stellar.org/developers/guides/issuing-assets.html https://www.stellar.org/developers/guides/...
Ys3's user avatar
  • 171
2 votes
1 answer
173 views

Error while fetching account details from key pair [Java-stellar-sdk]

While fetching details of account using private SEED on stellar test net I am getting the below error: Error response from the server. at org.stellar.sdk.requests.ResponseHandler.handleResponse(...
white_walker's user avatar
5 votes
1 answer
153 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 ...
jonbon's user avatar
  • 217
5 votes
2 answers
886 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?
Jovak's user avatar
  • 105
6 votes
1 answer
215 views

How to listen to a third party account for stellar transactions from now?

I used paymentRequest.stream to start listen to events for a third party account. But it gets all events from the beginning if I don't provide a paging token. As it is a third party account, my ...
Hai Bi's user avatar
  • 183
2 votes
1 answer
414 views

Using Java api, how to find out the memo attached to a payment operation?

I can use the following code from example to receive payment event from public horizon. But the pos variable doesn't have memo information. Where should I get the memo from a certain paymente ...
Hai Bi's user avatar
  • 183
2 votes
1 answer
99 views

How to parse current offers with the Java SDK

Sorry for another illiterate question, but how the heck do you parse the https://horizon-testnet.stellar.org/accounts/ACCOUNT_PUBLIC_ID/offers page? There is almost no documentation on this. I have ...
jonbon's user avatar
  • 217
4 votes
2 answers
268 views

How to use the ManageOfferOperation with Assets in the Java SDK?

Right now I'm playing around with the test server Server server = new Server("https://horizon-testnet.stellar.org"); The Stellar getting started guides are very well written, but definitely ...
jonbon's user avatar
  • 217

1
2