Ruby Client for the Solscan API. This gem provides a wrapper methods for Solscan API https://public-api.solscan.io/docs
This gem requires Ruby 2.6+. It MIGHT work with lower versions, but was not tested with them. Add the following line to your Gemfile:
gem 'solscan_api_ruby'
Then run bundle install
method_wrapper = SolscanApiRuby::Methods::Public.new
response = method_wrapper.block_last
response.successfull?
response.status
response.headers
response.body
There is a limit of 50 records mentioned in Solscan docs for some endpoints, but you can try get a bit more than this.