com.hederahashgraph.api.proto.java.TokenBalanceOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: basic_types.proto
package com.hederahashgraph.api.proto.java;
public interface TokenBalanceOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.TokenBalance)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* A unique token id
*
*
* .proto.TokenID tokenId = 1;
* @return Whether the tokenId field is set.
*/
boolean hasTokenId();
/**
*
**
* A unique token id
*
*
* .proto.TokenID tokenId = 1;
* @return The tokenId.
*/
com.hederahashgraph.api.proto.java.TokenID getTokenId();
/**
*
**
* A unique token id
*
*
* .proto.TokenID tokenId = 1;
*/
com.hederahashgraph.api.proto.java.TokenIDOrBuilder getTokenIdOrBuilder();
/**
*
**
* Number of transferable units of the identified token. For token of type FUNGIBLE_COMMON -
* balance in the smallest denomination. For token of type NON_FUNGIBLE_UNIQUE - the number of
* NFTs held by the account
*
*
* uint64 balance = 2;
* @return The balance.
*/
long getBalance();
/**
*
**
* Tokens divide into <tt>10<sup>decimals</sup></tt> pieces
*
*
* uint32 decimals = 3;
* @return The decimals.
*/
int getDecimals();
}