Builder

class Builder
Input data necessary to create a signed transaction.
Protobuf type TW.Nano.Proto.SigningInput

Functions

Link copied to clipboard
Account balance (128-bit unsigned integer, as a string)
string balance = 6;
Link copied to clipboard
Hash of a block to receive from
bytes link_block = 3;
Link copied to clipboard
Link copied to clipboard
Recipient address to send coins to
string link_recipient = 4;
Link copied to clipboard
Optional parent block hash
bytes parent_block = 2;
Link copied to clipboard
The secret private key used for signing (32 bytes).
bytes private_key = 1;
Link copied to clipboard
Representative address
string representative = 5;
Link copied to clipboard
Work
string work = 7;
Link copied to clipboard
open fun getBalance(): String
Account balance (128-bit unsigned integer, as a string)
string balance = 6;
Link copied to clipboard
open fun getBalanceBytes(): ByteString
Account balance (128-bit unsigned integer, as a string)
string balance = 6;
Link copied to clipboard
open fun getLinkBlock(): ByteString
Hash of a block to receive from
bytes link_block = 3;
Link copied to clipboard
Recipient address to send coins to
string link_recipient = 4;
Link copied to clipboard
open fun getLinkRecipientBytes(): ByteString
Recipient address to send coins to
string link_recipient = 4;
Link copied to clipboard
open fun getParentBlock(): ByteString
Optional parent block hash
bytes parent_block = 2;
Link copied to clipboard
open fun getPrivateKey(): ByteString
The secret private key used for signing (32 bytes).
bytes private_key = 1;
Link copied to clipboard
Representative address
string representative = 5;
Link copied to clipboard
open fun getRepresentativeBytes(): ByteString
Representative address
string representative = 5;
Link copied to clipboard
open fun getWork(): String
Work
string work = 7;
Link copied to clipboard
open fun getWorkBytes(): ByteString
Work
string work = 7;
Link copied to clipboard
open fun hasLinkBlock(): Boolean
Hash of a block to receive from
bytes link_block = 3;
Link copied to clipboard
Recipient address to send coins to
string link_recipient = 4;
Link copied to clipboard
Account balance (128-bit unsigned integer, as a string)
string balance = 6;
Link copied to clipboard
open fun setBalanceBytes(value: ByteString): Nano.SigningInput.Builder
Account balance (128-bit unsigned integer, as a string)
string balance = 6;
Link copied to clipboard
open fun setLinkBlock(value: ByteString): Nano.SigningInput.Builder
Hash of a block to receive from
bytes link_block = 3;
Link copied to clipboard
Recipient address to send coins to
string link_recipient = 4;
Link copied to clipboard
Recipient address to send coins to
string link_recipient = 4;
Link copied to clipboard
open fun setParentBlock(value: ByteString): Nano.SigningInput.Builder
Optional parent block hash
bytes parent_block = 2;
Link copied to clipboard
open fun setPrivateKey(value: ByteString): Nano.SigningInput.Builder
The secret private key used for signing (32 bytes).
bytes private_key = 1;
Link copied to clipboard
Representative address
string representative = 5;
Link copied to clipboard
Representative address
string representative = 5;
Link copied to clipboard
Work
string work = 7;
Link copied to clipboard
open fun setWorkBytes(value: ByteString): Nano.SigningInput.Builder
Work
string work = 7;