struct Blockfrost::Epoch

Included Modules

Defined in:

blockfrost/cardano/epoch.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.block_hashes(epoch : Int32, count : Int32 | Nil = nil, page : Int32 | Nil = nil) #

[View source]
def self.block_hashes(epoch : Int32, pages : Range) #

[View source]
def self.block_hashes_by_pool(epoch : Int32, pool_id : String, count : Int32 | Nil = nil, page : Int32 | Nil = nil) #

[View source]
def self.block_hashes_by_pool(epoch : Int32, pool_id : String, pages : Range) #

[View source]
def self.get(epoch : Int32) #

[View source]
def self.latest #

[View source]
def self.next(epoch : Int32, count : Int32 | Nil = nil, page : Int32 | Nil = nil) #

def self.next(epoch : Int32, pages : Range) #

def self.parameters(epoch : Int32) #

[View source]
def self.previous(epoch : Int32, count : Int32 | Nil = nil, page : Int32 | Nil = nil) #

def self.previous(epoch : Int32, pages : Range) #

def self.stakes(epoch : Int32, count : Int32 | Nil = nil, page : Int32 | Nil = nil) #

[View source]
def self.stakes(epoch : Int32, pages : Range) #

[View source]
def self.stakes_by_pool(epoch : Int32, pool_id : String, count : Int32 | Nil = nil, page : Int32 | Nil = nil) #

[View source]
def self.stakes_by_pool(epoch : Int32, pool_id : String, pages : Range) #

[View source]

Instance Method Detail

def active_stake : Int128 #

[View source]
def block_count : Int32 #

[View source]
def block_hashes(**args) #

[View source]
def block_hashes_by_pool(pool_id : String, **args) #

[View source]
def end_time : Time #

[View source]
def epoch : Int32 #

[View source]
def fees : Int128 #

[View source]
def first_block_time : Time #

[View source]
def last_block_time : Time #

[View source]
def next(**args) #

def output : Int128 #

[View source]
def previous(**args) #

def stakes(**args) #

[View source]
def stakes_by_pool(pool_id : String, **args) #

[View source]
def start_time : Time #

[View source]
def tx_count : Int32 #

[View source]