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.

        You must specify this container with btc for the native BTC token, and eth for the native ETH token. 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.

        You must specify this container with btc for the native BTC token, and eth for the native ETH token. 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.