Documentation ¶
Index ¶
- func BlockchainInfo(client rpcclient.Client, minHeight, maxHeight int) (*rpc_types.ResultBlockchainInfo, error)
- func BroadcastTx(client rpcclient.Client, tx txs.Tx) (txs.Receipt, error)
- func Call(client rpcclient.Client, fromAddress, toAddress, data []byte) (*rpc_types.ResultCall, error)
- func CallCode(client rpcclient.Client, fromAddress, code, data []byte) (*rpc_types.ResultCall, error)
- func ChainId(client rpcclient.Client) (*rpc_types.ResultChainId, error)
- func DumpConsensusState(client rpcclient.Client) (*rpc_types.ResultDumpConsensusState, error)
- func DumpStorage(client rpcclient.Client, address []byte) (*rpc_types.ResultDumpStorage, error)
- func GenPrivAccount(client rpcclient.Client) (*acm.PrivAccount, error)
- func GetAccount(client rpcclient.Client, address []byte) (*acm.Account, error)
- func GetBlock(client rpcclient.Client, height int) (*rpc_types.ResultGetBlock, error)
- func GetName(client rpcclient.Client, name string) (*core_types.NameRegEntry, error)
- func GetStorage(client rpcclient.Client, address, key []byte) ([]byte, error)
- func ListUnconfirmedTxs(client rpcclient.Client) (*rpc_types.ResultListUnconfirmedTxs, error)
- func ListValidators(client rpcclient.Client) (*rpc_types.ResultListValidators, error)
- func SignTx(client rpcclient.Client, tx txs.Tx, privAccounts []*acm.PrivAccount) (txs.Tx, error)
- func Status(client rpcclient.Client) (*rpc_types.ResultStatus, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockchainInfo ¶
func DumpConsensusState ¶
func DumpConsensusState(client rpcclient.Client) (*rpc_types.ResultDumpConsensusState, error)
func DumpStorage ¶
func GenPrivAccount ¶
func GenPrivAccount(client rpcclient.Client) (*acm.PrivAccount, error)
func GetName ¶
func GetName(client rpcclient.Client, name string) (*core_types.NameRegEntry, error)
func ListUnconfirmedTxs ¶
func ListUnconfirmedTxs(client rpcclient.Client) (*rpc_types.ResultListUnconfirmedTxs, error)
func ListValidators ¶
func ListValidators(client rpcclient.Client) (*rpc_types.ResultListValidators, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.