Builder

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

Functions

Link copied to clipboard
The payload part, supplied in the input or assembled from input parameters
bytes data = 5;
Link copied to clipboard
Signed and encoded transaction bytes.
bytes encoded = 1;
Link copied to clipboard
error code, 0 is ok, other codes will be treated as errors
.TW.Common.Proto.SigningError error = 6;
Link copied to clipboard
error code description
string error_message = 7;
Link copied to clipboard
bytes r = 3;
Link copied to clipboard
bytes s = 4;
Link copied to clipboard
The V, R, S components of the resulting signature, (each uint256, serialized little endian)
bytes v = 2;
Link copied to clipboard
open fun getData(): ByteString
The payload part, supplied in the input or assembled from input parameters
bytes data = 5;
Link copied to clipboard
open fun getEncoded(): ByteString
Signed and encoded transaction bytes.
bytes encoded = 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 = 6;
Link copied to clipboard
error code description
string error_message = 7;
Link copied to clipboard
open fun getErrorMessageBytes(): ByteString
error code description
string error_message = 7;
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 = 6;
Link copied to clipboard
open fun getR(): ByteString
bytes r = 3;
Link copied to clipboard
open fun getS(): ByteString
bytes s = 4;
Link copied to clipboard
open fun getV(): ByteString
The V, R, S components of the resulting signature, (each uint256, serialized little endian)
bytes v = 2;
Link copied to clipboard
open fun setData(value: ByteString): Ethereum.SigningOutput.Builder
The payload part, supplied in the input or assembled from input parameters
bytes data = 5;
Link copied to clipboard
open fun setEncoded(value: ByteString): Ethereum.SigningOutput.Builder
Signed and encoded transaction bytes.
bytes encoded = 1;
Link copied to clipboard
open fun setError(value: SigningError): Ethereum.SigningOutput.Builder
error code, 0 is ok, other codes will be treated as errors
.TW.Common.Proto.SigningError error = 6;
Link copied to clipboard
error code description
string error_message = 7;
Link copied to clipboard
error code description
string error_message = 7;
Link copied to clipboard
error code, 0 is ok, other codes will be treated as errors
.TW.Common.Proto.SigningError error = 6;
Link copied to clipboard
open fun setR(value: ByteString): Ethereum.SigningOutput.Builder
bytes r = 3;
Link copied to clipboard
open fun setS(value: ByteString): Ethereum.SigningOutput.Builder
bytes s = 4;
Link copied to clipboard
open fun setV(value: ByteString): Ethereum.SigningOutput.Builder
The V, R, S components of the resulting signature, (each uint256, serialized little endian)
bytes v = 2;