Interface TransactionEvent.Builder

    • Method Detail

      • network

        TransactionEvent.Builder network​(String network)

        The blockchain network where the transaction occurred.

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

        TransactionEvent.Builder network​(QueryNetwork network)

        The blockchain network where the transaction occurred.

        Parameters:
        network - The blockchain network where the transaction occurred.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        QueryNetwork, QueryNetwork
      • transactionHash

        TransactionEvent.Builder transactionHash​(String transactionHash)

        The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.

        Parameters:
        transactionHash - The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • from

        TransactionEvent.Builder from​(String from)

        The wallet address initiating the transaction. It can either be a public key or a contract.

        Parameters:
        from - The wallet address initiating the transaction. It can either be a public key or a contract.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • to

        TransactionEvent.Builder to​(String to)

        The wallet address receiving the transaction. It can either be a public key or a contract.

        Parameters:
        to - The wallet address receiving the transaction. It can either be a public key or a contract.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        TransactionEvent.Builder value​(String value)

        The value that was transacted.

        Parameters:
        value - The value that was transacted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contractAddress

        TransactionEvent.Builder contractAddress​(String contractAddress)

        The blockchain address. for the contract

        Parameters:
        contractAddress - The blockchain address. for the contract
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tokenId

        TransactionEvent.Builder tokenId​(String tokenId)

        The unique identifier for the token involved in the transaction.

        Parameters:
        tokenId - The unique identifier for the token involved in the transaction.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • transactionId

        TransactionEvent.Builder transactionId​(String transactionId)

        The unique identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.

        Parameters:
        transactionId - The unique identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • voutIndex

        TransactionEvent.Builder voutIndex​(Integer voutIndex)

        The position of the vout in the transaction output list.

        Parameters:
        voutIndex - The position of the vout in the transaction output list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.