Builder

class Builder
Transaction structure, used internally
Protobuf type TW.Binance.Proto.Transaction

Functions

Link copied to clipboard
open fun addAllMsgs(values: Iterable<out ByteString>): Binance.Transaction.Builder
array of size 1, containing the transaction message, which are one of the transaction type below
repeated bytes msgs = 1;
Link copied to clipboard
open fun addAllSignatures(values: Iterable<out ByteString>): Binance.Transaction.Builder
array of size 1, containing the standard signature structure of the transaction sender
repeated bytes signatures = 2;
Link copied to clipboard
open fun addMsgs(value: ByteString): Binance.Transaction.Builder
array of size 1, containing the transaction message, which are one of the transaction type below
repeated bytes msgs = 1;
Link copied to clipboard
open fun addSignatures(value: ByteString): Binance.Transaction.Builder
array of size 1, containing the standard signature structure of the transaction sender
repeated bytes signatures = 2;
Link copied to clipboard
reserved for future use
bytes data = 5;
Link copied to clipboard
a short sentence of remark for the transaction, only for `Transfer` transactions.
string memo = 3;
Link copied to clipboard
array of size 1, containing the transaction message, which are one of the transaction type below
repeated bytes msgs = 1;
Link copied to clipboard
array of size 1, containing the standard signature structure of the transaction sender
repeated bytes signatures = 2;
Link copied to clipboard
an identifier for tools triggering this transaction, set to zero if unwilling to disclose.
int64 source = 4;
Link copied to clipboard
open fun getData(): ByteString
reserved for future use
bytes data = 5;
Link copied to clipboard
open fun getMemo(): String
a short sentence of remark for the transaction, only for `Transfer` transactions.
string memo = 3;
Link copied to clipboard
open fun getMemoBytes(): ByteString
a short sentence of remark for the transaction, only for `Transfer` transactions.
string memo = 3;
Link copied to clipboard
open fun getMsgs(index: Int): ByteString
array of size 1, containing the transaction message, which are one of the transaction type below
repeated bytes msgs = 1;
Link copied to clipboard
open fun getMsgsCount(): Int
array of size 1, containing the transaction message, which are one of the transaction type below
repeated bytes msgs = 1;
Link copied to clipboard
open fun getMsgsList(): List<ByteString>
array of size 1, containing the transaction message, which are one of the transaction type below
repeated bytes msgs = 1;
Link copied to clipboard
open fun getSignatures(index: Int): ByteString
array of size 1, containing the standard signature structure of the transaction sender
repeated bytes signatures = 2;
Link copied to clipboard
array of size 1, containing the standard signature structure of the transaction sender
repeated bytes signatures = 2;
Link copied to clipboard
open fun getSignaturesList(): List<ByteString>
array of size 1, containing the standard signature structure of the transaction sender
repeated bytes signatures = 2;
Link copied to clipboard
open fun getSource(): Long
an identifier for tools triggering this transaction, set to zero if unwilling to disclose.
int64 source = 4;
Link copied to clipboard
open fun setData(value: ByteString): Binance.Transaction.Builder
reserved for future use
bytes data = 5;
Link copied to clipboard
a short sentence of remark for the transaction, only for `Transfer` transactions.
string memo = 3;
Link copied to clipboard
open fun setMemoBytes(value: ByteString): Binance.Transaction.Builder
a short sentence of remark for the transaction, only for `Transfer` transactions.
string memo = 3;
Link copied to clipboard
open fun setMsgs(index: Int, value: ByteString): Binance.Transaction.Builder
array of size 1, containing the transaction message, which are one of the transaction type below
repeated bytes msgs = 1;
Link copied to clipboard
open fun setSignatures(index: Int, value: ByteString): Binance.Transaction.Builder
array of size 1, containing the standard signature structure of the transaction sender
repeated bytes signatures = 2;
Link copied to clipboard
an identifier for tools triggering this transaction, set to zero if unwilling to disclose.
int64 source = 4;