com.bloxbean.cardano.client.backend.model.Asset Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cardano-client-backend Show documentation
Show all versions of cardano-client-backend Show documentation
Cardano Client Lib Backend Api Module
package com.bloxbean.cardano.client.backend.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonNaming( PropertyNamingStrategies.SnakeCaseStrategy.class)
public class Asset {
/**
* Hex-encoded asset full name
*/
private String asset;
/**
* Policy ID of the asset
*/
private String policyId;
/**
* Hex-encoded asset name of the asset
*/
private String assetName;
/**
* CIP14 based user-facing fingerprint
*/
private String fingerprint;
/**
* Current asset quantity
*/
private String quantity;
/**
* ID of the initial minting transaction
*/
private String initialMintTxHash;
/**
* Count of mint and burn transactions
*/
private Integer mintOrBurnCount;
/**
* On-chain metadata stored in the minting transaction under label 721,
* community discussion around the standard ongoing at
* https://github.com/cardano-foundation/CIPs/pull/85
*/
private JsonNode onchainMetadata;
/**
* Asset metadata
*/
private JsonNode metadata;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy