Interface Transaction.Builder

  • Method Details

    • network

      Transaction.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:
    • 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:
    • blockHash

      Transaction.Builder blockHash(String blockHash)

      The block hash is a unique identifier for a block. It is a fixed-size string that is calculated by using the information in the block. The block hash is used to verify the integrity of the data in the block.

      Parameters:
      blockHash - The block hash is a unique identifier for a block. It is a fixed-size string that is calculated by using the information in the block. The block hash is used to verify the integrity of the data in the block.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transactionHash

      Transaction.Builder transactionHash(String transactionHash)

      The hash of a transaction. It is generated when a transaction is created.

      Parameters:
      transactionHash - The hash of a transaction. It is generated when a transaction is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • blockNumber

      Transaction.Builder blockNumber(String blockNumber)

      The block number in which the transaction is recorded.

      Parameters:
      blockNumber - The block number in which the transaction is recorded.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transactionTimestamp

      Transaction.Builder transactionTimestamp(Instant transactionTimestamp)

      The Timestamp of the transaction.

      Parameters:
      transactionTimestamp - The Timestamp of the transaction.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transactionIndex

      Transaction.Builder transactionIndex(Long transactionIndex)

      The index of the transaction within a blockchain.

      Parameters:
      transactionIndex - The index of the transaction within a blockchain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numberOfTransactions

      Transaction.Builder numberOfTransactions(Long numberOfTransactions)

      The number of transactions in the block.

      Parameters:
      numberOfTransactions - The number of transactions in the block.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • to

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

      Parameters:
      to - The 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.
    • from

      The initiator of the transaction. It is either in the form a public key or a contract address.

      Parameters:
      from - The initiator of the transaction. It is either in the form a public key or a contract address.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contractAddress

      Transaction.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.
    • gasUsed

      Transaction.Builder gasUsed(String gasUsed)

      The amount of gas used for the transaction.

      Parameters:
      gasUsed - The amount of gas used for the transaction.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cumulativeGasUsed

      Transaction.Builder cumulativeGasUsed(String cumulativeGasUsed)

      The amount of gas used up to the specified point in the block.

      Parameters:
      cumulativeGasUsed - The amount of gas used up to the specified point in the block.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • effectiveGasPrice

      Transaction.Builder effectiveGasPrice(String effectiveGasPrice)

      The effective gas price.

      Parameters:
      effectiveGasPrice - The effective gas price.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • signatureV

      Transaction.Builder signatureV(Integer signatureV)

      The signature of the transaction. The Z coordinate of a point V.

      Parameters:
      signatureV - The signature of the transaction. The Z coordinate of a point V.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • signatureR

      Transaction.Builder signatureR(String signatureR)

      The signature of the transaction. The X coordinate of a point R.

      Parameters:
      signatureR - The signature of the transaction. The X coordinate of a point R.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • signatureS

      Transaction.Builder signatureS(String signatureS)

      The signature of the transaction. The Y coordinate of a point S.

      Parameters:
      signatureS - The signature of the transaction. The Y coordinate of a point S.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transactionFee

      Transaction.Builder transactionFee(String transactionFee)

      The transaction fee.

      Parameters:
      transactionFee - The transaction fee.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transactionId

      Transaction.Builder transactionId(String transactionId)

      The identifier of a Bitcoin transaction. It is generated when a transaction is created.

      Parameters:
      transactionId - The identifier of a Bitcoin transaction. It is generated when a transaction is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • confirmationStatus

      Transaction.Builder confirmationStatus(String confirmationStatus)

      Specifies whether the transaction has reached Finality.

      Parameters:
      confirmationStatus - Specifies whether the transaction has reached Finality.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • confirmationStatus

      Transaction.Builder confirmationStatus(ConfirmationStatus confirmationStatus)

      Specifies whether the transaction has reached Finality.

      Parameters:
      confirmationStatus - Specifies whether the transaction has reached Finality.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • executionStatus

      Transaction.Builder executionStatus(String executionStatus)

      Identifies whether the transaction has succeeded or failed.

      Parameters:
      executionStatus - Identifies whether the transaction has succeeded or failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • executionStatus

      Transaction.Builder executionStatus(ExecutionStatus executionStatus)

      Identifies whether the transaction has succeeded or failed.

      Parameters:
      executionStatus - Identifies whether the transaction has succeeded or failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: