struct

Blockfrost::Block

Inherits JSON::Serializable < Struct < Value < Object

Constructors

in_epoch_in_slot(epoch_number : Int32, slot_number : Int32) : Block
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Class methods

addresses(hash_or_number : Int32 | String, count : Int32 | Nil = nil, page : Int32 | Nil = nil)
Source
addresses(hash_or_number : Int32 | String, pages : Range)
Source
get(hash_or_number : Int32 | String)
Source
in_slot(slot_number : Int32)
Source
latest
Source
latest_tx_ids
Source
next(hash_or_number : Int32 | String, count : Int32 | Nil = nil, page : Int32 | Nil = nil)
next(hash_or_number : Int32 | String, pages : Range)
previous(hash_or_number : Int32 | String, count : Int32 | Nil = nil, page : Int32 | Nil = nil)
previous(hash_or_number : Int32 | String, pages : Range)
tx_ids(hash_or_number : Int32 | String, order : QueryOrder | String | Nil = nil, count : Int32 | Nil = nil, page : Int32 | Nil = nil)
Source
tx_ids(hash_or_number : Int32 | String, pages : Range, order : QueryOrder | String | Nil = nil)
Source

Instance methods

addresses
Source
block_vrf
Source
confirmations
Source
epoch
Source
epoch_slot
Source
fees
Source
hash

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.

Source
height
Source
next
next_block
Source
op_cert
Source
op_cert_counter
Source
output
Source
previous
previous_block
Source
size
Source
slot
Source
slot_leader
Source
time
Source
tx_count
Source
tx_ids
Source

Nested types