Builder

class Builder
Fee incl. gas
Protobuf type TW.Cosmos.Proto.Fee

Functions

Link copied to clipboard
open fun addAllAmounts(values: Iterable<out Amount>): Cosmos.Fee.Builder
Fee amount(s)
repeated .TW.Cosmos.Proto.Amount amounts = 1;
Link copied to clipboard
open fun addAmounts(builderForValue: Builder): Cosmos.Fee.Builder
open fun addAmounts(value: Amount): Cosmos.Fee.Builder
open fun addAmounts(index: Int, builderForValue: Builder): Cosmos.Fee.Builder
open fun addAmounts(index: Int, value: Amount): Cosmos.Fee.Builder
Fee amount(s)
repeated .TW.Cosmos.Proto.Amount amounts = 1;
Link copied to clipboard
Fee amount(s)
repeated .TW.Cosmos.Proto.Amount amounts = 1;
Link copied to clipboard
Gas price
uint64 gas = 2;
Link copied to clipboard
open fun getAmounts(index: Int): Amount
Fee amount(s)
repeated .TW.Cosmos.Proto.Amount amounts = 1;
Link copied to clipboard
open fun getAmountsCount(): Int
Fee amount(s)
repeated .TW.Cosmos.Proto.Amount amounts = 1;
Link copied to clipboard
open fun getAmountsList(): List<Amount>
Fee amount(s)
repeated .TW.Cosmos.Proto.Amount amounts = 1;
Link copied to clipboard
open fun getGas(): Long
Gas price
uint64 gas = 2;
Link copied to clipboard
Fee amount(s)
repeated .TW.Cosmos.Proto.Amount amounts = 1;
Link copied to clipboard
open fun setAmounts(index: Int, builderForValue: Builder): Cosmos.Fee.Builder
open fun setAmounts(index: Int, value: Amount): Cosmos.Fee.Builder
Fee amount(s)
repeated .TW.Cosmos.Proto.Amount amounts = 1;
Link copied to clipboard
open fun setGas(value: Long): Cosmos.Fee.Builder
Gas price
uint64 gas = 2;