Builder

class Builder
/ Transaction pre-signing output
Protobuf type TW.Bitcoin.Proto.PreSigningOutput

Functions

Link copied to clipboard
open fun addAllHashPublicKeys(values: Iterable<out HashPublicKey>): Bitcoin.PreSigningOutput.Builder
/ hash, public key list
repeated .TW.Bitcoin.Proto.HashPublicKey hash_public_keys = 1;
Link copied to clipboard
open fun addHashPublicKeys(builderForValue: Builder): Bitcoin.PreSigningOutput.Builder
open fun addHashPublicKeys(value: HashPublicKey): Bitcoin.PreSigningOutput.Builder
open fun addHashPublicKeys(index: Int, builderForValue: Builder): Bitcoin.PreSigningOutput.Builder
open fun addHashPublicKeys(index: Int, value: HashPublicKey): Bitcoin.PreSigningOutput.Builder
/ hash, public key list
repeated .TW.Bitcoin.Proto.HashPublicKey hash_public_keys = 1;
Link copied to clipboard
/ error code, 0 is ok, other codes will be treated as errors
.TW.Common.Proto.SigningError error = 2;
Link copied to clipboard
/ error description
string error_message = 3;
Link copied to clipboard
/ hash, public key list
repeated .TW.Bitcoin.Proto.HashPublicKey hash_public_keys = 1;
Link copied to clipboard
open fun getError(): SigningError
/ error code, 0 is ok, other codes will be treated as errors
.TW.Common.Proto.SigningError error = 2;
Link copied to clipboard
/ error description
string error_message = 3;
Link copied to clipboard
open fun getErrorMessageBytes(): ByteString
/ error description
string error_message = 3;
Link copied to clipboard
open fun getErrorValue(): Int
/ error code, 0 is ok, other codes will be treated as errors
.TW.Common.Proto.SigningError error = 2;
Link copied to clipboard
open fun getHashPublicKeys(index: Int): HashPublicKey
/ hash, public key list
repeated .TW.Bitcoin.Proto.HashPublicKey hash_public_keys = 1;
Link copied to clipboard
/ hash, public key list
repeated .TW.Bitcoin.Proto.HashPublicKey hash_public_keys = 1;
Link copied to clipboard
open fun getHashPublicKeysList(): List<HashPublicKey>
/ hash, public key list
repeated .TW.Bitcoin.Proto.HashPublicKey hash_public_keys = 1;
Link copied to clipboard
/ hash, public key list
repeated .TW.Bitcoin.Proto.HashPublicKey hash_public_keys = 1;
Link copied to clipboard
open fun setError(value: SigningError): Bitcoin.PreSigningOutput.Builder
/ error code, 0 is ok, other codes will be treated as errors
.TW.Common.Proto.SigningError error = 2;
Link copied to clipboard
/ error description
string error_message = 3;
Link copied to clipboard
/ error description
string error_message = 3;
Link copied to clipboard
/ error code, 0 is ok, other codes will be treated as errors
.TW.Common.Proto.SigningError error = 2;
Link copied to clipboard
open fun setHashPublicKeys(index: Int, builderForValue: Builder): Bitcoin.PreSigningOutput.Builder
open fun setHashPublicKeys(index: Int, value: HashPublicKey): Bitcoin.PreSigningOutput.Builder
/ hash, public key list
repeated .TW.Bitcoin.Proto.HashPublicKey hash_public_keys = 1;