Class: Chain::UnspentOutput::ClientModule

Inherits:
ClientModule show all
Defined in:
lib/chain/unspent_output.rb

Instance Attribute Summary

Attributes inherited from ClientModule

#client

Instance Method Summary collapse

Methods inherited from ClientModule

#initialize

Constructor Details

This class inherits a constructor from Chain::ClientModule

Instance Method Details

#query(opts = {}) ⇒ Query

Parameters:

  • opts (Hash) (defaults to: {})

    Filtering information

Options Hash (opts):

  • filter (String)
  • filter_params (Array<String|Integer>)

    Parameter values for filter string (if needed).

  • timestamp (Integer)

    A millisecond Unix timestamp. By using this parameter, you can perform queries that reflect the state of the blockchain at different points in time.

Returns:



81
82
83
# File 'lib/chain/unspent_output.rb', line 81

def query(opts = {})
  Query.new(client, opts)
end