com.hedera.hashgraph.sdk.proto.TokenBalanceOrBuilder 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: basic_types.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
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.hedera.hashgraph.sdk.proto.TokenID getTokenId();
/**
*
**
* A unique token id
*
*
* .proto.TokenID tokenId = 1;
*/
com.hedera.hashgraph.sdk.proto.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();
}