Documentation
¶
Index ¶
- func GetPayloadInfo(p types.Payload, pVersion byte) service.PayloadInfo
- func GetTransactionInfo(cfg *service.Config, header *types.Header, tx *types.Transaction) *service.TransactionInfo
- type AssetInfo
- type HttpServiceExtend
- func (s *HttpServiceExtend) GetAssetByHash(param util.Params) (interface{}, error)
- func (s *HttpServiceExtend) GetAssetList(param util.Params) (interface{}, error)
- func (s *HttpServiceExtend) GetReceivedByAddress(param util.Params) (interface{}, error)
- func (s *HttpServiceExtend) ListUnspent(param util.Params) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPayloadInfo ¶
func GetPayloadInfo(p types.Payload, pVersion byte) service.PayloadInfo
func GetTransactionInfo ¶
func GetTransactionInfo(cfg *service.Config, header *types.Header, tx *types.Transaction) *service.TransactionInfo
Types ¶
type HttpServiceExtend ¶
type HttpServiceExtend struct {
*service.HttpService
// contains filtered or unexported fields
}
func NewHttpService ¶
func NewHttpService(cfg *service.Config, store *blockchain.TokenChainStore) *HttpServiceExtend
func (*HttpServiceExtend) GetAssetByHash ¶
func (s *HttpServiceExtend) GetAssetByHash(param util.Params) (interface{}, error)
func (*HttpServiceExtend) GetAssetList ¶
func (s *HttpServiceExtend) GetAssetList(param util.Params) (interface{}, error)
func (*HttpServiceExtend) GetReceivedByAddress ¶
func (s *HttpServiceExtend) GetReceivedByAddress(param util.Params) (interface{}, error)
func (*HttpServiceExtend) ListUnspent ¶
func (s *HttpServiceExtend) ListUnspent(param util.Params) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.