base/lib/stellar/operation.rb
def claim_claimable_balance(balance_id:, source_account: nil)
        op = ClaimClaimableBalanceOp.new(balance_id: balance_id)

        make(source_account: source_account, body: [:claim_claimable_balance, op])
      end
# Helper method to create a valid CreateClaimableBalanceOp, ready to be used
# within a transactions `operations` array.
#
# @see Stellar::DSL::Claimant
# @see https://github.com/astroband/ruby-stellar-sdk/tree/master/base/examples/claimable_balances.rb
#
# @param source_account [KeyPair, nil] the source account for the operation
# @param balance_id [ClaimableBalanceID] unique ID of claimable balance
#
# @return [Operation] the built operation
Helper method to create a valid CreateClaimableBalanceOp, ready to be used
within a transactions `operations` array.
Helper method to create a valid CreateClaimableBalanceOp ready to be used within a transactions ` operations ` array .
def claim_claimable_balance(balance_id:, source_account: nil)
        op = ClaimClaimableBalanceOp.new(balance_id: balance_id)
        make(source_account: source_account, body: [:claim_claimable_balance, op])
      end
def claim_claimable_balance ( balance_id : , source_account : nil ) op = ClaimClaimableBalanceOp . new ( balance_id : balance_id ) make ( source_account : source_account , body : [ :claim_claimable_balance , op ] ) end
Helper method to create a valid CreateClaimableBalanceOp, ready to be used
within a transactions `operations` array.
Helper method to create a valid CreateClaimableBalanceOp ready to be used within a transactions ` operations ` array .
the built operation
the built operation
Operation
balance_id
unique ID of claimable balance
unique ID of claimable balance
source_account
the source account for the operation
the source account for the operation
see
None
see
None