Crate pink_subrpc

Source
Expand description

Substrate json RPC module with limited functionalites

TODO: need further polish

Modules§

contracts
hasher
storage
traits

Structs§

ExtraParam

Enums§

Era
An era to describe the longevity of a transaction.

Traits§

Ss58Codec

Functions§

create_transaction
create_transaction_ext
Creates an extrinsic
get_block_hash
Gets the block hash at a certain height (None for the latest block)
get_finalized_head
Gets the latest hash of the finalized header
get_genesis_hash
Gets the block hash at block zero
get_header
Gets revalant block header by given block hash Only work with chains define generic patterns like Header<u32, BlakeTwo256>
get_next_nonce
Gets the next nonce of the target account
get_runtime_version
get_ss58addr_version
get_storage
Gets the storage from the give RPC node
query_contract
Query a wasm smart contract
send_transaction

Type Aliases§

Result