Builder

class Builder
Generic action. Using one of the more specific actions (e.g. transfers, see below) is recommended.
Protobuf type TW.MultiversX.Proto.GenericAction

Functions

Link copied to clipboard
Accounts involved
.TW.MultiversX.Proto.Accounts accounts = 1;
Link copied to clipboard
additional data
string data = 3;
Link copied to clipboard
Currently, the "options" field should be ignored (not set) by applications using TW Core.
In the future, TW Core will handle specific transaction options
when building and signing transactions.
uint32 options = 5;
Link copied to clipboard
amount
string value = 2;
Link copied to clipboard
transaction version
uint32 version = 4;
Link copied to clipboard
open fun getAccounts(): Accounts
Accounts involved
.TW.MultiversX.Proto.Accounts accounts = 1;
Link copied to clipboard
open fun getData(): String
additional data
string data = 3;
Link copied to clipboard
open fun getDataBytes(): ByteString
additional data
string data = 3;
Link copied to clipboard
open fun getOptions(): Int
Currently, the "options" field should be ignored (not set) by applications using TW Core.
In the future, TW Core will handle specific transaction options
when building and signing transactions.
uint32 options = 5;
Link copied to clipboard
open fun getValue(): String
amount
string value = 2;
Link copied to clipboard
open fun getValueBytes(): ByteString
amount
string value = 2;
Link copied to clipboard
open fun getVersion(): Int
transaction version
uint32 version = 4;
Link copied to clipboard
open fun hasAccounts(): Boolean
Accounts involved
.TW.MultiversX.Proto.Accounts accounts = 1;
Link copied to clipboard
Accounts involved
.TW.MultiversX.Proto.Accounts accounts = 1;
Link copied to clipboard
open fun setAccounts(builderForValue: Builder): MultiversX.GenericAction.Builder
Accounts involved
.TW.MultiversX.Proto.Accounts accounts = 1;
Link copied to clipboard
additional data
string data = 3;
Link copied to clipboard
open fun setDataBytes(value: ByteString): MultiversX.GenericAction.Builder
additional data
string data = 3;
Link copied to clipboard
Currently, the "options" field should be ignored (not set) by applications using TW Core.
In the future, TW Core will handle specific transaction options
when building and signing transactions.
uint32 options = 5;
Link copied to clipboard
amount
string value = 2;
Link copied to clipboard
open fun setValueBytes(value: ByteString): MultiversX.GenericAction.Builder
amount
string value = 2;
Link copied to clipboard
transaction version
uint32 version = 4;