class Bitcoin::Payments::Payment
github.com/bitcoin/bips/blob/master/bip-0070.mediawiki#Payment
Public Class Methods
parse_from_payload(payload)
click to toggle source
# File lib/bitcoin/payments/payment.pb.rb, line 15 def self.parse_from_payload(payload) decode(payload) end
Public Instance Methods
transactions()
click to toggle source
# File lib/bitcoin/payments/payment.pb.rb, line 19 def transactions @values[:transactions].map{|raw_tx|Bitcoin::Tx.parse_from_payload(raw_tx, strict: true)} end