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

com.hedera.hashgraph.sdk.proto.TokenBalanceOrBuilder Maven / Gradle / Ivy

There is a newer version: 2.40.0
Show 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(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy