Builder

class Builder
Collection of tokens with amount
Protobuf type TW.Cardano.Proto.TokenBundle

Functions

Link copied to clipboard
open fun addAllToken(values: Iterable<out TokenAmount>): Cardano.TokenBundle.Builder
repeated .TW.Cardano.Proto.TokenAmount token = 1;
Link copied to clipboard
open fun addToken(builderForValue: Builder): Cardano.TokenBundle.Builder
open fun addToken(value: TokenAmount): Cardano.TokenBundle.Builder
open fun addToken(index: Int, builderForValue: Builder): Cardano.TokenBundle.Builder
open fun addToken(index: Int, value: TokenAmount): Cardano.TokenBundle.Builder
repeated .TW.Cardano.Proto.TokenAmount token = 1;
Link copied to clipboard
repeated .TW.Cardano.Proto.TokenAmount token = 1;
Link copied to clipboard
open fun getToken(index: Int): TokenAmount
repeated .TW.Cardano.Proto.TokenAmount token = 1;
Link copied to clipboard
open fun getTokenCount(): Int
repeated .TW.Cardano.Proto.TokenAmount token = 1;
Link copied to clipboard
open fun getTokenList(): List<TokenAmount>
repeated .TW.Cardano.Proto.TokenAmount token = 1;
Link copied to clipboard
repeated .TW.Cardano.Proto.TokenAmount token = 1;
Link copied to clipboard
open fun setToken(index: Int, builderForValue: Builder): Cardano.TokenBundle.Builder
open fun setToken(index: Int, value: TokenAmount): Cardano.TokenBundle.Builder
repeated .TW.Cardano.Proto.TokenAmount token = 1;