Interface TokenBalance.Builder

  • Method Details

    • amount

      TokenBalance.Builder amount(String amount)

      Raw balance in the smallest denomination (e.g., USDC base units where 1 USDC = 1000000).

      Parameters:
      amount - Raw balance in the smallest denomination (e.g., USDC base units where 1 USDC = 1000000).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • decimals

      TokenBalance.Builder decimals(Integer decimals)

      Number of decimal places for the token (e.g., 6 for USDC).

      Parameters:
      decimals - Number of decimal places for the token (e.g., 6 for USDC).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • token

      The supported token for this balance.

      Parameters:
      token - The supported token for this balance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • token

      The supported token for this balance.

      Parameters:
      token - The supported token for this balance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • network

      TokenBalance.Builder network(String network)

      The blockchain network family (ETHEREUM or SOLANA).

      Parameters:
      network - The blockchain network family (ETHEREUM or SOLANA).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • network

      The blockchain network family (ETHEREUM or SOLANA).

      Parameters:
      network - The blockchain network family (ETHEREUM or SOLANA).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • chain

      The specific blockchain chain.

      Parameters:
      chain - The specific blockchain chain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • chain

      The specific blockchain chain.

      Parameters:
      chain - The specific blockchain chain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: