apiextensions

package
v0.5.0-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0 Imports: 7 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIJsonDictToDict

func APIJsonDictToDict(apiJSONDict apiclient.JSONDict) (dict.Dict, error)

func APIJsonDictToJSONDict

func APIJsonDictToJSONDict(apiJSONDict apiclient.JSONDict) dict.JSONDict

func APIWaitUntilAllRequestsProcessed

func APIWaitUntilAllRequestsProcessed(client *apiclient.APIClient, chainID isc.ChainID, tx *iotago.Transaction, timeout time.Duration) ([]*apiclient.ReceiptResponse, error)

func CallView

func CallView(context context.Context, client *apiclient.APIClient, request apiclient.ContractCallViewRequest) (dict.Dict, error)

func DictToAPIJsonDict

func DictToAPIJsonDict(dict dict.Dict) apiclient.JSONDict

func JSONDictToAPIJSONDict

func JSONDictToAPIJSONDict(jsonDict dict.JSONDict) apiclient.JSONDict

func NewAssetsFromAPIResponse

func NewAssetsFromAPIResponse(assetsResponse *apiclient.AssetsResponse) (*isc.Assets, error)

func WaspAPIClientByHostName

func WaspAPIClientByHostName(hostname string) (*apiclient.APIClient, error)

Types

type APIDetailError

type APIDetailError struct {
	Message string
	Error   string
}

type APIError

type APIError struct {
	Error       string
	DetailError *APIDetailError
}

func AsAPIError

func AsAPIError(err error) (*APIError, bool)

Jump to

Keyboard shortcuts

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