public interface AssetService
| Modifier and Type | Method and Description |
|---|---|
Result<Asset> |
getAsset(java.lang.String unit) |
Result<java.util.List<AssetAddress>> |
getAssetAddresses(java.lang.String asset,
int count,
int page)
Asset addresses
List of addresses containing a specific asset ordered ascending from the point of view of the blockchain, not the page listing itself.
|
Result<java.util.List<AssetAddress>> |
getAssetAddresses(java.lang.String asset,
int count,
int page,
OrderEnum order)
Asset addresses
List of addresses containing a specific asset
|
Result<java.util.List<PolicyAsset>> |
getPolicyAssets(java.lang.String policyId,
int count,
int page)
Assets of a specific policy
List of asset minted under a specific policy ordered ascending from the point of view of the blockchain, not the page listing itself.
|
Result<java.util.List<PolicyAsset>> |
getPolicyAssets(java.lang.String policyId,
int count,
int page,
OrderEnum order)
Assets of a specific policy
List of asset minted under a specific policy
|
Result<Asset> getAsset(java.lang.String unit) throws ApiException
unit - Concatenation of the policy_id and hex-encoded asset_nameApiExceptionResult<java.util.List<AssetAddress>> getAssetAddresses(java.lang.String asset, int count, int page, OrderEnum order) throws ApiException
asset - Concatenation of the policy_id and hex-encoded asset_name (required)count - The number of results displayed on one page. (<=100).page - The page number for listing the results.order - The ordering of items from the point of view of the blockchain, not the page listing itself. By default, we return oldest first, newest lastApiExceptionResult<java.util.List<AssetAddress>> getAssetAddresses(java.lang.String asset, int count, int page) throws ApiException
asset - Concatenation of the policy_id and hex-encoded asset_name (required)count - The number of results displayed on one page. (<=100).page - The page number for listing the results.ApiExceptionResult<java.util.List<PolicyAsset>> getPolicyAssets(java.lang.String policyId, int count, int page, OrderEnum order) throws ApiException
policyId - Specific policy_id (required)count - The number of results displayed on one page. (<=100).page - The page number for listing the results.order - The ordering of items from the point of view of the blockchain, not the page listing itself. By default, we return oldest first, newest last.ApiExceptionResult<java.util.List<PolicyAsset>> getPolicyAssets(java.lang.String policyId, int count, int page) throws ApiException
policyId - Specific policy_id (required)count - The number of results displayed on one page. (<=100).page - The page number for listing the results.ApiException