MCPcopy Create free account
hub / github.com/6boris/web3-template / NewDefiHTTPClient

Function NewDefiHTTPClient

api/interface/web3/defi_http.pb.go:60–62  ·  view source on GitHub ↗
(client *http.Client)

Source from the content-addressed store, hash-verified

58}
59
60func NewDefiHTTPClient(client *http.Client) DefiHTTPClient {
61 return &DefiHTTPClientImpl{client}
62}
63
64func (c *DefiHTTPClientImpl) GetTokenPrice(ctx context.Context, in *GetTokenPriceRequest, opts ...http.CallOption) (*GetTokenPriceReply, error) {
65 var out GetTokenPriceReply

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected