Psbt

A Partially Signed Transaction.

Constructors

Link copied to clipboard
constructor(pointer: Pointer)
constructor(noPointer: NoPointer)

This constructor can be used to instantiate a fake object. Only used for tests. Any attempt to actually use an object constructed this way will fail as there is no connected Rust object.

constructor(psbtBase64: String)

Creates a new Psbt instance from a base64-encoded string.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun combine(other: Psbt): Psbt

Combines this Psbt with other PSBT as described by BIP 174.

Link copied to clipboard
open override fun destroy()
Link copied to clipboard
open override fun extractTx(): Transaction

Extracts the Transaction from a Psbt by filling in the available signature information.

Link copied to clipboard
open override fun fee(): ULong

Calculates transaction fee.

Link copied to clipboard
open override fun finalize(): FinalizedPsbtResult

Finalizes the current PSBT and produces a result indicating

Link copied to clipboard
open override fun jsonSerialize(): String

Serializes the PSBT into a JSON string representation.

Link copied to clipboard
open override fun serialize(): String

Serialize the PSBT into a base64-encoded string.

Link copied to clipboard
fun uniffiClonePointer(): Pointer