object TransactionBuilder
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TransactionBuilder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
buildUnsignedTx(inputs: IndexedSeq[ErgoBox], dataInputs: IndexedSeq[DataInput], outputCandidates: Seq[ErgoBoxCandidate], currentHeight: Int, feeAmount: Long, changeAddress: ErgoAddress, minChangeValue: Long, minerRewardDelay: Int, burnTokens: TokensMap = Map.empty, boxSelector: BoxSelector = DefaultBoxSelector): 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)
- feeAmount
- fee amount to put in miner's fee box
- 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
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def collTokensToMap(tokens: Coll[(TokenId, Long)]): TokensMap
- def collectOutputTokens(outputCandidates: Seq[ErgoBoxCandidate]): TokensMap
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def tokensMapToColl(tokens: TokensMap): Coll[(TokenId, Long)]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()