Builder

class Builder
Create a claimable balance (2-phase transfer)
Protobuf type TW.Stellar.Proto.OperationCreateClaimableBalance

Functions

Link copied to clipboard
One or more claimants
repeated .TW.Stellar.Proto.Claimant claimants = 3;
Link copied to clipboard
open fun addClaimants(index: Int, builderForValue: Builder): Stellar.OperationCreateClaimableBalance.Builder
One or more claimants
repeated .TW.Stellar.Proto.Claimant claimants = 3;
Link copied to clipboard
Amount (*10^7)
int64 amount = 2;
Link copied to clipboard
Optional, can be left empty for native asset
.TW.Stellar.Proto.Asset asset = 1;
Link copied to clipboard
One or more claimants
repeated .TW.Stellar.Proto.Claimant claimants = 3;
Link copied to clipboard
open fun getAmount(): Long
Amount (*10^7)
int64 amount = 2;
Link copied to clipboard
open fun getAsset(): Asset
Optional, can be left empty for native asset
.TW.Stellar.Proto.Asset asset = 1;
Link copied to clipboard
open fun getClaimants(index: Int): Claimant
One or more claimants
repeated .TW.Stellar.Proto.Claimant claimants = 3;
Link copied to clipboard
One or more claimants
repeated .TW.Stellar.Proto.Claimant claimants = 3;
Link copied to clipboard
open fun getClaimantsList(): List<Claimant>
One or more claimants
repeated .TW.Stellar.Proto.Claimant claimants = 3;
Link copied to clipboard
open fun hasAsset(): Boolean
Optional, can be left empty for native asset
.TW.Stellar.Proto.Asset asset = 1;
Link copied to clipboard
Optional, can be left empty for native asset
.TW.Stellar.Proto.Asset asset = 1;
Link copied to clipboard
One or more claimants
repeated .TW.Stellar.Proto.Claimant claimants = 3;
Link copied to clipboard
Amount (*10^7)
int64 amount = 2;
Link copied to clipboard
open fun setAsset(builderForValue: Builder): Stellar.OperationCreateClaimableBalance.Builder
Optional, can be left empty for native asset
.TW.Stellar.Proto.Asset asset = 1;
Link copied to clipboard
open fun setClaimants(index: Int, builderForValue: Builder): Stellar.OperationCreateClaimableBalance.Builder
One or more claimants
repeated .TW.Stellar.Proto.Claimant claimants = 3;