No release in over a year
This gem allows to use solscan public API witihin ruby ecosystem.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.14
~> 13.0
~> 3.10
~> 1.25
~> 6.0
~> 3.14

Runtime

~> 2.1
~> 3.13
 Project Readme

specs Maintained Last Commit Tag Stars License: MIT

solscan-api-ruby

Ruby Client for the Solscan API. This gem provides a wrapper methods for Solscan API https://public-api.solscan.io/docs

Getting started

Requirements

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

Usage examples

Solscan API

method_wrapper = SolscanApiRuby::Methods::Public.new

response = method_wrapper.block_last

response.successfull?
response.status
response.headers
response.body

Tip

There is a limit of 50 records mentioned in Solscan docs for some endpoints, but you can try get a bit more than this.