Method: Stellar::Operation.set_trust_line_flags
- Defined in:
- lib/stellar/operation.rb
.set_trust_line_flags(asset:, trustor:, flags: {}, source_account: nil) ⇒ Stellar::Operation
Set Trustline Flags operation builder
154 155 156 157 158 159 160 161 162 |
# File 'lib/stellar/operation.rb', line 154 def set_trust_line_flags(asset:, trustor:, flags: {}, source_account: nil) op = Stellar::SetTrustLineFlagsOp.new( trustor: KeyPair(trustor).account_id, asset: Asset(asset), attributes: TrustLineFlags.set_clear_masks(flags) ) make(source_account: source_account, body: [:set_trust_line_flags, op]) end |