Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SCClient ¶
type SCClient struct { ChainClient *chainclient.Client ContractHname coretypes.Hname }
SCClient allows to send webapi requests targeted to a specific contract
func New ¶
func New( chainClient *chainclient.Client, contractHname coretypes.Hname, ) *SCClient
New creates a new SCClient
func (*SCClient) PostRequest ¶
func (c *SCClient) PostRequest(fname string, params ...chainclient.PostRequestParams) (*sctransaction.Transaction, error)
Click to show internal directories.
Click to hide internal directories.