construct a Client by given ClientOption
easy tool for compose a Transaction stuffed with preset ClientOption
generic of object which will be JSON.stringify to payload string in Transaction
your params
get latest block height
the latest block height
get Receipt by give its transaction hash you can only get a Receipt when the related Transaction has been committed/mined
the target transaction hash, call sendTransaction to send a Transaction and get its txHash
get SignedTransaction by give its transaction hash
the transaction target hash, you can call sendTransaction to send a tx and get its txHash
In Muta, there are 2 kinds of call to the chain, one is queryService, that's for getting info from chain but committing NO MODIFICATION, another is sendTransaction it somehow like eth_call in Ethereum
In Muta, there are 2 kinds of call to the chain, one is sendTransaction, that's for sending transactions to communicate with chain, the transaction may or may not modify the state of chain another is queryService
wait for next n block
block count
Generated using TypeDoc
Client is a tool for calling Muta GraphQL API shortly, it implements js code for you to send raw GraphQL RPC to node and do some prepare job locally.