rest

package
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2018 License: LGPL-3.0 Imports: 13 Imported by: 18

Documentation

Index

Constants

View Source
const TLS_PORT int = 443

Variables

This section is empty.

Functions

func GetAllowance

func GetAllowance(cmd map[string]interface{}) map[string]interface{}

func GetBalance

func GetBalance(cmd map[string]interface{}) map[string]interface{}

func GetBlockByHash

func GetBlockByHash(cmd map[string]interface{}) map[string]interface{}

func GetBlockByHeight

func GetBlockByHeight(cmd map[string]interface{}) map[string]interface{}

func GetBlockHash

func GetBlockHash(cmd map[string]interface{}) map[string]interface{}

func GetBlockHeight

func GetBlockHeight(cmd map[string]interface{}) map[string]interface{}

Block

func GetBlockHeightByTxHash

func GetBlockHeightByTxHash(cmd map[string]interface{}) map[string]interface{}

func GetBlockTxsByHeight

func GetBlockTxsByHeight(cmd map[string]interface{}) map[string]interface{}

func GetConnectionCount

func GetConnectionCount(cmd map[string]interface{}) map[string]interface{}

func GetContractState

func GetContractState(cmd map[string]interface{}) map[string]interface{}

func GetGasPrice

func GetGasPrice(cmd map[string]interface{}) map[string]interface{}

func GetGenerateBlockTime

func GetGenerateBlockTime(cmd map[string]interface{}) map[string]interface{}

Node

func GetMemPoolTxCount

func GetMemPoolTxCount(cmd map[string]interface{}) map[string]interface{}

func GetMemPoolTxState

func GetMemPoolTxState(cmd map[string]interface{}) map[string]interface{}

func GetMerkleProof

func GetMerkleProof(cmd map[string]interface{}) map[string]interface{}

func GetNodeVersion added in v0.9.2

func GetNodeVersion(cmd map[string]interface{}) map[string]interface{}

func GetSmartCodeEventByTxHash

func GetSmartCodeEventByTxHash(cmd map[string]interface{}) map[string]interface{}

func GetSmartCodeEventTxsByHeight

func GetSmartCodeEventTxsByHeight(cmd map[string]interface{}) map[string]interface{}

func GetStorage

func GetStorage(cmd map[string]interface{}) map[string]interface{}

func GetTransactionByHash

func GetTransactionByHash(cmd map[string]interface{}) map[string]interface{}

Transaction

func GetUnboundOng added in v0.9.2

func GetUnboundOng(cmd map[string]interface{}) map[string]interface{}

func ResponsePack

func ResponsePack(errCode int64) map[string]interface{}

func SendRawTransaction

func SendRawTransaction(cmd map[string]interface{}) map[string]interface{}

Types

type ApiServer

type ApiServer interface {
	Start() error
	Stop()
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL