module SolanaRpcRuby

Namespace for classes and modules that handle connection with solana JSON RPC API.

Constants

VERSION

Attributes

cluster[RW]

Default cluster address that will be used if not passed. @return [String] cluster address.

json_rpc_version[RW]

Default json rpc version that will be used. @return [String] json rpc version.

ws_cluster[RW]

Default websocket cluster address that will be used if not passed. @return [String] websocket cluster address.

Public Class Methods

config() { |self| ... } click to toggle source

Config set from initializer. @return [String] encoding.

# File lib/solana_rpc_ruby.rb, line 25
def config
  yield self
end