struct Blockfrost::Block
- Blockfrost::Block
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
blockfrost/cardano/block.crConstructors
Class Method Summary
- .addresses(hash_or_number : Int32 | String, count : Int32? = nil, page : Int32? = nil)
- .addresses(hash_or_number : Int32 | String, pages : Range)
- .get(hash_or_number : Int32 | String)
- .in_slot(slot_number : Int32)
- .latest
- .latest_tx_ids(**args)
- .next(hash_or_number : Int32 | String, count : Int32? = nil, page : Int32? = nil)
- .next(hash_or_number : Int32 | String, pages : Range)
- .previous(hash_or_number : Int32 | String, count : Int32? = nil, page : Int32? = nil)
- .previous(hash_or_number : Int32 | String, pages : Range)
- .tx_ids(hash_or_number : Int32 | String, order : QueryOrder | String? = nil, count : Int32? = nil, page : Int32? = nil)
- .tx_ids(hash_or_number : Int32 | String, pages : Range, order : QueryOrder | String? = nil)
Instance Method Summary
- #addresses(**args)
- #block_vrf : String?
- #confirmations : Int32
- #epoch : Int32?
- #epoch_slot : Int32?
- #fees : Int128?
-
#hash : String
Generates an
UInt64
hash value for this object. - #height : Int32?
- #next(**args)
- #next_block : String?
- #op_cert : String?
- #op_cert_counter : Int128?
- #output : Int128?
- #previous(**args)
- #previous_block : String?
- #size : Int32
- #slot : Int32?
- #slot_leader : String
- #time : Time
- #tx_count : Int32
- #tx_ids(**args)
Constructor Detail
Class Method Detail
def self.tx_ids(hash_or_number : Int32 | String, order : QueryOrder | String? = nil, count : Int32? = nil, page : Int32? = nil)
#
def self.tx_ids(hash_or_number : Int32 | String, pages : Range, order : QueryOrder | String? = nil)
#
Instance Method Detail
def hash : String
#
Description copied from class Object
Generates an UInt64
hash value for this object.
This method must have the property that a == b
implies a.hash == b.hash
.
The hash value is used along with ==
by the Hash
class to determine if two objects
reference the same hash key.
Subclasses must not override this method. Instead, they must define hash(hasher)
,
though usually the macro def_hash
can be used to generate this method.