All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bloxbean.cardano.client.backend.model.Asset Maven / Gradle / Ivy

There is a newer version: 0.6.3
Show newest version
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