Interface TokenIdentifier.Builder

    • Method Detail

      • network

        TokenIdentifier.Builder network​(String network)

        The blockchain network of the token.

        Parameters:
        network - The blockchain network of the token.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        QueryNetwork, QueryNetwork
      • contractAddress

        TokenIdentifier.Builder contractAddress​(String contractAddress)

        This is the token's contract address.

        Parameters:
        contractAddress - This is the token's contract address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tokenId

        TokenIdentifier.Builder tokenId​(String tokenId)

        The unique identifier of the token.

        For native tokens, use the 3 character abbreviation that best matches your token. For example, btc for Bitcoin, eth for Ether, etc. For all other token types you must specify the tokenId in the 64 character hexadecimal tokenid format.

        Parameters:
        tokenId - The unique identifier of the token.

        For native tokens, use the 3 character abbreviation that best matches your token. For example, btc for Bitcoin, eth for Ether, etc. For all other token types you must specify the tokenId in the 64 character hexadecimal tokenid format.

        Returns:
        Returns a reference to this object so that method calls can be chained together.