Skip to main content

Module ws_mod

Module ws_mod 

Source

Structs§

WsClient
Generic asynchronous client.
WsClientBuilder
Builder for WsClient.
Wsclientwrapper

Functions§

blockhash_to_block
change to self.client Query chain.getBlock to get the block hash
blocknumber_to_blockhash
Query chain.getBlockHash to get the block hash
event_watch_non_case_sensitive
same as event_watch but supports non case sensitive event search, event_summary non case sensitive
get_block_events
get block events in block
get_latest_finalized_head
get the latest finalized block
get_metadata_version
get the metadata version of chain X
get_raw_metadata
get the chain’s metadata and return it as a Vec
get_runtime_version
get runtime version, state.getRuntimeVersion, different on different chains RuntimeVersion