Builder

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

Functions

Link copied to clipboard
Asset details and amount
.TW.EOS.Proto.Asset asset = 8;
Link copied to clipboard
Chain id (uint256, serialized little endian)
bytes chain_id = 1;
Link copied to clipboard
Currency (e.g. "eosio.token")
string currency = 4;
Link copied to clipboard
Memo attached to the transaction
string memo = 7;
Link copied to clipboard
Sender's secret private key used for signing (32 bytes).
bytes private_key = 9;
Link copied to clipboard
Type of the private key
.TW.EOS.Proto.KeyType private_key_type = 10;
Link copied to clipboard
Recipient's username
string recipient = 6;
Link copied to clipboard
Reference Block Id (uint256, serialized little endian)
bytes reference_block_id = 2;
Link copied to clipboard
Timestamp on the reference block
sfixed32 reference_block_time = 3;
Link copied to clipboard
Sender's username
string sender = 5;
Link copied to clipboard
open fun getAsset(): Asset
Asset details and amount
.TW.EOS.Proto.Asset asset = 8;
Link copied to clipboard
open fun getChainId(): ByteString
Chain id (uint256, serialized little endian)
bytes chain_id = 1;
Link copied to clipboard
open fun getCurrency(): String
Currency (e.g. "eosio.token")
string currency = 4;
Link copied to clipboard
open fun getCurrencyBytes(): ByteString
Currency (e.g. "eosio.token")
string currency = 4;
Link copied to clipboard
open fun getMemo(): String
Memo attached to the transaction
string memo = 7;
Link copied to clipboard
open fun getMemoBytes(): ByteString
Memo attached to the transaction
string memo = 7;
Link copied to clipboard
open fun getPrivateKey(): ByteString
Sender's secret private key used for signing (32 bytes).
bytes private_key = 9;
Link copied to clipboard
open fun getPrivateKeyType(): KeyType
Type of the private key
.TW.EOS.Proto.KeyType private_key_type = 10;
Link copied to clipboard
Type of the private key
.TW.EOS.Proto.KeyType private_key_type = 10;
Link copied to clipboard
open fun getRecipient(): String
Recipient's username
string recipient = 6;
Link copied to clipboard
open fun getRecipientBytes(): ByteString
Recipient's username
string recipient = 6;
Link copied to clipboard
open fun getReferenceBlockId(): ByteString
Reference Block Id (uint256, serialized little endian)
bytes reference_block_id = 2;
Link copied to clipboard
Timestamp on the reference block
sfixed32 reference_block_time = 3;
Link copied to clipboard
open fun getSender(): String
Sender's username
string sender = 5;
Link copied to clipboard
open fun getSenderBytes(): ByteString
Sender's username
string sender = 5;
Link copied to clipboard
open fun hasAsset(): Boolean
Asset details and amount
.TW.EOS.Proto.Asset asset = 8;
Link copied to clipboard
open fun mergeAsset(value: Asset): EOS.SigningInput.Builder
Asset details and amount
.TW.EOS.Proto.Asset asset = 8;
Link copied to clipboard
open fun setAsset(builderForValue: Builder): EOS.SigningInput.Builder
open fun setAsset(value: Asset): EOS.SigningInput.Builder
Asset details and amount
.TW.EOS.Proto.Asset asset = 8;
Link copied to clipboard
open fun setChainId(value: ByteString): EOS.SigningInput.Builder
Chain id (uint256, serialized little endian)
bytes chain_id = 1;
Link copied to clipboard
Currency (e.g. "eosio.token")
string currency = 4;
Link copied to clipboard
open fun setCurrencyBytes(value: ByteString): EOS.SigningInput.Builder
Currency (e.g. "eosio.token")
string currency = 4;
Link copied to clipboard
Memo attached to the transaction
string memo = 7;
Link copied to clipboard
open fun setMemoBytes(value: ByteString): EOS.SigningInput.Builder
Memo attached to the transaction
string memo = 7;
Link copied to clipboard
open fun setPrivateKey(value: ByteString): EOS.SigningInput.Builder
Sender's secret private key used for signing (32 bytes).
bytes private_key = 9;
Link copied to clipboard
Type of the private key
.TW.EOS.Proto.KeyType private_key_type = 10;
Link copied to clipboard
Type of the private key
.TW.EOS.Proto.KeyType private_key_type = 10;
Link copied to clipboard
Recipient's username
string recipient = 6;
Link copied to clipboard
open fun setRecipientBytes(value: ByteString): EOS.SigningInput.Builder
Recipient's username
string recipient = 6;
Link copied to clipboard
open fun setReferenceBlockId(value: ByteString): EOS.SigningInput.Builder
Reference Block Id (uint256, serialized little endian)
bytes reference_block_id = 2;
Link copied to clipboard
Timestamp on the reference block
sfixed32 reference_block_time = 3;
Link copied to clipboard
Sender's username
string sender = 5;
Link copied to clipboard
open fun setSenderBytes(value: ByteString): EOS.SigningInput.Builder
Sender's username
string sender = 5;