com.hedera.hashgraph.sdk.proto.TokenMintTransactionBodyOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-full Show documentation
Show all versions of sdk-full Show documentation
Hedera™ Hashgraph SDK for Java
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: token_mint.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface TokenMintTransactionBodyOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.TokenMintTransactionBody)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* The token for which to mint tokens. If token does not exist, transaction results in
* INVALID_TOKEN_ID
*
*
* .proto.TokenID token = 1;
* @return Whether the token field is set.
*/
boolean hasToken();
/**
*
**
* The token for which to mint tokens. If token does not exist, transaction results in
* INVALID_TOKEN_ID
*
*
* .proto.TokenID token = 1;
* @return The token.
*/
com.hedera.hashgraph.sdk.proto.TokenID getToken();
/**
*
**
* The token for which to mint tokens. If token does not exist, transaction results in
* INVALID_TOKEN_ID
*
*
* .proto.TokenID token = 1;
*/
com.hedera.hashgraph.sdk.proto.TokenIDOrBuilder getTokenOrBuilder();
/**
*
**
* Applicable to tokens of type FUNGIBLE_COMMON. The amount to mint to the Treasury Account.
* Amount must be a positive non-zero number represented in the lowest denomination of the
* token. The new supply must be lower than 2^63.
*
*
* uint64 amount = 2;
* @return The amount.
*/
long getAmount();
/**
*
**
* Applicable to tokens of type NON_FUNGIBLE_UNIQUE. A list of metadata that are being created.
* Maximum allowed size of each metadata is 100 bytes
*
*
* repeated bytes metadata = 3;
* @return A list containing the metadata.
*/
java.util.List getMetadataList();
/**
*
**
* Applicable to tokens of type NON_FUNGIBLE_UNIQUE. A list of metadata that are being created.
* Maximum allowed size of each metadata is 100 bytes
*
*
* repeated bytes metadata = 3;
* @return The count of metadata.
*/
int getMetadataCount();
/**
*
**
* Applicable to tokens of type NON_FUNGIBLE_UNIQUE. A list of metadata that are being created.
* Maximum allowed size of each metadata is 100 bytes
*
*
* repeated bytes metadata = 3;
* @param index The index of the element to return.
* @return The metadata at the given index.
*/
com.google.protobuf.ByteString getMetadata(int index);
}