public interface AssetsApi
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<java.util.List<AssetAddress>> |
assetsAssetAddressesGet(java.lang.String projectId,
java.lang.String asset,
java.lang.Integer count,
java.lang.Integer page,
java.lang.String order)
Asset addresses
List of a addresses containing a specific asset
|
retrofit2.Call<java.util.List<PolicyAsset>> |
assetsPolicyPolicyIdGet(java.lang.String projectId,
java.lang.String policyId,
java.lang.Integer count,
java.lang.Integer page,
java.lang.String order)
Assets of a specific policy
List of asset minted under a specific policy
|
retrofit2.Call<Asset> |
getAsset(java.lang.String projectId,
java.lang.String assetId)
Specific asset
Information about a specific asset
|
@GET(value="assets/{asset}")
retrofit2.Call<Asset> getAsset(@Header(value="project_id")
java.lang.String projectId,
@Path(value="asset")
java.lang.String assetId)
assetId - Concatenation of the policy_id and hex-encoded asset_name (required)@GET(value="assets/{asset}/addresses")
retrofit2.Call<java.util.List<AssetAddress>> assetsAssetAddressesGet(@Header(value="project_id")
java.lang.String projectId,
@Path(value="asset")
java.lang.String asset,
@Query(value="count")
java.lang.Integer count,
@Query(value="page")
java.lang.Integer page,
@Query(value="order")
java.lang.String order)
asset - Concatenation of the policy_id and hex-encoded asset_name (required)count - The number of results displayed on one page. (optional, default to 100)page - The page number for listing the results. (optional, default to 1)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. (optional, default to asc)@GET(value="assets/policy/{policy_id}")
retrofit2.Call<java.util.List<PolicyAsset>> assetsPolicyPolicyIdGet(@Header(value="project_id")
java.lang.String projectId,
@Path(value="policy_id")
java.lang.String policyId,
@Query(value="count")
java.lang.Integer count,
@Query(value="page")
java.lang.Integer page,
@Query(value="order")
java.lang.String order)
policyId - Specific policy_id (required)count - The number of results displayed on one page. (optional, default to 100)page - The page number for listing the results. (optional, default to 1)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. (optional, default to asc)