com.hedera.hashgraph.sdk.proto.TokenBurnTransactionBodyOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-jdk7 Show documentation
Show all versions of sdk-jdk7 Show documentation
Hedera™ Hashgraph SDK for Java
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: token_burn.proto
package com.hedera.hashgraph.sdk.proto;
public interface TokenBurnTransactionBodyOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.TokenBurnTransactionBody)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
**
* The token for which to burn 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 burn 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();
/**
*
**
* Applicable to tokens of type FUNGIBLE_COMMON. The amount to burn from the Treasury Account.
* Amount must be a positive non-zero number, not bigger than the token balance of the treasury
* account (0; balance], represented in the lowest denomination.
*
*
* uint64 amount = 2;
* @return The amount.
*/
long getAmount();
/**
*
**
* Applicable to tokens of type NON_FUNGIBLE_UNIQUE. The list of serial numbers to be burned.
*
*
* repeated int64 serialNumbers = 3;
* @return A list containing the serialNumbers.
*/
java.util.List getSerialNumbersList();
/**
*
**
* Applicable to tokens of type NON_FUNGIBLE_UNIQUE. The list of serial numbers to be burned.
*
*
* repeated int64 serialNumbers = 3;
* @return The count of serialNumbers.
*/
int getSerialNumbersCount();
/**
*
**
* Applicable to tokens of type NON_FUNGIBLE_UNIQUE. The list of serial numbers to be burned.
*
*
* repeated int64 serialNumbers = 3;
* @param index The index of the element to return.
* @return The serialNumbers at the given index.
*/
long getSerialNumbers(int index);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy