Class AssetAcceptTransactionBuilder<T extends AssetAcceptTransactionBuilder<T>>


  • public class AssetAcceptTransactionBuilder<T extends AssetAcceptTransactionBuilder<T>>
    extends TransactionBuilder<T>
    Build an asset accept transaction, which is used to mark an acount as willing to accept an asset. Required parameters: acceptingAccount assetIndex firstValid genesisHash Optional global parameters: fee/flatFee note genesisID lease group Note: The acceptingAccount setters map to the 'sender' field internally. Using both will override each other.
    • Constructor Detail

      • AssetAcceptTransactionBuilder

        protected AssetAcceptTransactionBuilder()
    • Method Detail

      • acceptingAccount

        public T acceptingAccount​(Address acceptingAccount)
        Set the acceptingAccount.
        Parameters:
        acceptingAccount - The acceptingAccount.
        Returns:
        This builder.
      • acceptingAccount

        public T acceptingAccount​(String acceptingAccount)
        Set the acceptingAccount in the human-readable address format.
        Parameters:
        acceptingAccount - The acceptingAccount.
        Returns:
        This builder.
      • acceptingAccount

        public T acceptingAccount​(byte[] acceptingAccount)
        Set the acceptingAccount in the raw 32 byte format.
        Parameters:
        acceptingAccount - The acceptingAccount.
        Returns:
        This builder.
      • assetIndex

        public T assetIndex​(BigInteger assetIndex)
        Set the assetIndex.
        Parameters:
        assetIndex - The assetIndex.
        Returns:
        This builder.
      • assetIndex

        public T assetIndex​(Integer assetIndex)
        Set the assetIndex.
        Parameters:
        assetIndex - The assetIndex.
        Returns:
        This builder.
      • assetIndex

        public T assetIndex​(Long assetIndex)
        Set the assetIndex.
        Parameters:
        assetIndex - The assetIndex.
        Returns:
        This builder.