public CreateAccountOperation(KeyPair destination, string startingBalance) { Destination = destination ?? throw new ArgumentNullException(nameof(destination), "destination cannot be null"); StartingBalance = startingBalance ?? throw new ArgumentNullException(nameof(startingBalance), "startingBalance cannot be null"); }
public Builder(KeyPair destination, string startingBalance) { this.destination = destination; this.startingBalance = startingBalance; }
public Builder SetSourceAccount(KeyPair account) { _SourceAccount = account; return this; }
public Builder(CreateAccountOp createAccountOp) { destination = KeyPair.FromXdrPublicKey(createAccountOp.Destination.InnerValue); startingBalance = FromXdrAmount(createAccountOp.StartingBalance.InnerValue); }