Project

skycoin

0.0
No commit activity in last 3 years
No release in over 3 years
Libskycoin library for Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 2.0
~> 10.0
 Project Readme

Skyapi, a Wrapper for Skycoin Api

This wrapper is Auto generated by openapi-generator directly from Skycoin Api code for version v0.25.1.

For further details of usage of Skyapi wrapper for Skycoin Api see Autogenerated documentation

Specific Node Address

For use a specific node of Skycoin, you just need to create a instance of ApiClient passing the node address:

# Load the gem
require 'sky_api'

config =
api_instance = SkyApi::DefaultApi.new
# Set prefered host
api_instance.api_client.config.host = 'some_host'

begin
  #Returns the total number of unique address that have coins.
  result = api_instance.address_count
  p result
rescue SkyApi::ApiError => e
  puts "Exception when calling DefaultApi->address_count: #{e}"
end

Then in skyapi you can use all methods related to Api Client.