Packages

object TransactionBuilder

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TransactionBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit final class EitherOpsFor211[+A, +B] extends AnyVal
  2. case class Payment(recipientAddress: ErgoAddress, transferAmt: Long) extends Product with Serializable

    recipientAddress

    - payment recipient address

    transferAmt

    - amount of ERGs to transfer

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def buildUnsignedTx(inputs: IndexedSeq[ErgoBox], dataInputs: IndexedSeq[DataInput], outputCandidates: Seq[ErgoBoxCandidate], currentHeight: Int, createFeeOutput: Option[Long], changeAddress: ErgoAddress, minChangeValue: Long, minerRewardDelay: Int, burnTokens: TokensMap = Map.empty, boxSelector: BoxSelector = new DefaultBoxSelector(None)): Try[UnsignedErgoLikeTransaction]

    Creates unsigned transaction from given inputs and outputs adding outputs with miner's fee and change Runs required checks ensuring that resulted transaction will be successfully validated by a node.

    Creates unsigned transaction from given inputs and outputs adding outputs with miner's fee and change Runs required checks ensuring that resulted transaction will be successfully validated by a node.

    inputs

    - input boxes

    dataInputs

    - data inputs

    outputCandidates

    - output candidate boxes

    currentHeight

    - current height (used in miner's fee box and change box)

    createFeeOutput

    - optional fee amount to put in a new miner's fee box, which will be created by this method. If None, then feeOut is not created.

    changeAddress

    - address where to send change from the input boxes

    minChangeValue

    - minimum change value to send, otherwise add to miner's fee

    minerRewardDelay

    - reward delay to encode in miner's fee box

    returns

    unsigned transaction

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def collTokensToMap(tokens: Coll[(TokenId, Long)]): TokensMap
  8. def collectOutputTokens(outputCandidates: Seq[ErgoBoxCandidate]): TokensMap
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def multiPaymentTransaction(inputIds: Array[String], feeAmt: Long, payments: List[Payment], changeAddress: ErgoAddress, changeAmt: Long, currentHeight: Int): UnsignedErgoLikeTransaction

    Assembles unsigned payment transaction with multiple outputs

    Assembles unsigned payment transaction with multiple outputs

    inputIds

    - identifiers of inputs to be used in transaction

    feeAmt

    - fee amount

    payments

    - list of addresses and corresponding amounts to make outputs from

    changeAddress

    - change recipient address

    changeAmt

    - amount to return back to changeAddress

    currentHeight

    - current blockchain height

    returns

    unsigned transaction

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def paymentTransaction(recipientAddress: ErgoAddress, changeAddress: ErgoAddress, transferAmt: Long, feeAmt: Long, changeAmt: Long, inputIds: Array[String], currentHeight: Int): UnsignedErgoLikeTransaction

    Assembles unsigned payment transaction.

    Assembles unsigned payment transaction.

    recipientAddress

    - payment recipient address

    changeAddress

    - change recipient address

    transferAmt

    - amount of ERGs to transfer

    feeAmt

    - fee amount

    changeAmt

    - amount to return back to changeAddress

    inputIds

    - identifiers of inputs to be used in transaction

    currentHeight

    - current blockchain height

    returns

    unsigned transaction

  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def tokensMapToColl(tokens: TokensMap): Coll[(TokenId, Long)]
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped