class
BitShares::GrapheneConnection
- BitShares::GrapheneConnection
- Reference
- Object
Direct Known Subclasses
Defined in:
bitshares-crystal/connection.crConstructors
Instance Method Summary
- #application_options : JSON::Any | Nil
- #batch_call_api(*args)
-
#call_api(api_name, method, params = nil, callback : GrapheneWebSocket::SubscribeCallbackType | Nil = nil)
-------------------------------------------------------------------------- ● (public) 调用API => api_name - database、network_broadcast、history、custom_operations => REMARK:asset api大部分节点默认未开启。 --------------------------------------------------------------------------
- #call_asset(method, params = nil, callback : GrapheneWebSocket::SubscribeCallbackType | Nil = nil)
- #call_custom_operations(method, params = nil, callback : GrapheneWebSocket::SubscribeCallbackType | Nil = nil)
- #call_db(method, params = nil, callback : GrapheneWebSocket::SubscribeCallbackType | Nil = nil)
- #call_history(method, params = nil, callback : GrapheneWebSocket::SubscribeCallbackType | Nil = nil)
- #call_net(method, params = nil, callback : GrapheneWebSocket::SubscribeCallbackType | Nil = nil)
- #close
- #config : BitShares::Config
- #graphene_address_prefix : String
- #graphene_chain_config : JSON::Any | Nil
- #graphene_chain_id : String
- #graphene_chain_properties : JSON::Any | Nil
- #graphene_core_asset_symbol : String
Constructor Detail
Instance Method Detail
def call_api(api_name, method, params = nil, callback : GrapheneWebSocket::SubscribeCallbackType | Nil = nil)
#
● (public) 调用API => api_name - database、network_broadcast、history、custom_operations => REMARK:asset api大部分节点默认未开启。
def call_asset(method, params = nil, callback : GrapheneWebSocket::SubscribeCallbackType | Nil = nil)
#
def call_custom_operations(method, params = nil, callback : GrapheneWebSocket::SubscribeCallbackType | Nil = nil)
#
def call_db(method, params = nil, callback : GrapheneWebSocket::SubscribeCallbackType | Nil = nil)
#
def call_history(method, params = nil, callback : GrapheneWebSocket::SubscribeCallbackType | Nil = nil)
#
def call_net(method, params = nil, callback : GrapheneWebSocket::SubscribeCallbackType | Nil = nil)
#