struct Blockfrost::Pool

Included Modules

Defined in:

blockfrost/cardano/pool.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

[View source]

Class Method Detail

def self.all_ids(order : QueryOrder | String? = nil, count : Int32? = nil, page : Int32? = nil) #

[View source]
def self.all_ids(pages : Range, order : QueryOrder | String? = nil) #

[View source]
def self.all_ids_with_stake(order : QueryOrder | String? = nil, count : Int32? = nil, page : Int32? = nil) #

[View source]
def self.all_ids_with_stake(pages : Range, order : QueryOrder | String? = nil) #

[View source]
def self.block_hashes(pool_id : String, order : QueryOrder | String? = nil, count : Int32? = nil, page : Int32? = nil) #

[View source]
def self.block_hashes(pool_id : String, pages : Range, order : QueryOrder | String? = nil) #

[View source]
def self.delegators(pool_id : String, order : QueryOrder | String? = nil, count : Int32? = nil, page : Int32? = nil) #

[View source]
def self.delegators(pool_id : String, pages : Range, order : QueryOrder | String? = nil) #

[View source]
def self.get(pool_id : String) #

[View source]
def self.history(pool_id : String, order : QueryOrder | String? = nil, count : Int32? = nil, page : Int32? = nil) #

[View source]
def self.history(pool_id : String, pages : Range, order : QueryOrder | String? = nil) #

[View source]
def self.metadata(pool_id : String) #

[View source]
def self.relays(pool_id : String) #

[View source]
def self.retired_ids(order : QueryOrder | String? = nil, count : Int32? = nil, page : Int32? = nil) #

[View source]
def self.retired_ids(pages : Range, order : QueryOrder | String? = nil) #

[View source]
def self.retiring_ids(order : QueryOrder | String? = nil, count : Int32? = nil, page : Int32? = nil) #

[View source]
def self.retiring_ids(pages : Range, order : QueryOrder | String? = nil) #

[View source]
def self.updates(pool_id : String, order : QueryOrder | String? = nil, count : Int32? = nil, page : Int32? = nil) #

[View source]
def self.updates(pool_id : String, pages : Range, order : QueryOrder | String? = nil) #

[View source]

Instance Method Detail

def active_size : Float64 #

[View source]
def active_stake : Int128 #

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

[View source]
def blocks_epoch : Int32 #

[View source]
def blocks_minted : Int32 #

[View source]
def declared_pledge : Int128 #

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

[View source]
def fixed_cost : Int128 #

[View source]
def hex : String #

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

[View source]
def live_delegators : Int32 #

[View source]
def live_pledge : Int128 #

[View source]
def live_saturation : Float64 #

[View source]
def live_size : Float64 #

[View source]
def live_stake : Int128 #

[View source]
def margin_cost : Float64 #

[View source]
def metadata #

[View source]
def owners : Array(String) #

[View source]
def pool_id : String #

[View source]
def registration : Array(String) #

[View source]
def relays #

[View source]
def retirement : Array(String) #

[View source]
def reward_account : String #

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

[View source]
def vrf_key : String #

[View source]