Module: Nis::Endpoint::Block::At

Included in:
Nis
Defined in:
lib/nis/endpoint/block/at.rb

Instance Method Summary collapse

Instance Method Details

#block_at_public(block_height:) ⇒ Nis::Struct::Block

Parameters:

  • block_height (Integer)

Returns:

See Also:



6
7
8
# File 'lib/nis/endpoint/block/at.rb', line 6

def block_at_public(block_height:)
  Nis::Struct::Block.build request!(:post, '/block/at/public', height: block_height)
end