Builder

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

Functions

Link copied to clipboard
Block hash
bytes block_hash = 2;
Link copied to clipboard
JSON representation of the block
string json = 3;
Link copied to clipboard
Signature
bytes signature = 1;
Link copied to clipboard
open fun getBlockHash(): ByteString
Block hash
bytes block_hash = 2;
Link copied to clipboard
open fun getJson(): String
JSON representation of the block
string json = 3;
Link copied to clipboard
open fun getJsonBytes(): ByteString
JSON representation of the block
string json = 3;
Link copied to clipboard
open fun getSignature(): ByteString
Signature
bytes signature = 1;
Link copied to clipboard
open fun setBlockHash(value: ByteString): Nano.SigningOutput.Builder
Block hash
bytes block_hash = 2;
Link copied to clipboard
JSON representation of the block
string json = 3;
Link copied to clipboard
open fun setJsonBytes(value: ByteString): Nano.SigningOutput.Builder
JSON representation of the block
string json = 3;
Link copied to clipboard
open fun setSignature(value: ByteString): Nano.SigningOutput.Builder
Signature
bytes signature = 1;