Package org.stellar.anchor.sep24
Interface AssetService
-
- All Known Implementing Classes:
ResourceJsonAssetService
public interface AssetService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssetResponsegetAsset(java.lang.String code, java.lang.String issuer)Get the asset identified by `code` and `issuer`.java.util.List<AssetResponse>listAllAssets()Returns all assets supported by the anchor.
-
-
-
Method Detail
-
listAllAssets
java.util.List<AssetResponse> listAllAssets()
Returns all assets supported by the anchor.- Returns:
- assets.
-
getAsset
AssetResponse getAsset(java.lang.String code, java.lang.String issuer)
Get the asset identified by `code` and `issuer`.- Parameters:
code- The asset codeissuer- The account ID of the issuer- Returns:
-
-