Builder

class Builder
Result containing the signed and encoded transaction.
Protobuf type TW.Decred.Proto.SigningOutput

Functions

Link copied to clipboard
Signed and encoded transaction bytes.
bytes encoded = 2;
Link copied to clipboard
Optional error
.TW.Common.Proto.SigningError error = 4;
Link copied to clipboard
Resulting transaction. Note that the amount may be different than the requested amount to account for fees and available funds.
.TW.Decred.Proto.Transaction transaction = 1;
Link copied to clipboard
Transaction id
string transaction_id = 3;
Link copied to clipboard
open fun getEncoded(): ByteString
Signed and encoded transaction bytes.
bytes encoded = 2;
Link copied to clipboard
open fun getError(): SigningError
Optional error
.TW.Common.Proto.SigningError error = 4;
Link copied to clipboard
open fun getErrorValue(): Int
Optional error
.TW.Common.Proto.SigningError error = 4;
Link copied to clipboard
open fun getTransaction(): Transaction
Resulting transaction. Note that the amount may be different than the requested amount to account for fees and available funds.
.TW.Decred.Proto.Transaction transaction = 1;
Link copied to clipboard
Transaction id
string transaction_id = 3;
Link copied to clipboard
open fun getTransactionIdBytes(): ByteString
Transaction id
string transaction_id = 3;
Link copied to clipboard
Resulting transaction. Note that the amount may be different than the requested amount to account for fees and available funds.
.TW.Decred.Proto.Transaction transaction = 1;
Link copied to clipboard
open fun mergeTransaction(value: Transaction): Decred.SigningOutput.Builder
Resulting transaction. Note that the amount may be different than the requested amount to account for fees and available funds.
.TW.Decred.Proto.Transaction transaction = 1;
Link copied to clipboard
open fun setEncoded(value: ByteString): Decred.SigningOutput.Builder
Signed and encoded transaction bytes.
bytes encoded = 2;
Link copied to clipboard
open fun setError(value: SigningError): Decred.SigningOutput.Builder
Optional error
.TW.Common.Proto.SigningError error = 4;
Link copied to clipboard
Optional error
.TW.Common.Proto.SigningError error = 4;
Link copied to clipboard
open fun setTransaction(builderForValue: Builder): Decred.SigningOutput.Builder
open fun setTransaction(value: Transaction): Decred.SigningOutput.Builder
Resulting transaction. Note that the amount may be different than the requested amount to account for fees and available funds.
.TW.Decred.Proto.Transaction transaction = 1;
Link copied to clipboard
Transaction id
string transaction_id = 3;
Link copied to clipboard
Transaction id
string transaction_id = 3;