Skip to content

Block-Logic/solscan-api-ruby

Repository files navigation

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.

About

Ruby Client for the Solscan API

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages