data

package
v0.0.0-...-25cadc1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2018 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BASE_URL BASE_URL
	BASE_URL = config.BASE_RPC
	// TX_PARAMS TX_PARAMS
	TX_PARAMS = "service=bottos&method=Chain.SendTransaction&request=%s"
)

Variables

This section is empty.

Functions

func AccountInfo

func AccountInfo(account string) (*user_proto.AccountInfoData, error)

AccountInfo get account info

func BlockHeader

func BlockHeader() (*user_proto.BlockHeader, error)

BlockHeader get block header

func GetKeyValue

func GetKeyValue(contract, object, key string) ([]byte, error)

GetKeyValue get Object

func PushTransaction

func PushTransaction(i interface{}) (*bean.CoreCommonReturn, error)

PushTransaction push transaction

Types

This section is empty.

Jump to

Keyboard shortcuts

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