|Constructor and Description|
Creates a new CreatePassiveSellOffer builder.
|Modifier and Type||Method and Description|
Builds an operation
Sets the source account for this operation.
selling- The asset being sold in this operation
buying- The asset being bought in this operation
amount- Amount of selling being sold.
price- Price of 1 unit of selling in terms of buying.
java.lang.ArithmeticException- when amount has more than 7 decimal places.
public CreatePassiveSellOfferOperation.Builder setSourceAccount(KeyPair sourceAccount)
sourceAccount- The operation's source account.
public CreatePassiveSellOfferOperation build()