Class: QuicknodeSdk::Rpc

Inherits:
NativeDelegator show all
Defined in:
lib/quicknode_sdk/clients/rpc.rb,
sig/quicknode_sdk.rbs

Instance Method Summary collapse

Methods inherited from NativeDelegator

#method_missing, #respond_to_missing?

Constructor Details

#initialize ⇒ Rpc



217
# File 'sig/quicknode_sdk.rbs', line 217

def initialize: (untyped native) -> void

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class QuicknodeSdk::NativeDelegator

Instance Method Details

#call ⇒ Object



219
# File 'sig/quicknode_sdk.rbs', line 219

def call: (method: String, ?params: untyped, ?network: String, ?endpoint_url: String) -> untyped

#call_with_receipt ⇒ Object



220
# File 'sig/quicknode_sdk.rbs', line 220

def call_with_receipt: (method: String, ?params: untyped, ?network: String, ?endpoint_url: String) -> untyped

#clear_cached_token ⇒ void



222
# File 'sig/quicknode_sdk.rbs', line 222

def clear_cached_token: () -> void

#current_token ⇒ Object



223
# File 'sig/quicknode_sdk.rbs', line 223

def current_token: () -> untyped

#gateway_authenticate ⇒ Object



230
# File 'sig/quicknode_sdk.rbs', line 230

def gateway_authenticate: () -> untyped

#gateway_buy_credits ⇒ Object



232
# File 'sig/quicknode_sdk.rbs', line 232

def gateway_buy_credits: (session: untyped, network: String) -> untyped

#gateway_credits ⇒ Object



231
# File 'sig/quicknode_sdk.rbs', line 231

def gateway_credits: (session: untyped) -> untyped

#gateway_drawdown_call ⇒ Object



234
# File 'sig/quicknode_sdk.rbs', line 234

def gateway_drawdown_call: (method: String, session: untyped, network: String, ?params: untyped) -> untyped

#gateway_drip ⇒ Object



233
# File 'sig/quicknode_sdk.rbs', line 233

def gateway_drip: (session: untyped) -> untyped

#mpp_close ⇒ void



237
# File 'sig/quicknode_sdk.rbs', line 237

def mpp_close: (channel: untyped) -> void

#mpp_open ⇒ Object



235
# File 'sig/quicknode_sdk.rbs', line 235

def mpp_open: (deposit: String) -> untyped

#mpp_session_call ⇒ Object



239
# File 'sig/quicknode_sdk.rbs', line 239

def mpp_session_call: (method: String, network: String, channel: untyped, new_cumulative: String, ?params: untyped) -> untyped

#mpp_status ⇒ Object



238
# File 'sig/quicknode_sdk.rbs', line 238

def mpp_status: (channel: untyped) -> untyped

#mpp_top_up ⇒ Object



236
# File 'sig/quicknode_sdk.rbs', line 236

def mpp_top_up: (channel: untyped, additional_deposit: String) -> untyped

#payment_address ⇒ String

Payment lanes. Base-unit amounts are decimal Strings, not Integers: they are u128 in the core and magnus has no u128 conversion. session and channel are the Hashes returned by gateway_authenticate and mpp_open/mpp_top_up — persist them and hand them straight back.



229
# File 'sig/quicknode_sdk.rbs', line 229

def payment_address: () -> String

#set_networks ⇒ void



221
# File 'sig/quicknode_sdk.rbs', line 221

def set_networks: (networks: Hash[String, String]) -> void