Documentation ¶
Overview ¶
Package rest privides functions to for restful server call
Index ¶
- Constants
- func GetAllowance(cmd map[string]interface{}) map[string]interface{}
- func GetBalance(cmd map[string]interface{}) map[string]interface{}
- func GetBlockByHash(cmd map[string]interface{}) map[string]interface{}
- func GetBlockByHeight(cmd map[string]interface{}) map[string]interface{}
- func GetBlockHash(cmd map[string]interface{}) map[string]interface{}
- func GetBlockHeight(cmd map[string]interface{}) map[string]interface{}
- func GetBlockHeightByTxHash(cmd map[string]interface{}) map[string]interface{}
- func GetBlockTxsByHeight(cmd map[string]interface{}) map[string]interface{}
- func GetConnectionCount(cmd map[string]interface{}) map[string]interface{}
- func GetContractState(cmd map[string]interface{}) map[string]interface{}
- func GetGasPrice(cmd map[string]interface{}) map[string]interface{}
- func GetGrantOng(cmd map[string]interface{}) map[string]interface{}
- func GetMemPoolTxCount(cmd map[string]interface{}) map[string]interface{}
- func GetMemPoolTxState(cmd map[string]interface{}) map[string]interface{}
- func GetMerkleProof(cmd map[string]interface{}) map[string]interface{}
- func GetNetworkId(cmd map[string]interface{}) map[string]interface{}
- func GetNodeVersion(cmd map[string]interface{}) map[string]interface{}
- func GetSmartCodeEventByTxHash(cmd map[string]interface{}) map[string]interface{}
- func GetSmartCodeEventTxsByHeight(cmd map[string]interface{}) map[string]interface{}
- func GetStorage(cmd map[string]interface{}) map[string]interface{}
- func GetTransactionByHash(cmd map[string]interface{}) map[string]interface{}
- func GetUnboundOng(cmd map[string]interface{}) map[string]interface{}
- func ResponsePack(errCode int64) map[string]interface{}
- func SendRawTransaction(cmd map[string]interface{}) map[string]interface{}
- type ApiServer
Constants ¶
View Source
const TLS_PORT int = 443
Variables ¶
This section is empty.
Functions ¶
func GetAllowance ¶
get allowance
func GetBalance ¶
get balance of address
func GetBlockByHash ¶
get block by hash
func GetBlockByHeight ¶
get block by height
func GetBlockHash ¶
get block hash by height
func GetBlockHeight ¶
get block height
func GetBlockHeightByTxHash ¶
get block height by transaction hash
func GetBlockTxsByHeight ¶
get block transaction hashes by height
func GetConnectionCount ¶
get connection node count
func GetContractState ¶
get contract state
func GetGasPrice ¶
get avg gas price in block
func GetGrantOng ¶
get grant ong
func GetMemPoolTxCount ¶
get memory pool transaction count
func GetMemPoolTxState ¶
get memory poll transaction state
func GetMerkleProof ¶
get merkle proof by transaction hash
func GetNetworkId ¶
get networkid
func GetNodeVersion ¶
get node verison
func GetSmartCodeEventByTxHash ¶
get smartcontract event by transaction hash
func GetSmartCodeEventTxsByHeight ¶
get smartcontract event by height
func GetStorage ¶
get storage from contract
func GetTransactionByHash ¶
get transaction by hash
func GetUnboundOng ¶
get unbound ong
func ResponsePack ¶
func SendRawTransaction ¶
send raw transaction
Types ¶
Click to show internal directories.
Click to hide internal directories.