class CardanoExplorer::Transaction

Public Class Methods

latest() click to toggle source
# File lib/cardano_explorer/transaction.rb, line 4
def self.latest
  get('last').parsed_response['Right'].map{ |data| new data['cteId'] }
end

Private Class Methods

endpoint() click to toggle source
# File lib/cardano_explorer/transaction.rb, line 10
def self.endpoint
  'api/txs'
end