struct

Blockfrost::Health

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Class methods

clock

This endpoint provides the current time. Your application might use this to verify if the client clock is not out of sync.

Blockfrost::Health.clock.server_time
# => 2020-10-22 21:09:18.947000000 UTC
Source
get

Return backend status as a boolean. Your application should handle situations when backend for the given chain is unavailable.

Blockfrost::Health.get.is_healthy
# => true
Source
is_healthy?

Alias for .get.is_healthy.

Blockfrost::Health.is_healthy?
# => true
Source
server_time

Alias for .clock.server_time.

Blockfrost::Health.server_time
# => 2020-10-22 21:09:18.947000000 UTC
Source

Instance methods

is_healthy
Source

Nested types