Builder

class Builder
Values for an Asset object.
Protobuf type TW.EOS.Proto.Asset

Functions

Link copied to clipboard
Total amount
int64 amount = 1;
Link copied to clipboard
Number of decimals defined
uint32 decimals = 2;
Link copied to clipboard
Asset symbol
string symbol = 3;
Link copied to clipboard
open fun getAmount(): Long
Total amount
int64 amount = 1;
Link copied to clipboard
open fun getDecimals(): Int
Number of decimals defined
uint32 decimals = 2;
Link copied to clipboard
open fun getSymbol(): String
Asset symbol
string symbol = 3;
Link copied to clipboard
open fun getSymbolBytes(): ByteString
Asset symbol
string symbol = 3;
Link copied to clipboard
open fun setAmount(value: Long): EOS.Asset.Builder
Total amount
int64 amount = 1;
Link copied to clipboard
Number of decimals defined
uint32 decimals = 2;
Link copied to clipboard
Asset symbol
string symbol = 3;
Link copied to clipboard
open fun setSymbolBytes(value: ByteString): EOS.Asset.Builder
Asset symbol
string symbol = 3;